electron: Switching between menus in the menu bar causes flickering if dark theme (Ambiance) is selected
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
Issue Details
- Electron Version: 4.1.3, 5.0.0-beta6
- Operating System: Ubuntu 18.04 x64/Gnome; Ambiance theme
- Last Known Working Electron version:: 3.1.7
Expected Behavior
Switching between menus in the menu bar shouldn’t cause flickering.
Actual Behavior
Menus flicker when switching between them with dark theme selected.
To Reproduce
- Install an Electron application with menu bar
- Make sure dark theme (Ambiance, which is 18.04 default theme) is selected
- Switch between menus in the menu bar
Screenshots

About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 13
- Comments: 16 (4 by maintainers)
https://github.com/microsoft/vscode/issues/94074#issuecomment-607079209
Doesn’t seem to be Ubuntu specific, I have the same issue on Arch with XFCE and any skin (dark skin just makes it much more obvious it’s happening).