So I'm using a USB mouse and using its wheel to scroll. The problems is that sometimes when scrolling in either direction it will sometimes jump back a bit to the other direction. Here are two videos showing it: Scrolling up but jumping down in Terminal: https://vid.me/MSyZ Scrolling down but jumping up in Chrome: https://vid.me/V6ow Arch Linux x86_64 libinput 0.18.0-1 xf86-input-libinput 0.11.0-2 Running on a Xorg Gnome session I tested on a new user also running a Xorg Gnome session and it happened there too.
please run evemu-record against your device while scrolling and attach the output here. I want to rule out any hardware-issues.
Created attachment 116900 [details] evemu-record output I scrolled the page two times: one time fast and the other slowly.
hmm, not sure what to do here, this appears to be a hardware issue. Look at the events (after a grep): E: 4.503993 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 4.535996 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 4.551996 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 4.567994 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 4.583995 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 4.607994 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 4.888004 0002 0008 0001 # EV_REL / REL_WHEEL 1 E: 4.911997 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 4.928007 0002 0008 0001 # EV_REL / REL_WHEEL 1 E: 4.943995 0002 0008 0001 # EV_REL / REL_WHEEL 1 E: 4.959997 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 4.983997 0002 0008 -001 # EV_REL / REL_WHEEL -1 ... the first number is the time in seconds since starting evemu. so you do really get wrong scroll events on that mouse at random intervals. the rest of the log shows the same issue. note that the events are as they come directly from the kernel, libinput or other pieces of the stack have no effect here. in fact, these are the same events that libinput would see. there isn't much we can do here tbh, looks like the HW is broken. sorry.
Yup, I can confirm it's a hardware problem. I tested another mouse in this machine and couldn't reproduce. Tested the same fault mouse on a Windows machine and reproduced it there. Still, thanks for taking your time to look into this issue! I will get a new mouse as soon as I can.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.