Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert Label text reshaping fix #71553 and subsequent regression fixes #73809

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

akien-mga
Copy link
Member

@akien-mga akien-mga commented Feb 23, 2023

Despite a lot of great work from Pedro to try to improve the Label text reshaping logic and fix subsequent regressions, we found ourselves still chasing more edge cases, such as #73736 (which got reverted already due to it causing yet another regression).

In parallel, it seems like the crash scenario that #71553 was addressing got solved differently in the master branch, so it appears like this change is no longer necessary at all (at least not urgently), so we decided to revert to the previous known "ok" state of Label.


This requires testing to make sure that all issues referenced in the above 5 PRs are still fixed.

RandomShaper's edit:

Fixes #72950.

These are still fixed after this PR:

…ession fixes

Despite a lot of great work from Pedro to try to improve the Label text
reshaping logic and fix subsequent regressions, we found ourselves still
chasing more edge cases, such as godotengine#73736 (which got reverted already due
to it causing yet another regression).

In parallel, it seems like the crash scenario that godotengine#71553 was addressing
got solved differently in the master branch, so it appears like this
change is no longer necessary at all (at least not urgently), so we
decided to revert to the previous known "ok" state of Label.

- Revert godotengine#71553 "Prevent infinite cascade of re-layout after label text reshaping"
This reverts commit ed8c5cd.

- Revert godotengine#72387 "Enhance label sizing algorithm"
This reverts commit 5131b81.

- Revert godotengine#73234 "Fix blank non-autowrapping labels"
This reverts commit 3ccabee.

- Revert godotengine#73343 "Make label sizing algorithm more robust"
This reverts commit 4f7f1ef.

- Revert godotengine#73426 "Fix width determination of non-trimmed, non-wrapped labels"
This reverts commit 73b6c0b.
@bruvzg
Copy link
Member

bruvzg commented Feb 23, 2023

I have checked #73230, #73296, #72339, #73385, #73395 and infinite re-layout one more. All regressions from the #71553 seems to be fixed, and no crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project Manager dialogs are wrongly sized based on their dynamically wrapped contents
3 participants