Open L-the-forgettable opened 2 months ago
CC @bruvzg
Not sure what's the issue here, you are using .popup()
method without position, so it will be shown at the last set position (position is in embedding viewport coordinates, so it's relative to window for non-native and relative to virtual desktop for native).
I'll be honest I had no idea that was intentional- It just seemed like such behavior I thought it was a bug. If there isn't anything already, maybe adding something somewhere that explains this behavior would be nice instead?
Tested versions
System information
Windows 10 - v4.3.beta2.official [b75f0485b]
Issue description
After displaying a PopupMenu at least once, if the option "Prefer Native Menu" in it's property list is enabled, displaying the popup menu again will reveal it in an odd location![Godot_v4 3-beta2_win64_6gsPbSoEfc](https://github.com/godotengine/godot/assets/51516412/98ad0b35-ba09-41c3-8dfd-ed208dd3ce8c)
Steps to reproduce
Minimal reproduction project (MRP)
bug-report.zip I've included this project in two other bug reports I've posted recently - If you're coming from/going to one of the other two this is a part of, rest assured you don't need to redownload the project for each report. They are the exact same file.