Skip to content
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

Cannot zoom in with Ctrl + + #1240

Open
JFDNancy opened this issue Sep 29, 2021 · 1 comment
Open

Cannot zoom in with Ctrl + + #1240

JFDNancy opened this issue Sep 29, 2021 · 1 comment

Comments

@JFDNancy
Copy link

JFDNancy commented Sep 29, 2021

Current behavior

Using shortcut Ctrl + + to zoom in doesn't work, but Ctrl + Shift + + does.

Expected behavior

Zoom in with Ctrl + + works as it says:
image

Steps to reproduce

Zoom in with Ctrl + +

Environment

Desktop/Web

  • Desktop Client Release v0.22.0
  • Windows 10
@Komediruzecki
Copy link
Contributor

Komediruzecki commented Sep 29, 2021

Hi, JFDNancy,

I noticed the issue as well, but I think it's not in our powers, for now, there is a bug/problem in Electron for this: electron/electron#6731. It seems solved, but I think this seems to still be an issue or we should differently configure/customize the menus.

So the key combination ctrl+shift++ actually gives a Javascript keycode for ctrl++, but ctrl++ actually gives a key combination for ctrl+=.

I think it also depends on keyboard layout and chosen keyboard language in your OS settings, for my keyboard it is the same as yours (i.e. ctrl+shift++ gives key '+', and ctrl++ gives key '=').

You can check which keycode is actually triggered on this site: https://keycode.info/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants