New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "Zoom In" shortcut doesn't work #15496
Comments
/cc @brenca for the menu issues |
For now, I'm working around this issue with: { role: 'resetzoom' },
- { role: 'zoomin' },
+ { role: 'zoomin', accelerator: 'CommandOrControl+=' },
{ role: 'zoomout' }, It restores the keyboard shortcut, which is used more frequently than the actual menu (for us, at least). The downside is it displays as ⌘= instead of ⌘+. |
I was trying to use that solution but I want it to display ⌘+. I tried duplicating the menu item and marking it as
|
just hit this - does anyone have a real fix or know why this doesnt work? im reverting back to 2.0.11 for now. |
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 6.x.y 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 Thanks in advance! Your help is appreciated. |
This problem still appears to be unresolved as of v7.1.12. |
Reproducible on v8.0.0 too. We are using the |
Due to the way that Apple's keyboard shortcuts work here, there are two options moving forward:
What would you all prefer? |
I would say option 1. It would be more intuitive to press. |
@codebytere I think it would be better to support both ⌘+ & ⌘= in MacOS and display ⌘+ in the menu... This will also support both US and variants keyboard |
This was actually fixed as a byproduct of #27701! Cmd and + (no shift key) triggers the same code path it used to trigger before Electron v3, zooming in the window as you would expect. This also works as expected on other keyboard layouts, e.g. French. @codebytere Now that Cmd and + (no shift key) works without touching shortcuts, what to do with the Cmd and Shift and = shortcut lying around somewhere? |
The Electron version reported on this issue is no longer supported. See our supported versions documentation. If this is still reproducible on a supported version, please open a new issue with any other new information that a maintainer should know. Thank you for taking the time to report this issue and helping to make Electron better! Your help is appreciated. |
Getting zoom in issue, |
This is still a problem. have to use Ctrl Shift + to get it to work.... |
It hasn't been working for me either. Can't seem to find a fix. Not even manually zooming in through the top menu seems to work. And every time I reboot my app the zoom saves. |
Any update on this? I'm getting this error too. Directly clicking it through the menu will work though. |
Still an issue, in Electron 24.2.0 on Windows. |
Still an issue, in Electron 25.1.0 on Windows. |
As mentioned here by @cbesangeeth Zoom In : Ctrl Shift + |
node_modules/.bin/electron --version
: 3.0.6, 4.0.0-beta.4node_modules/.bin/electron --version
on last known working Electron version (if applicable): 2.0.11Expected Behavior
Behaviour in Electron 2:
Actual behavior
For Electron 4 it shows "⇧⌘+".
The other zoom shortcuts "⌘ and -" and "⌘ and 0" work as expected.
To Reproduce
Open any webpage in Electron, e.g.
$ ...Electron.app/Contents/MacOS/Electron https://youtube.com
, try to Zoom in and Zoom out with a keyboard.Can be reproduced even with the default app.
The text was updated successfully, but these errors were encountered: