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: window.titleBarStyle removes top level menu #11583

Closed
vince-fugnitto opened this issue Aug 18, 2022 · 0 comments · Fixed by #11584
Closed

macos: window.titleBarStyle removes top level menu #11583

vince-fugnitto opened this issue Aug 18, 2022 · 0 comments · Fixed by #11584
Labels
bug bugs found in the application OS/Mac issues related to Mac OS

Comments

@vince-fugnitto
Copy link
Member

Bug Description:

There is a significant UI/UX bug in macOS regarding the window.titleBarStyle (which should only apply for Linux and Windows) which when set to custom will completely remove the menu and make it difficult to make it return.

native:

Screen Shot 2022-08-18 at 8 12 14 AM

custom (missing window controls):

Screen Shot 2022-08-18 at 8 12 29 AM

Steps to Reproduce:

  1. start the application on macOS
  2. open the preferences-view
  3. search for titleBarStyle and change from native to custom (accept the prompt)
  4. on reload the top level menu will disappear

Note: in order to bring back the menu I had to remove my user preferences, and cached configs:

  • rm -rf ~/.theia
  • rm -rf ~/Library/ApplicationSupport/Theia\ Electron\ Example/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application OS/Mac issues related to Mac OS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant