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

  1. Install an Electron application with menu bar
  2. Make sure dark theme (Ambiance, which is 18.04 default theme) is selected
  3. Switch between menus in the menu bar

Screenshots

flickering

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 13
  • Comments: 16 (4 by maintainers)

Most upvoted comments

This is already fixed on VS Code Exploration builds, give it a spin. All we have to do is wait…

Could you please link where can I download the exploration build, since there is many I’d like to be sure using correct one

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). VSCode