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 675089 - [regression] Scrolling with a touchpad or mouse wheel never goes up
[regression] Scrolling with a touchpad or mouse wheel never goes up
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2012-04-29 17:06 UTC by Jean-François Fortin Tam
Modified: 2012-06-10 09:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2012-04-29 17:06:40 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.
Comment 1 Andreas J. Guelzow 2012-04-30 00:07:45 UTC
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.
Comment 2 Matthias Clasen 2012-04-30 09:44:17 UTC
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
Comment 3 Andreas J. Guelzow 2012-04-30 13:39:51 UTC
Matthias, is there any documentation regarding  GDK_SCROLL_SMOOTH anywhere?
Comment 4 Matthias Clasen 2012-04-30 13:53:33 UTC
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
Comment 5 Morten Welinder 2012-04-30 18:49:41 UTC
"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.
Comment 6 Matthias Clasen 2012-04-30 19:12:55 UTC
Congratulations, you've found a place in the docs that hasn't been updated.
Comment 7 Jean Bréfort 2012-06-10 09:03:12 UTC
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.