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

Menu dropdowns/Tabs only show up if double clicked in macOS Monterey #54306

Closed
ghost opened this issue Oct 27, 2021 · 13 comments
Closed

Menu dropdowns/Tabs only show up if double clicked in macOS Monterey #54306

ghost opened this issue Oct 27, 2021 · 13 comments

Comments

@ghost
Copy link

ghost commented Oct 27, 2021

Godot version

3.4 RC2 Standard Build

System information

macOS Montery 12.0.1

Issue description

There are several issues:

  1. The menu bar dropdowns (i.e., Project, Editor, Help etc.) only show if the user double clicks on them, a single click won't work.

  2. In the "About Godot" window, you need to double click on the tabs to switch between them, a single click won't work.

  3. Any of the menu items, options within any boxes etc. only work if double clicked on.

These issues do not exist in version 3.3.4 under macOS or even in the Windows version of 3.4 RC2. Please refer to video down below.

Steps to reproduce

As in the issue description above.

Minimal reproduction project

N/A

@ghost ghost changed the title Menu dropdowns/Tabs only show up if double clicked in 3.4 RC2 Menu dropdowns/Tabs only show up if double clicked in 3.4 RC2 (in macOS Montery) Oct 27, 2021
@Calinou Calinou added this to the 3.4 milestone Oct 27, 2021
@akien-mga akien-mga changed the title Menu dropdowns/Tabs only show up if double clicked in 3.4 RC2 (in macOS Montery) Menu dropdowns/Tabs only show up if double clicked in 3.4 RC2 (in macOS Monterey) Oct 27, 2021
@akien-mga
Copy link
Member

I can't reproduce it on Linux with 3.4 RC 2, might be macOS specific indeed. CC @godotengine/macos

@bruvzg
Copy link
Member

bruvzg commented Oct 27, 2021

I can't reproduce it with 3.4 RC2 or 3.x master on macOS Monterey 12.0.1 (21A559).

@akien-mga
Copy link
Member

akien-mga commented Oct 27, 2021

@knadoor Just a hunch, but this could be cache related. Could you make a copy of ~/Library/Caches/Godot/, then delete it and see if that fixes the issues in Godot? (The copy is in case it does fix it, so we could maybe get it and see what could trigger the issue.)

Another thing that could be testing is trying earlier 3.4 builds to pinpoint where the regression happened (after checking again that 3.3.4 works fine, as it could also be a system-specific issue): https://downloads.tuxfamily.org/godotengine/3.4

@bruvzg
Copy link
Member

bruvzg commented Oct 27, 2021

If it is an actual issue with Godot, I suspect it might be some new manifestation of the #8653 (which was quite random and hard to reproduce).
Some extra info might be useful to determine if this is a case:

  • Are you running Godot as an app bundle or from terminal?
  • Is window title text grayed out or not?
  • Is macOS menu bar is displaying correct app name?
  • Is it still an issue if you switch to another app and back?

@ghost
Copy link
Author

ghost commented Oct 28, 2021

If it is an actual issue with Godot, I suspect it might be some new manifestation of the #8653 (which was quite random and hard to reproduce). Some extra info might be useful to determine if this is a case:

* Are you running Godot as an app bundle or from terminal?

* Is window title text grayed out or not?

* Is macOS menu bar is displaying correct app name?

* Is it still an issue if you switch to another app and back?

I did some quick testing and recorded a couple of videos.

Answering above questions:

  1. I'm running the app directly by double clicking on the binary from the downloads folder.
  2. No it's not, but what is greyed out are the maximize, minimize and close buttons on the top left.
  3. Yes
  4. Switching to another app and back fixes the issue, what also fixes the issue is reloading the project.

Other observations:
Please see following video recording of the issue:
https://www.youtube.com/watch?v=NMcfsKHOUNc

I've noticed on my machine (it's brand new) there is no Godot folder in the Cache:
~/Library/Caches/Godot/

@ghost
Copy link
Author

ghost commented Oct 28, 2021

@knadoor Just a hunch, but this could be cache related. Could you make a copy of ~/Library/Caches/Godot/, then delete it and see if that fixes the issues in Godot? (The copy is in case it does fix it, so we could maybe get it and see what could trigger the issue.)

Another thing that could be testing is trying earlier 3.4 builds to pinpoint where the regression happened (after checking again that 3.3.4 works fine, as it could also be a system-specific issue): https://downloads.tuxfamily.org/godotengine/3.4

3.4 RC1 also has this issue.

I can test out the earlier beta builds of 3.4 after work.

@ghost
Copy link
Author

ghost commented Oct 28, 2021

I can confirm that this issue exists on version 3.4 Beta 1

@ghost
Copy link
Author

ghost commented Oct 28, 2021

Okay I figured out how to predictably reproduce it on Montery:

  1. Open Godot
  2. Either create a new project or double click to open an existing project
  3. Soon after clicking to open/start a new project repeatedly move the cursor
  4. The issue will then present itself.

Note:

  • At step 3, if the cursor is kept still then the error does not appear.
  • If the Project List is opened by clicking on "Quit to Project List" the error does not appear, the only way to replicate the error is to launch Godot from scratch.

@bruvzg
Copy link
Member

bruvzg commented Oct 31, 2021

This looks exactly like #8653 focus issue. Do you ever get this issue in the Project Manager or exported project? I suspect it might be related to the way Godot is starting a new editor process when the project is opened (it's starting the main bundle executable directly, not a bundle).

@NoFr1ends
Copy link
Contributor

@bruvzg so far I only get it in the editor, never in the project manager or exported project

@bruvzg
Copy link
Member

bruvzg commented Nov 1, 2021

Here's a potential fix in the #54474 (link to the precompiled app bundle to the first comment), please check if it's working for you.

@akien-mga akien-mga changed the title Menu dropdowns/Tabs only show up if double clicked in 3.4 RC2 (in macOS Monterey) Menu dropdowns/Tabs only show up if double clicked in macOS Monterey Nov 1, 2021
@akien-mga
Copy link
Member

Fixed by #54474.

@ghost
Copy link
Author

ghost commented Nov 2, 2021

Thank you all :)
Will be happy to test it in the next build.

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

No branches or pull requests

4 participants