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 646360 - eog uses mnemonic "f" in view-menu twice
eog uses mnemonic "f" in view-menu twice
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
2.32.x
Other Linux
: Normal trivial
: GNOME3.2
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-31 16:53 UTC by Simon Steinbeiss
Modified: 2011-04-09 13:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simon Steinbeiss 2011-03-31 16:53:13 UTC
eog uses the mnemonic "f" (meaning: when navigating with keyboard-only through the menus wanting to hit a shortcut using alt+menomic key) in the view-menu twice, once for "f_ullscreen" and another time for "best f_it".
one problem is that the shortcut can't be used.

the other resulting problem (even more annyoing) is that you cannot set the keyboard shortcut for "fullscreen" to "f". in fact: if you change the keyboard-shortcut (by hovering over the element in the menu with the mouse and pressing the wanted shortcut) for "best fit" (by default: "f") to anything else, you won't be able to change it back.

this is really just a papercut, a bug so tiny maybe even i could fix it (even though i'm not a coder). please change the menu-accelerators to something else.

this bug was originally reported here: https://bugs.launchpad.net/ubuntu/+source/eog/+bug/655781

eog version 2.32.0-0ubuntu1
Comment 1 Felix Riemann 2011-03-31 18:06:49 UTC
I guess we can make the "Best _Fit" a "_Best Fit".

No good idea on how to solve the conflict between "_Slideshow" and "_Statusbar" yet.

Also, we're less than a week from the next release, so I'm not sure if I can get a freeze break for this now.
Comment 2 Simon Steinbeiss 2011-03-31 18:20:18 UTC
yes, i guess "_Best Fit" would be ok.
i never even noticed the conflict with statusbar and slideshow.

would that also enable people to set the fullscreen shortcut to "f"? (i just tried, in menus that don't contain an object set to mnemonic "f" i can set a simple "f" e.g. to rotate an image, that isn't possible if there's a mnemonic item for the character you want to use)
Comment 3 Felix Riemann 2011-04-09 13:09:44 UTC
(In reply to comment #2)
> would that also enable people to set the fullscreen shortcut to "f"? (i just
> tried, in menus that don't contain an object set to mnemonic "f" i can set a
> simple "f" e.g. to rotate an image, that isn't possible if there's a mnemonic
> item for the character you want to use)

Well, it won't work directly from the UI. You have to edit eog's accelfile (which is where eog loads it override shortcuts from) for that. The file is ~/.config/eog/accels (for 3.0) or ~/.gnome2/accels/eog (for 2.x). There you need to remove the ';' before the lines where the accel keys for "ViewZoomFit" and "ViewFullscreen" are defined. Set the value for ZoomFit to "" (empty) or another key value then set the one for ViewZoomFit to "f".

To reset everything delete the file, eog will recreate it with the default values.
Comment 4 Felix Riemann 2011-04-09 13:35:11 UTC
Postponed to Eye of GNOME 3.2 as it is not a really critical problem.

commit b4fefa4d98a8db91738da593e2101160fbd63465
Author: Felix Riemann <>
Date:   Sat Apr 9 15:14:09 2011 +0200

    Fix conflicting mnemonics in View menu
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646360

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.