-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
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
PopupMenu visual issues in 3.6 RC1 #96149
Comments
Indeed, I've confirmed that reverting that PR (and the follow-ups which fixed regressions from that PR) would solve this issue. Branch with all relevant changes reverted: https://github.com/akien-mga/godot/commits/revert-66711/ That's one option, but a heavy handed one at this stage, it would be good to at least get the issue debugged a bit to see if the problem is a fundamental one that will require e.g. breaking the behavior again, or an oversight that can be patched easily. |
I can have a quick look in the coming days, but if the issue is not simple, I don't think I'll have the availability to fix it. I'll leave any findings if that's the case, maybe someone can pick up from there. |
Moving the four godot/scene/gui/popup_menu.cpp Lines 646 to 655 in 67d4b73
Note that there is also a later PR that removes the need for a separate MarginContainer on the master branch. |
It looks like the fix #87462 itself may introduce more regressions. I guess we must also consider @akien-mga 's test approach of reverting all the popup menu related PRs to 3.5 state. |
Fixes godotengine#96149. Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
Fixed by #96557 . |
Tested versions
System information
Windows 10
Issue description
Simply adding a PopupMenu to the scene with some items will result in this look in 3.5.2:

Doing the same thing in 3.6 RC1 will make it look like this

And applying separators on items in 3.6 will make it look like this

Steps to reproduce
Minimal reproduction project (MRP)
PopupIssue.zip
The text was updated successfully, but these errors were encountered: