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 748952 - [regression] scroll wheel does not work any more
[regression] scroll wheel does not work any more
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
: 756662 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-05-05 13:43 UTC by Christian Stadelmann
Modified: 2016-04-07 12:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Stadelmann 2015-05-05 13:43:44 UTC
In eog 3.16 the scroll wheel does not work any more. It does not zoom nor scroll the image.
Comment 1 Felix Riemann 2015-05-06 18:46:37 UTC
Just tried to be sure and it works for me.
One just has to watch out that the mouse pointer is not over the overlaid buttons or the scroll events won't reach the view.
Comment 2 Christian Stadelmann 2015-05-06 22:08:53 UTC
I tried again and it still does not work on gnome wayland session. It does work on gnome X session though. Could this be a gtk3 backend issue? If yes, can you please reassing/move this bug report?
Comment 3 Felix Riemann 2015-05-10 13:01:45 UTC
Hmm, scrolling in the image view seems to be interpreted as a mouse movement under Wayland. You can see that the overlay buttons are shown again, if you wait for them to fade out.
Comment 4 Matthias Clasen 2015-08-27 01:37:42 UTC
Still seeing this: under x11, click scrolling zooms in/out, under Wayland, nothing happens. Seems eog-specific, though - scrolling text views works as expected elsewhere.
Comment 5 Felix Riemann 2015-10-16 20:14:58 UTC
*** Bug 756662 has been marked as a duplicate of this bug. ***
Comment 6 Felix Riemann 2015-10-16 20:23:00 UTC
I tried looking into this a bit, but I couldn't find the problem yet. Looking at the inspector I can see that widgets on the same level as the image viewing widget, like the sidebar, receive the scroll events just fine. However the image viewing widget seems to receive none. Could the widget being derived from GtkGrid being a problem?
Comment 7 Carlos Garnacho 2015-10-18 16:06:36 UTC
It seems that we still need some emulation of up/down/left/right directions for GdkEventScroll in gtk+.

Nonetheless, this is a case where smooth scroll events (and mask in EogScrolledWindow's GdkWindow) seem a perfect fit. Directional events in "ticks" are a good fit if you're doing discrete jumps (eg. as it was the case in GtkNotebook, when scrolling used to switch tabs).
Comment 8 Matthias Clasen 2015-11-24 19:25:17 UTC
Moving this back to eog then. It should use smooth scrolling
Comment 9 Christian Stadelmann 2016-04-07 12:33:54 UTC
This issue is gone in eog and gtk+ 3.20