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
[Bug]: Electron 30 Menu in toolbar - font has changed from v29. #42262
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
30.0.0
What operating system are you using?
Windows
Operating System Version
windows 10
What arch are you using?
x64
Last Known Working Electron version
29
Expected Behavior
want same font as in e29.
Actual Behavior
want same font as in e29. now in e30 font is too bold! How to revert it please
Testcase Gist URL
na
Additional Information
na
Reacted by Nicolas Jeker, João Paulo Albuquerque, Jonathan Pike, Cristian Livella, Enguerrand de Ribaucourt, deridiot, IceFreez3r, Rob Rolls, Adam Perry, peter-fb and 12 more
Hello @geetee24. Thanks for reporting this and helping to make Electron better!
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
Now adding the
blocked/need-reproNeeds a test case to reproduce the bug
label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.
personalizedrefrigerator commented on May 30, 2024
It is possible that these stylistic changes are done upstream and we inherit them. Are these changes present in Chromium as well? If not, could you please provide a reproduction method as asked for in this above message?
I'm adding
blocked/need-info ❌Cannot proceed without more information
for this reason. After you confirm where these changes are present and make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.
On Linux: These changes are likely inherited from Chromium — the updated right-click menu style in Electron's development tools matches the style of the right-click menu in Chromium's development tools (I'm testing this with the "Elements" tab).
Note that the original issue references Windows 10.
I can confirm that on Linux, the change seems to be inherited from Chromium. Chromium 120.0.6099.212 has the old style of menus, while Chromium 126.0.6478.182 has the new menu style.
This is definitely affecting me. When VSCode started getting the huge fonts in menus, I downgraded and didn't upgrade again since. The context menu in the editor barely fits in my screen height.
Reacted by Vallek, realitycheck, Mr Beedell, Roke Julian Lockhart, Luke Horwell, Akalanka Sakalasooriya, Timothy Bautista, Enrico Lamperti, Zander, FcDen, Kozmotronik and 1 more
As a follow-up to the above - there's nothing we can do on our end about this short of reverting it and we're not going to diverge from Chromium in this way as it'd be increasingly untenable over time. You are more than welcome to open an issue upstream at https://issues.chromium.org - any changes they then make we'd be able to leverage.
As a follow-up to the above - there's nothing we can do on our end about this short of reverting it and we're not going to diverge from Chromium in this way as it'd be increasingly untenable over time.
Somehow vscode is able to overcome this new menu change by using "custom title bar" option: microsoft/vscode#224515 (comment), so this is not impossible to have. Though of course the proper solution would be in upstream.
That setting makes vscode use an entirely custom menu implementation that exists as HTML in the page itself (and so, can't extend outside the window, may have weird glitches where it appears under UI elements.
It ‘works’ for vscode, but isn't something Electron can realistically do itself.
Activity
electron-issue-triage commentedon May 23, 2024
Hello @geetee24. Thanks for reporting this and helping to make Electron better!
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
Now adding the blocked/need-reproNeeds a test case to reproduce the bug
label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.
personalizedrefrigerator commentedon May 30, 2024
I'm also experiencing this (or noticing a similar change) with Electron 30 on Ubuntu 24.04/GNOME.
Screenshot comparison
Electron 29:

Electron 30:

This is with the default Electron Fiddle template (Electron Fiddle 0.36.2).
Desktop: Upgrade to Electron 30
mlaurencin commentedon Jun 27, 2024
It is possible that these stylistic changes are done upstream and we inherit them. Are these changes present in Chromium as well? If not, could you please provide a reproduction method as asked for in this above message?
I'm adding blocked/need-info ❌Cannot proceed without more information
for this reason. After you confirm where these changes are present and make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.
personalizedrefrigerator commentedon Jul 5, 2024
On Linux: These changes are likely inherited from Chromium — the updated right-click menu style in Electron's development tools matches the style of the right-click menu in Chromium's development tools (I'm testing this with the "Elements" tab).
Note that the original issue references Windows 10.
askiiart commentedon Aug 2, 2024
I can confirm that on Linux, the change seems to be inherited from Chromium. Chromium 120.0.6099.212 has the old style of menus, while Chromium 126.0.6478.182 has the new menu style.
Tatsh commentedon Aug 5, 2024
Sad. The chance of getting Google to realise this is an issue, give an option, or undo the change is about 0%.
medovina commentedon Aug 5, 2024
Um, Microsoft has a market cap of $3 trillion. You don't think they are able to get Google's attention when necessary? :)
10 remaining items
nicolas17 commentedon Dec 12, 2024
This is definitely affecting me. When VSCode started getting the huge fonts in menus, I downgraded and didn't upgrade again since. The context menu in the editor barely fits in my screen height.
ruvkr commentedon Dec 13, 2024
Scrolling on that is the most horrifying experience I endure daily
elamperti commentedon Dec 14, 2024
The gigantic context menus are painful to use, it's a continous struggle. There must be a way around it 😕
ZanderBrown commentedon Dec 15, 2024
And this, this right here, is why stale bots are horrible
codebytere commentedon Dec 16, 2024
As a follow-up to the above - there's nothing we can do on our end about this short of reverting it and we're not going to diverge from Chromium in this way as it'd be increasingly untenable over time. You are more than welcome to open an issue upstream at https://issues.chromium.org - any changes they then make we'd be able to leverage.
0009-0009-1013-986X commentedon Dec 16, 2024
@codebytere,
issues.chromium.org/issues/330373923appears to be the issue to follow.positron96 commentedon Mar 10, 2025
Somehow vscode is able to overcome this new menu change by using "custom title bar" option: microsoft/vscode#224515 (comment), so this is not impossible to have. Though of course the proper solution would be in upstream.
ZanderBrown commentedon Mar 10, 2025
That setting makes vscode use an entirely custom menu implementation that exists as HTML in the page itself (and so, can't extend outside the window, may have weird glitches where it appears under UI elements.
It ‘works’ for vscode, but isn't something Electron can realistically do itself.
positron96 commentedon Mar 10, 2025
Oh, I never noticed that it cannot go outside window boundaries, but indeed it can't. Thanks for clarifying!
docs: Clarify that menus use non-native styles (#45033)