After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 56108 - "=" is a bad keyboard shortcut...
"=" is a bad keyboard shortcut...
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
git master
Other All
: Normal normal
: 2.0
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2001-06-13 08:45 UTC by Christian Rose
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of Mozilla zoom menu (28.33 KB, image/png)
2002-09-04 16:45 UTC, Christian Rose
Details

Description Christian Rose 2001-06-13 08:45:28 UTC
The default keyboard shortcut for "zoom in" is Ctrl+=, and this does not
work on a Swedish layout: "=" is Shift+0 on a Swedish keyboard, and
Ctrl+Shift+0 does not work for zooming in in the GIMP.
Ctrl+- however, zoom out, does work. This is not a composed key on Swedish
keyboards. I checked my list of keyboard layouts, and Denmark, Italy,
Netherlands, Norway, Switzerland, Spain, Germany, also have "=" on some
Shift combo. I've also had verification that it does not indeed work on an
Italian layout either.
Comment 1 Austin Donnelly 2001-06-13 08:59:17 UTC
The default for zoom in should be just =, not ctrl+=.

The mnemonic for this is that its on the same key as +, but used so
commonly that you shouldn't need to use any modifiers to get it.

Does pressing = zoom in for you?  If so I think this bug can be
closed.

Austin
Comment 2 Christian Rose 2001-06-13 09:11:19 UTC
Oh.
No, neither pressing "0" nor Shift+0 ("=") does work.
Comment 3 Austin Donnelly 2001-06-13 09:22:47 UTC
Very strange indeed!

This may be a bug in gtk, rather than the gimp.

As a work-around, you can re-bind the keyboard shortcut by
going to the zoom menu (<Image> / View / Zoom In) and while the
mouse is over the menu option, type the key combination you want
for zoom in.  The menu should update with this new combination, and
it should be saved when you quit the gimp.

I'll leave this bug open; perhaps someone who knows more
about gtks accelerators can help.

