Description of problem: Occasionally a one-finger tap (i.e. left-click) registers as a two-finger (i.e., right-click) or three-finger (i.e., middle-click) tap. For example, I try to click a link in Firefox by tapping with one finger, but the right-click context menu appears. Or I try to tap-and-drag to select text in gnome-terminal but it instead pastes unwanted text in the terminal. I see some errors in my logs: ~]$ journalctl -b 0 _COMM=gdm-x-session -o cat | grep libinput.bug (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: invalid event, no fingers are down (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: invalid event when fingers are up (EE) libinput bug: invalid event when fingers are up (EE) libinput bug: invalid event when fingers are up (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: invalid event, no fingers are down (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: invalid event, no fingers are down (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: invalid event, no fingers are down (EE) libinput bug: unexpected scroll event 0 in area state (EE) libinput bug: unexpected scroll event 0 in area state ... Version-Release number of selected component (if applicable): libinput-0.13.0-1.fc22.x86_64 xorg-x11-drv-libinput-0.8.0-2.fc22.x86_64 xorg-x11-server-Xorg-1.17.1-7.fc22.x86_64 xorg-x11-server-Xwayland-1.17.1-7.fc22.x86_64 gnome-shell-3.16.0-1.fc22.x86_64 How reproducible: unknown Steps to Reproduce: 1. tap to click things Actual results: sometimes single-finger taps work like two- or three-finger taps Expected results: single-finger tap is always a left-click Additional info:
Created attachment 1011382 [details] x-session log
pls record your device with evemu-record and attach the output here. This should help narrow down where the problem is. For bugs that are only seen occasionally, please try to keep the recording as short as possible. http://www.freedesktop.org/wiki/Evemu
Created attachment 1011747 [details] evemu-record output The buttons started acting weird about 8 or 9 seconds into this recording.
It feels like an off-by-1 error: I was using the KDE System Settings -> Input Devices tool where you can click on a testing area and it tells you which button you clicked. When it starts acting up, I noticed a single-finger-tap shows up as a right-click, and a double-finger-tap was a middle-click. So it seems like the libinput driver forgot to subtract 1 from the number of fingers on a tap-release event, and thus the next tap registers as fingers+1.
Verified, filed this upstream here: https://bugs.freedesktop.org/show_bug.cgi?id=89949
Scratch build for testing available here, does this fix the issue? http://koji.fedoraproject.org/koji/taskinfo?taskID=9434244
The scratch build works great! Thanks!
libinput-0.13.0-4.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/libinput-0.13.0-4.fc22
Package libinput-0.13.0-4.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libinput-0.13.0-4.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-5900/libinput-0.13.0-4.fc22 then log in and leave karma (feedback).
This change seems to completely break 3 finger tap here. I can't get it to ever see 3 fingers, it always sees it as 2. will attach evemu record
Created attachment 1014925 [details] 3 finger tap being seen as 2
Sorry for the noise here. This seems to be a kernel issue. Works with 4.0.0, breaks with the 4.1.x pre rc ones in rawhide. Will file a new bug for that.
See Bug 1212230 for Kevin's issue, it is unrelated to this one.
libinput-0.13.0-6.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/libinput-0.13.0-6.fc22
libinput-0.13.0-6.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
this bug should've been auto-closed but didn't.