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 752184 - Mouse wheel doesn't work correctly in Firefox since GTK 3.16.5
Mouse wheel doesn't work correctly in Firefox since GTK 3.16.5
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-07-09 15:40 UTC by AnAkkk
Modified: 2015-07-16 09:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Xorg.0.log (20.11 KB, text/plain)
2015-07-15 11:33 UTC, Mamoru TASAKA
Details

Description AnAkkk 2015-07-09 15:40:26 UTC
I'm on ArchLinux and use the following GTK3 firefox build:
https://bbs.archlinux.org/viewtopic.php?id=117157

Since I've updated to GTK 3.16.5 a few days ago, the mouse scrolling is horrible, a lot of times the scrolling speed seem to change and goes too fast, and the most annoying issue is that it just start scrolling in the opposite direction when I change between scrolling up/down and it gets stuck scrolling this way, until I totally stop scrolling (and probably even ALT-TAB).

I have reverted to GTK 3.16.4, and the issue is gone.

I use xf86-input-libinput-git and xorg-server-git to fix an issue with libinput.
Comment 1 Carlos Garnacho 2015-07-09 16:06:17 UTC
Is this something you see on other GTK+3 apps? Which window manager are you running?
Comment 2 AnAkkk 2015-07-09 16:13:49 UTC
I don't really use any other GTK+3 apps. I'm on Plasma 5, I use Kwin.
Comment 3 Carlos Garnacho 2015-07-14 17:53:12 UTC
I tried installing kwin and could not reproduce, I in the end figured out I see weird behavior if the synaptics x11 driver is in use regardless of the WM, see https://bugzilla.gnome.org/show_bug.cgi?id=752271#c1 for more info.

*** This bug has been marked as a duplicate of bug 752271 ***
Comment 4 Carlos Garnacho 2015-07-14 18:32:00 UTC
Ok, I missed this is with the libinput driver, the only bit I haven't looked so far is firefox-gtk3, will install from there.

In the mean time, could you at least check with gtk3-demo? that's part of the gtk3 package on arch.
Comment 5 AnAkkk 2015-07-14 19:55:43 UTC
With the demo, I can't reproduce the backward scrolling, but the issue seem to be here anyway, after every time I alt-tab, then get back into the window, doing only one scroll scroll down to the bottom (trying again without alt-tabbing require scrolling 7 times). If I downgrade gtk3, the behaviour is the same, alt-tab or not.
Backward scrolling might only happen when the page is larger, like in firefox.
Comment 6 Mamoru TASAKA 2015-07-15 01:54:25 UTC
Using Fedora 22 fully updated (currently uses gtk3-3.16.5-1.fc22),
currently I see this issue on every gtk3 application, including
gtk3-demo.

firefox, gnome-terminal, etc all sees this issue. Especially,
I scroll mouse wheel rather rapidly, scroll bar moves randowly,
when I scroll down mouse wheel, sometimes scroll bar goes up.

And, reverting 
https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-16&id=3d9cce79cf16bce335599b3b78b6bd0a04e37560
fixes this issue for me.
Comment 7 Carlos Garnacho 2015-07-15 09:42:44 UTC
(In reply to Mamoru TASAKA from comment #6)
> Using Fedora 22 fully updated (currently uses gtk3-3.16.5-1.fc22),
> currently I see this issue on every gtk3 application, including
> gtk3-demo.
> 
> firefox, gnome-terminal, etc all sees this issue. Especially,
> I scroll mouse wheel rather rapidly, scroll bar moves randowly,
> when I scroll down mouse wheel, sometimes scroll bar goes up.
> 
> And, reverting 
> https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-
> 16&id=3d9cce79cf16bce335599b3b78b6bd0a04e37560
> fixes this issue for me.

Is this a mouse with a physical wheel? Do you have any other input devices that you might have used intermitently? What X11 driver are your mice using? which window manager are you using?
Comment 8 Mamoru TASAKA 2015-07-15 11:33:19 UTC
Created attachment 307467 [details]
Xorg.0.log


Using physical wheel, through virtualbox 4.3.28 (no other machine tested),
using LXDE (lxsession 0.5.2)

For driver info, I guess Xorg.0.log is useful, so I've attached it.
Comment 9 Bjørn Lie 2015-07-16 09:07:10 UTC
Since the commit have been reverted on all affected branches, I guess this bug can be closed? Or are we waiting for the next release first?
Comment 10 Carlos Garnacho 2015-07-16 09:46:05 UTC
Yes, this can be closed now.