-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[electron] Multiple electron menus/appIcons when starting the electron example #5385
Comments
I get the same issue, I tried removing |
@kittaakos Edit |
When spawning/forking a new node process with Node.js bundled into electron, we have to explicitly disable the electron part. Closes #5385. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
When we launch the TypeScript Language Server, we start it using the hardcoded executable "node". This works well in practice for most cases. However when we have a packaged Electron application, installed by a user, it could be that the environment does not have "node" immediately available in its path, or not a proper version, as needed by tsserver. So why not reuse the node executable that was used to launch the Theia application, to launch the LS? In the Electron case, it will be the Electron executable bundled with the packaging. Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
When spawning/forking a new node process with Node.js bundled into electron, we have to explicitly disable the electron part. Adjusted the JSON LS server contribution to the TS one. Closes #5385. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
When spawning/forking a new node process with Node.js bundled into electron, we have to explicitly disable the electron part. Adjusted the JSON LS server contribution to the TS one. Closes #5385. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
When spawning/forking a new node process with Node.js bundled into electron, we have to explicitly disable the electron part. Adjusted the JSON LS server contribution to the TS one. Closes #5385. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
Description
I can see multiple application icons on my Dock on macOS when I start the electron example.
Each has a different application menu.
The visible:
The "hidden?":
Reproduction Steps
yarn --cwd ./examples/electron/ start
OS and Theia version:
macOS
0b1b853
It is just a wild guess but #5360 could be related. We start something else we did not do before. Smells like a regression.
The text was updated successfully, but these errors were encountered: