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

Native MenuPopup Within MenuBar shows in random location #102060

Open
TheColorRed opened this issue Jan 26, 2025 · 0 comments · May be fixed by #102079
Open

Native MenuPopup Within MenuBar shows in random location #102060

TheColorRed opened this issue Jan 26, 2025 · 0 comments · May be fixed by #102079
Assignees
Milestone

Comments

@TheColorRed
Copy link

Tested versions

v4.3.stable.steam [77dcf97]

System information

Godot v4.3.stable (77dcf97) - Windows 10.0.26100 - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 32.0.11027.1003) - AMD Ryzen 7 2700 Eight-Core Processor (16 Threads)

Issue description

When creating a MenuBar with a PopupMenu that has prefer_native_menu=ture, the menu doesn't show in the correct location (Under the selected menu item). In the attached project it is showing above the window, in my actual application it is showing to the right of my window. I have tested all options of system_menu_id, but none seem to affect the position.

Image

Not sure if this is related to #93622, as this happens all the time, and not just after the first time. Also this doesn't use an code.

Steps to reproduce

  • Create a new scene
  • Create a Node as the scene root
  • Add a MenuBar as a child of the root
  • Add a MenuPopup as a child of MenuBar
  • Set prefer_native_menu to true on the MenuPopup in the Inspector

Minimal reproduction project (MRP)

native-menu.zip

@bruvzg bruvzg self-assigned this Jan 26, 2025
@bruvzg bruvzg added this to the 4.4 milestone Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants