-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
Description
- Electron version: 1.4.15
- Operating system: Arch Linux,
Linux yoga 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64 GNU/Linux
.
I'm running Electron under KDE Plasma 5.9, but judging from atom/atom#6255 and atom/atom#5970, it could be also reproduced with other versions. This also affects Atom for obvious reasons ;-).
Expected behavior
- Global menu should work (like in other programs).
- Electron apps shouldn't consume 100% CPU for no reason.
Actual behavior
- Global menu is visible, but pressing any action does nothing.
- Electron apps consume 100% CPU.
Workaround
Use ELECTRON_FORCE_WINDOW_MENU_BAR=1
(disables globalmenu integration).
How to reproduce
- Install Plasma 5.9 (for other options see linked issues above).
- Run
electron
under Plasma 5.9 with an enabled global menu (I'm using the menu button in the window titlebar option). - Observe CPU usage, e.g. with
htop
. - Try to click any entries in the globalmenu, e.g.
Quit
— they do nothing.
Screenshots
Without ELECTRON_FORCE_WINDOW_MENU_BAR
:
With ELECTRON_FORCE_WINDOW_MENU_BAR
:
None of the actions work, not even the File → Quit
one.
cirelli94, andreyorst, Gerii, ThisIsFroggie, 10tion and 11 more