Austin
Comment 4 Michael Natterer 2001-06-18 21:52:41 UTC
Reassinging to current CVS because it won't be fixed in 1.2.x
Comment 5 Daniel Egger 2001-10-02 17:59:33 UTC
This really is a problem on new installations on non-US-systems.
Although it is quite obvious to change I'd like to see some
code that initially assigns zoom-in to "+" on European keyboards.
We probably could make this depend on the LC_* settings, mitch?
Comment 6 Christian Rose 2001-10-02 18:26:49 UTC
Having looked at a keyboard layout chart with some international
layouts, "+" is probably a bad shortcut for Great Britain,
Switzerland, France, and Belgium (it's a shift-composed key on those).

On the Great Britain, France, and Belgium layouts, "=" can be used
instead.

On the Switzerland layout, neither of "=" nor "+" are regular keys.
"$", on the other hand, is a regular key and has a prominent
placement.

"+" would probably be a good shortcut for Denmark, Italy, Netherlands,
Norway, Spain, Sweden, and Germany (it's a regular key on all these
layouts).
Comment 7 Christian Rose 2001-10-02 18:31:35 UTC
I should probably add that one should note that some countries share
the exact same layout - this is the case for Sweden and Finland, for
example.

I don't know about other European layouts than the ones I have
mentioned above, but I think "+" is a safe default for many of them.
Comment 8 Yanko Kaneti 2001-11-04 19:36:34 UTC
*** Bug 63753 has been marked as a duplicate of this bug. ***
Comment 9 Alan Horkan 2002-07-04 12:54:30 UTC
I really understand why Apple use the same keyboard layout for Europe
and America (and probably almost everywhere else).   

How do other Operating Systems handle zoom keybindings in your locale?
 (Mac/Windows/Solaris/others)

http://developer.gnome.org/projects/gup/hig/draft_hig/standard-menus.html#menu-standard-view
The Gnome2 HIG suggests using 
Zoom In     Ctrl++
Zoom Out    Ctrl+-
Zoom Normal Ctrl+=
I hope the Gimp plans to follow the guidelines (but i dont follow gimp
development so i can only hope)

using just the single character + on its own instead of the
combination Ctrl and + is unlikely to be accepted, by the Gnome2 HIG
does not recommend using single letter modifiers and for consistancy
uses some sort of Ctrl + Shift + Char combination.  

Perhaps they might go for something like 'Shift and +' that is use
Shift as the modifier instead of Ctrl, or maybe not ...  

irc.gnome.org #usability would be a good place to discuss this with
people who know about usuability maybe get them to add more feedback
on this bug report.  

you might consider tweaking the summary to say 
"=" is a bad keyboard shortcut for europeans
maybe the usability keynav and L10N keywords should be added?
Comment 10 Christian Rose 2002-07-04 13:27:14 UTC
> I really understand why Apple use the same keyboard layout for Europe
> and America (and probably almost everywhere else).   

Since when do they? I just had a look at Apple and Sun keyboards
around here and all have the same Swedish layout with Shift+0 for "=".


> How do other Operating Systems handle zoom keybindings in your
> locale?

Internet Explorer has no access keys for zooming. Paint has
(Ctrl+PageUp/PageDown). Mozilla uses Ctrl++ and Ctrl+- and no access
key for normal size.

> you might consider tweaking the summary to say 
> "=" is a bad keyboard shortcut for europeans

These layouts are not only used in Europe.


> maybe the usability keynav and L10N keywords should be added?

Absolutely.
Comment 11 Sven Neumann 2002-08-27 12:59:33 UTC
Even Mozilla has adopted these shortcuts:

 Command            Windows              Linux
 Zoom Text Smaller  Ctrl+- (minus sign)  Ctrl+- (minus sign)
 Zoom Text Larger   Ctrl+= (plus sign)   Ctrl+= (plus sign)

I'm not sure but GTK+-2.0 might fix the problem that '=' doesn't work
if you have to use 'Shift' to get to it. Someone with a non-US
keyboard layout should test this and if possible also tell us how
Mozilla solves this problem (or doesn't solve it).
Comment 12 Christian Rose 2002-09-04 11:33:09 UTC
> Even Mozilla has adopted these shortcuts:
>
> Command            Windows              Linux
> Zoom Text Smaller  Ctrl+- (minus sign)  Ctrl+- (minus sign)
> Zoom Text Larger   Ctrl+= (plus sign)   Ctrl+= (plus sign)

Not in Mozilla 1.0.1, in which I checked. What version are you using?
Comment 13 Sven Neumann 2002-09-04 12:45:58 UTC
At the moment I use Mozilla-1.0.0. The shortcuts are described here:
http://www.mozilla.org/docs/end-user/moz_shortcuts.html and they
surely work for me.
Comment 14 Christian Rose 2002-09-04 15:46:09 UTC
In my copy of Mozilla 1.0.1 (Linux), they are still Ctrl++ and Ctrl+-
respectively, regardless of what that page says.
Comment 15 Sven Neumann 2002-09-04 15:54:02 UTC
The default shortcut in Mozilla is Ctrl-= just like the documentation
states. They only added Ctrl-+ as an alternative so it works for
non-US keyboard layouts as well. Try it, at least for me, both
shortcuts work.
Comment 16 Christian Rose 2002-09-04 16:44:29 UTC
> The default shortcut in Mozilla is Ctrl-= just like the documentation
> states. They only added Ctrl-+ as an alternative so it works for
> non-US keyboard layouts as well. Try it, at least for me, both
> shortcuts work.

It doesn't work here. Only Ctrl++ and Ctrl+- work here (with Swedish
layout). Also, Ctrl++ is the shortcut that's listed in the menu (see
the screenshot).
Comment 17 Christian Rose 2002-09-04 16:45:11 UTC
Created attachment 10898 [details]
Screenshot of Mozilla zoom menu
Comment 18 Sven Neumann 2003-05-23 11:28:38 UTC
Using = for "Zoom In" is definitely inintuitive. Since GTK*-2.x
handles keyboard shortcuts with modifiers, let's change it to '+'.

2003-05-23  Sven Neumann  <sven@gimp.org>

	* docs/keybindings.txt
	* app/gui/image-menu.c (image_menu_entries): changed the default
	shortcut for "Zoom In" to '+'. Fixes bug #56108.
Comment 19 Alan Horkan 2003-05-23 15:54:43 UTC
> inintuitive
i assume that was a typo and you meant unintuitive

While I agree that Ctrl++ is the best answer and is what should appear
in the menu, i think the HIG is misguided when it suggests using
Ctlr+= for Zoom Normal (1:1).  
I think Ctrl+= should also Zoom in.  The disadvantage is that you have
one less keybinding but the advantage is that users with + and = on
the same key dont have to even think about the fact that + is the same
as Shift+=.