You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MenuBar reacts to mouseclicks strange, if content_scale_mode is not disabled and the window is resized/in fullscreen.
It looks like the problem is worse on the upper-half of the menu-button.
Steps to reproduce
Use a MenuBar, set the content_scale_mode (stretch mode) to cansvas_items or viewport and resize/fullscreen the window.
Through some attempts, I found that this bug can be triggered stably:
1.Set the display/window/stretch/mode to canvas_items in the project settings.
2. Set display/window/size/viewport_ Width and display/window/size/window_width_override to different values.
3. If the window size is adjusted when running a scene containing menubar, this bug will be triggered.
Godot version
4.0 beta 16
System information
Windows 11 (does not seem to matter)
Issue description
MenuBar reacts to mouseclicks strange, if content_scale_mode is not disabled and the window is resized/in fullscreen.
It looks like the problem is worse on the upper-half of the menu-button.
Steps to reproduce
Use a MenuBar, set the content_scale_mode (stretch mode) to cansvas_items or viewport and resize/fullscreen the window.
Minimal reproduction project
MenuTest.zip
The text was updated successfully, but these errors were encountered: