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 "Correctly display tooltips for buttons in Tree when they overlap cell content #90842

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

timothyqiu
Copy link
Member

@timothyqiu timothyqiu commented Apr 18, 2024

#79792 caches button rect when drawing, and uses that rect to determine the tooltip. However, the rectangle used for processing mouse input is not the same as the rectangle used for drawing. The tooltip is still missing in some edge cases. So I think it's not the correct fix for #79629.

It also caused a regression (#86497) making tree buttons' tooltips missing / wrong if the Tree has column titles visible which is impossible for users to workaround.

Bugsquad edit:

@timothyqiu timothyqiu added bug topic:gui cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Apr 18, 2024
@timothyqiu timothyqiu added this to the 4.3 milestone Apr 18, 2024
@timothyqiu timothyqiu requested a review from a team as a code owner April 18, 2024 09:46
@akien-mga akien-mga merged commit 2543d19 into godotengine:master Apr 18, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release topic:gui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tree's button's tooltip error when set column title is visible
2 participants