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

Theia Electron application menu fails on macOS #1875

Closed
jeanlucburot opened this issue May 9, 2018 · 5 comments
Closed

Theia Electron application menu fails on macOS #1875

jeanlucburot opened this issue May 9, 2018 · 5 comments
Labels
electron issues related to the electron target OS/Mac issues related to Mac OS

Comments

@jeanlucburot
Copy link

Theia Electron context menu fails on macOS. There should for instance be a View menu with entries such as Call hierarchy, Extensions, Files, Git, Git History, Outline, Output, ... But non of them are visible when run on macOS. Please see macOS screenshot.

Ran following command on macOS High Sierra 10.13.4 with node v8.11.1, npm 6.0.0, yarn 1.6.0:

git clone https://github.com/theia-ide/theia.git
cd theia
yarn
cd examples/electron
yarn run start

bildschirmfoto 2018-05-09 um 17 38 19

When trying to do the same on Ubuntu 16.04.4 LTS with node v8.11.1, npm 6.0.0, yarn 1.6.0 the script above fails when running yarn. So, yarn has to be run twice. But the end result works. The menu shows as expected. Please see Ubuntu screenshot.

git clone https://github.com/theia-ide/theia.git
cd theia
yarn
yarn
cd examples/electron
yarn run start

bildschirmfoto vom 2018-05-09 17-45-49

@AlexTugarev AlexTugarev added electron issues related to the electron target OS/Mac issues related to Mac OS labels May 9, 2018
@AlexTugarev
Copy link
Contributor

I verified this; it's broken since updating to v1.8.x of electron. maybe there are some api changes, and we need to catch up.

BTW in the meantime electron v2 was released.

@jeanlucburot
Copy link
Author

Ok, thanks for confirming. Are there any plans yet to move the desktop version of Theia to Electron v2 anytime soon?

@kittaakos
Copy link
Contributor

Quick question as I am doing the review of the corresponding PR; it is not the context menu but the application menu, right?

@jeanlucburot
Copy link
Author

jeanlucburot commented Jun 20, 2018

My understanding is:

  • context menu: the right-click within the window somewhere, not outside of it.
  • application menu: outside of the window, usually the top of the window frame. In the case of macOS the menu at the top of the screen. Same applies to Ubuntu with the Unity Desktop. Under Windows 10 this is a bit different; there it is the menu to the top of the window frame.

So this is about the application menu. Please see the above screenshot for that.

@kittaakos kittaakos changed the title Theia Electron context menu fails on macOS Theia Electron application menu fails on macOS Jun 20, 2018
@kittaakos
Copy link
Contributor

Closed via #2469.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron issues related to the electron target OS/Mac issues related to Mac OS
Projects
None yet
Development

No branches or pull requests

3 participants