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 684179 - switching images by next/prev mouse buttons (like in browsers)
switching images by next/prev mouse buttons (like in browsers)
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: image viewer
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-17 08:04 UTC by Adrian Lachata
Modified: 2015-12-14 07:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adrian Lachata 2012-09-17 08:04:30 UTC
Hello. 
It is quite comfortable to switch and zoom images by mouse. Zooming works well by mouse wheel but the switching does not. I mean mouse side button usually called next/prev buttons.
Comment 1 André Klapper 2012-09-17 12:17:19 UTC
Like in which browsers?
Comment 2 Adrian Lachata 2012-09-17 12:27:10 UTC
like web browsers. E.g. like Chromium or Opera.
Comment 3 Felix Riemann 2012-09-19 16:51:40 UTC
Well, eog actually already has code to do that.
It seems the keycodes the scroll buttons produce have changed since it was added.
eog looks for buttons 6 and 7, my mouse produces 8 and 9.

Not sure how portable these codes are.
Comment 4 Felix Riemann 2012-10-13 12:14:55 UTC
commit b23508382f0131d9961e437fe8c8453adeb84faa
Author: Felix Riemann <>
Date:   Sat Oct 13 14:12:38 2012 +0200

    Add additional key codes for image switching using mouse buttons
    
    This should re-establish that function for newer X setups.
    As we don't know whether the old keycodes could still occur,
    we simply keep for compatibility.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684179
---
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.
Comment 5 DF 2015-12-14 07:24:34 UTC
Logitech mice tend to have side to side buttons in the scroll wheel. In web browsers this scrolls side to side but in EOG it zooms in and out like the wheel and thus redundant. Would be nice if that would be changed to select next/previous picture.