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

MacOS editor in fullscreen has a menu bar / window focus issue related to dialogs and menus opening #86027

Closed
johnpenny opened this issue Dec 11, 2023 · 3 comments

Comments

@johnpenny
Copy link

johnpenny commented Dec 11, 2023

Tested versions

Reproducible in:

  • Godot v4.2.1.rc1.mono
  • Godot v4.2.beta1.mono

NOT reproducible in:

  • Godot v4.2.dev6.mono
  • Godot v4.1.3.stable.mono

System information

macOS 14.1.2 - Vulkan (Mobile) - integrated Apple M1 Pro - Apple M1 Pro (8 Threads) - Also tested on macOS 14.0.0 before updating.

MacBook Pro 14" with notch.

Issue description

It seems that dialogues in the MacOS editor, while fullscreen, cause the menu bar to not render correctly.

  • Trigger any dialogue in the editor while fullscreen and the menu bar rendering breaks
  • This also breaks the window menu popover
  • Unfocussing and refocussing the window makes the menu bar appear again
  • The menu bar items are still interactable, but are not rendered
MenuBarRenderingBreaks.mov

Video description:

  • Using the menu bar 'Help > Copy System Info' is clicked and the menu bar remains visible
  • A context menu (right click) is opened on a Node, and when the mouse clicks away from it the menu bar disappears
  • The mouse clicks on the window menu to re-focus the editor window and the menu bar reappears
  • Using the menu bar 'Scene > Save Scene' is clicked and the menu bar disappears once the save dialogue is done
  • The mouse clicks on the window menu to re-focus the editor window and the menu bar reappears
  • A context menu (right click) is opened on a Node, and when the mouse clicks away from it the menu bar disappears
  • The mouse hovers over the menu bar demonstrating that it is still interactable, but not rendering
  • The window menu which should appear when hovering over the menu bar is not appearing
  • The editor is now in full screen with no functioning window menu and a broken menu bar

Note that the window menu always remaining visible is undesirable behaviour or a separate bug, but I have used it here to demonstrate window refocussing.

Steps to reproduce

Fullscreen the Godot editor and trigger a dialogue; The menu bar and window menu will be broken until you refocus the editor window.

Minimal reproduction project (MRP)

Editor issue - any project file

@ShlomiRex
Copy link
Contributor

ShlomiRex commented Jan 19, 2024

Can confirm on latest commit v4.3.dev.custom_build [7827c8e] using Macbook M1 Pro, macOS Sonoma 14.2.1

To reproduce:

  • Maximize editor
  • Click on "About godot" (for me its the name of the binary file: "About godot.macos.editor.dev.arm64"
  • The "About" popup appears, close it
  • Now the top-bar is not accessable (when mouse is near top-bar it won't unhide)

@AThousandShips AThousandShips changed the title MacOS editor in fullscreen has a menu bar / window focus issue related to dialogues and menus opening MacOS editor in fullscreen has a menu bar / window focus issue related to dialogs and menus opening Jan 19, 2024
@Grublady
Copy link
Contributor

Grublady commented Jul 5, 2024

Looks like this was fixed by a4f2e52

@akien-mga
Copy link
Member

Fixed by #90131.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants