You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dark Menu bar with Grey / Brown Text in Electron Based App #15823
**Operating System (Platform and Version): **
Linux based with GTK Theme (Arc Darker, Adapta , etc)
Expected Behavior
Menu bar show white text instead of brown or grey.
Actual behavior
It show brown or grey text, althought i have changed GTK Theme Color.
To Reproduce
Install GTK Theme (Arc or Adapta) and switch in Darker theme. I find some electron apps like Visual Studio Code and Gitkraken show grey text with darker background in menu bar.
Screenshots
Here i provide some screenshoot from latest version of VS Code and Gitkraken with latest version of Electron JS.
Reacted by Caesar Schinas, nana-4 and Natanael Arndt
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
For Visual Studio Code, i get the info about version of Electron here
Version: 1.29.1
Commit: bc24f98b5f70467bc689abf41cc5550ca637088e
Date: 2018-11-15T19:07:43.495Z Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
And for Gitkraken, the version of Electron is unknown
Thank you for taking the time to report this issue and helping to make Electron better.
The version of Electron you reported this on has been superseded by newer releases.
If you're still experiencing this issue in Electron v4.2.x or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know.
I'm setting the blocked/need-info label for the above reasons. This issue will be closed 7 days from now if there is no response.
We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.
Activity
welcome commentedon Nov 24, 2018
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
sofianguy commentedon Nov 27, 2018
which version of electron are you running?
GulajavaMinistudio commentedon Nov 28, 2018
@sofianguy
For Visual Studio Code, i get the info about version of Electron here
Version: 1.29.1
Commit: bc24f98b5f70467bc689abf41cc5550ca637088e
Date: 2018-11-15T19:07:43.495Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
And for Gitkraken, the version of Electron is unknown

nana-4 commentedon Nov 30, 2018
Hi, I have same issue on Atom
1.33.0and VSCode1.29.1. I'm using Fedora 29.This seems to be caused by Electron using the
GtkWindowtext color instead ofmenubar > menuitemtext color for the menu bar.IIRC, this problem didn't happen in the older version of Electron.
Atom version info:
VSCode version info:
btd1337 commentedon Dec 12, 2018
Same error here... In dark theme this error doesn't occurs.
Occur in Latest VS Code Stable and Insider edition.
VSCode Stable Version
VSCode Insider Version
Electron Version
ckristi commentedon Dec 15, 2018
mattermost-desktop-4.2.0 and skypeforlinux-8.34.0.78 are affected as well.
mattermost-desktop-4.1.2 menus worked fine with mint-y-darker theme(s), but the upgrade to 4.2.0 broke the menus (probably upgraded electron?).
hexchain commentedon Dec 17, 2018
I have the same problem on Arch Linux, with electron 2.0.14.
Probably electron is using the wrong CSS selector for the menu button? https://sourcegraph.com/github.com/electron/[email protected]/-/blob/atom/browser/ui/views/menu_bar.cc#L145
Here is a screenshot of

GTK_DEBUG=interactive gtk3-demo --run=menus. The expanded element is the menu label:And here are the relevant CSS rules of my theme:
Details
hexchain commentedon Jan 11, 2019
Looks like a fix is already applied: #15878
Should it be backported to Electron 2 as well?
sofianguy commentedon Aug 8, 2019
Thank you for taking the time to report this issue and helping to make Electron better.
The version of Electron you reported this on has been superseded by newer releases.
If you're still experiencing this issue in Electron v4.2.x or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know.
I'm setting the
blocked/need-infolabel for the above reasons. This issue will be closed 7 days from now if there is no response.Thanks in advance! Your help is appreciated.
sofianguy commentedon Aug 19, 2019
Thank you for your issue!
We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.