GNOME Bugzilla – Bug 752184
Mouse wheel doesn't work correctly in Firefox since GTK 3.16.5
Last modified: 2015-07-16 09:46:05 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.
Is this something you see on other GTK+3 apps? Which window manager are you running?
I don't really use any other GTK+3 apps. I'm on Plasma 5, I use Kwin.
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 ***
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.
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.
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.
(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?
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.
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?
Yes, this can be closed now.