BoostNote-App icon indicating copy to clipboard operation
BoostNote-App copied to clipboard

Cannot zoom in with Ctrl + +

Open JFDNancy opened this issue 4 years ago • 1 comments

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

JFDNancy avatar Sep 29 '21 05:09 JFDNancy

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: https://github.com/electron/electron/issues/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/

Komediruzecki avatar Sep 29 '21 13:09 Komediruzecki