GNOME Bugzilla – Bug 675089
[regression] Scrolling with a touchpad or mouse wheel never goes up
Last modified: 2012-06-10 09:03:12 UTC
Not sure if it's a gnumeric bug or a GTK bug (I've only seen it in gnumeric lately), but here's what happens with gnumeric 1.11.3 and GTK/GNOME 3.4. With a touchpad scroll: - scrolling down scrolls down - scrolling up scrolls *down* too With a mousewheel scroll: - scrolling down scrolls down - scrolling up doesn't do anything.
Scrolling with a mousewheel seems to work fine in GNuemric 1.11.3 with gtk 3.2. So this is most likely another bit of gtk breakage. Gnumeric should not need to know whether the scrolling comes from a touchpad or a mousewheel, so there is clearly something wrong upstream.
gnumeric needs to handle GDK_SCROLL_SMOOTH as a scroll direction. Until it does, you can work around the problem with GDK_CORE_DEVICE_EVENTS=1
Matthias, is there any documentation regarding GDK_SCROLL_SMOOTH anywhere?
Not too much, and I apologize for this not being 100% compatible, we could have done a better job here http://developer.gnome.org/gdk3/3.4/gdk3-Event-Structures.html#GdkScrollDirection
"enum GdkScrollDirection" defines GDK_SCROLL_SMOOTH, but according to the documentation for struct GdkEventScroll's direction fields, it is not used: "one of GDK_SCROLL_UP, GDK_SCROLL_DOWN, GDK_SCROLL_LEFT and GDK_SCROLL_RIGHT". We're going to need some dead kittens, I suspect.
Congratulations, you've found a place in the docs that hasn't been updated.
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.