element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
10.99k stars 1.95k forks source link

Can zoom in with "cmd -", but can not zoom back out #17104

Closed Jakob-Unfried closed 3 years ago

Jakob-Unfried commented 3 years ago

Description

Hitting "cmd -" (to be explicit: the command key and the minus key at the same time) zooms out on the interface. After doing this, I can not find a way to zoom back in and everything is now too small to read.

Steps to reproduce

Logs being sent: yes (I hope I did it right, the small interface makes this somewhat hard)

Version information

t3chguy commented 3 years ago

Cmd - and Cmd = (+ key next to - but without shift) works fine here also Cmd 0 for resetting zoom

Jakob-Unfried commented 3 years ago

@t3chguy Cmd = works - thanks. However i would not have figured this out - i am using a german keyboard and = has nothing to do with + on it. In particular, it does not appear in the shortcuts list from the help and about tab.

So I guess it works as intended, but I would recommend changing the behavior to be the + key on all keyboard layouts, or at least list the shortcuts in help and about.

Feel free to close

t3chguy commented 3 years ago

Related https://github.com/vector-im/element-desktop/issues/794 https://github.com/vector-im/element-web/issues/9533

Not sure why we specify the accelerator instead of relying on the default https://github.com/vector-im/element-desktop/blob/466a871094fdc59f133b73f4e25cd685ab3745e8/src/vectormenu.js#L40

t3chguy commented 3 years ago

The shortcuts are listed in the Window menu:

image

Jakob-Unfried commented 3 years ago

confirmed - my bad thanks for the quick reactions

Jakob-Unfried commented 3 years ago

I noticed that after all of this zooming in and back out, the letters in the read-icons on the very right side are now off-center.

Bildschirmfoto 2021-04-29 um 11 10 57

This really doesnt bother me much but I thought you might want to know.

ewen-goisot commented 2 years ago

"Ctrl =" does not work for me. I use a non-standard keyboard layout named ETUSINA that you can find here : https://configure.zsa.io/ergodox-ez/layouts/MaDpX/latest/2 and the behavior of shortcuts is quite strange :

After several tries, I found that "Ctrl #" can reset the zoom (because '#' on my keyboard where '=' is on QWERTY). For example, in my current layout, the key with '=' on QWERTY has 'z' on ETUSINA, so the "zoom +" function is currently impossible to do for me (I can only do "zoom reset" to the default value).

Of course, my keyboard layout is unusual (but necessary for me), but most other softwares allow me to zoom/unzoom with Ctrl+ and Ctrl-. (I don't have to use the Shift key to do the '+')

I mean shortcuts have a quite unpredictable behavior on non-standard keyboard layout, sometimes it takes the QWERTY key, and sometimes it takes the key for the other (ETUSINA) layout.

Is there a way to configure the keyboard shortcuts (currently or planned for later) ?

sam0x17 commented 1 year ago

I am unable to zoom back in after zooming out, Ubuntu Budgie 22.04

sam0x17 commented 1 year ago

omg I figured it out. Zoom out is just CTRL+- but for zoom in it's SHIFT+CTRL+=

dsheeler commented 4 months ago

@sam0x17 I swear I tried that and it didn't work until you suggested it. THANK YOU