GNOME Bugzilla – Bug 723377
Add alternate zoom shortcuts
Last modified: 2014-02-02 17:05:58 UTC
Since Evo. 3.6.4 the Ctrl+'+' Keyboard shortcut (increase text size) fails. Ctrl+'-' is works OK. Ctrl+Shift'+' is inconsistent with other applications and confuses users. The Menu item View->Zoom->'Zoom In Ctrl++' works as it should work. Maybe the shortcut is wrongly configured.
What is your keyboard layout configuration under GNOME? Screenshot welcome.
I already explained this on the list: https://mail.gnome.org/archives/evolution-list/2014-January/msg00118.html The zoom in shortcut works fine. It's Ctrl + the keystroke for '+'. Least on a U.S. keyboard with a [+ =] key, '+' is Shift + the [+ =] key. So the shortcut is Ctrl + Shift + [+ =]. Anyway, this stuff is handled at the GDK layer, not in Evolution.
Maybe the text in Menu->View->Zoom->"Zoom In Ctrl++" should be changed to "Zoom In Ctrl+Shift+".
Created attachment 267826 [details] Screenshot of Evo 3.6.4 Menu->View->Zoom
Created attachment 267827 [details] Screenshot of Evo 3.10.3 Menu->View-Zoom
If this is not a Evolution Bug, please transfer this Bug Report to whoever handles GTK Bugs. I noticed that the same Bug applies to Nautilus and probably other applications.
Sorry, Nautilus Cltr++ works fine
Evolution uses Ctrl + '+' as the zoom shortcut - on standard keyboards in order to get the '+' sign you have to press <shift>+'='. Nautilus uses three shortcuts for zoom Ctrl + '+', Ctrl + '=' and Ctrl + 'keypad+' Perhaps Evolution should just add the extra shortcuts to avoid confusion? $ grep zoom .config/evolution/accels ; (gtk_accel_path "<Actions>/action-group-standard/mail-zoom-out" "<Primary>minus") ; (gtk_accel_path "<Actions>/action-group-standard/mail-zoom-in" "<Primary>plus") ; (gtk_accel_path "<Actions>/action-group-standard/mail-zoom-100" "<Primary>0") ; (gtk_accel_path "<Actions>/action-group-standard/mail-zoom-menu" "") ; (gtk_accel_path "<Actions>/mail/mail-zoom-menu" "") ; (gtk_accel_path "<Actions>/mail/mail-zoom-out" "<Primary>minus") ; (gtk_accel_path "<Actions>/mail/mail-zoom-100" "<Primary>0") ; (gtk_accel_path "<Actions>/mail/mail-zoom-in" "<Primary>plus") $ grep Zoom .config/nautilus/accels ; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel" "<Primary>equal") ; (gtk_accel_path "<Actions>/ShellActions/Zoom Normal" "<Primary>0") ; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel2" "<Primary>KP_Add") ; (gtk_accel_path "<Actions>/ShellActions/Zoom Out" "<Primary>minus") ; (gtk_accel_path "<Actions>/ShellActions/Zoom In" "<Primary>plus") ; (gtk_accel_path "<Actions>/ShellActions/ZoomOutAccel" "<Primary>KP_Subtract")
Created attachment 267853 [details] My US Keyboard
(In reply to comment #8) > Nautilus uses three shortcuts for zoom Ctrl + '+', Ctrl + '=' and Ctrl + > 'keypad+' > > Perhaps Evolution should just add the extra shortcuts to avoid confusion? Not a bad idea, since the reporter clearly expects it to be Ctrl + '='. That assumes, however, all keyboard types have a [+ =] key. Not sure if that's true or not. Maybe it's common enough that a few exceptions don't matter. I'll take a look at how Nautilus does it.
Why don't you use the code from Evolution 3.4.4. and earlier. This was working as expected.
The shortcut hasn't changed since 2008: $ git blame e-mail-reader.c 8e2b445e (Matthew Barnes 2008-12-27 ...) N_("_Zoom In"), 8e2b445e (Matthew Barnes 2008-12-27 ...) "<Control>plus", 8e2b445e (Matthew Barnes 2008-12-27 ...) N_("Increase the text size"), 8e2b445e (Matthew Barnes 2008-12-27 ...) G_CALLBACK (action_mail_zoom_in_cb) }, and even before that it was still Ctrl + '+'.
> > That assumes, however, all keyboard types have a [+ =] key. Not sure if that's > true or not. Maybe it's common enough that a few exceptions don't matter. Most Latin keyboards have the +/= key as do many of the Asian ones, but it's certainly not Universal. See http://en.wikipedia.org/wiki/Keyboard_layout Nevertheless implementing the Ctrl-+, Ctrl-= and Ctrl-keypad+ will probably cover virtually everything.
Fixed for Evolution 3.11.5 and 3.10.4: https://git.gnome.org/browse/evolution/commit/?id=8924b0bd5ef04c30ed3a43652e70e583407f7b85 https://git.gnome.org/browse/evolution/commit/?h=gnome-3-10&id=c5c5fe0b5b1c8d951508c7b0a421b342d05abdae Spotted GDK definitions for dedicated Zoom In / Zoom Out keys on some keyboard models, so I added those too.