heynote icon indicating copy to clipboard operation
heynote copied to clipboard

Zoom In hotkey (CTRL+ +) does not work

Open rellfy opened this issue 8 months ago • 6 comments

CTRL + + does not work for me, but CTRL + - (Zoom Out) does. I can only zoom in through the Edit menu (after clicking Alt).

rellfy avatar Dec 26 '23 06:12 rellfy

have you tried CTRL + Shift + +? That should work

ImKaashif avatar Dec 26 '23 06:12 ImKaashif

have you tried CTRL + Shift + +? That should work

@ImKaashif Thanks, that does work. I noticed CTRL+Shift+- does not work for zooming out though. Not very consistent.

rellfy avatar Dec 26 '23 11:12 rellfy

@rellfy, I'm not sure but I guess they are using default keymap for zoom-in and zoom-out from codemirror, and it is similar to the linux terminal.

If we want, I think we can still override the default behaviour to zoom-in on CTRL + =, so that it seems consistent to CTRL + -

ImKaashif avatar Dec 26 '23 16:12 ImKaashif

I think the default keymap for zoom in/out is coming from Electron. Is this on Windows? On Mac CMD-+ works as expected.

heyman avatar Dec 26 '23 23:12 heyman

I think the default keymap for zoom in/out is coming from Electron. Is this on Windows? On Mac CMD-+ works as expected.

@heyman Linux/Fedora :)

rellfy avatar Dec 26 '23 23:12 rellfy

Ok, I think CTRL++ makes more sense than CTRL+Shift++, so that should be fixed

heyman avatar Dec 27 '23 00:12 heyman

Someone has reported this as a bug in Electron: https://github.com/electron/electron/issues/40674

And here someone proposes a workaround: https://github.com/electron/electron/issues/5256#issuecomment-692068367

heyman avatar Dec 27 '23 11:12 heyman

Seems like the zoom in works with ctrl + shift + + as mentioned here: https://github.com/electron/electron/issues/15496#issuecomment-1725268407

TimTrademark avatar Dec 27 '23 11:12 TimTrademark