Description of problem: After upgrade of libinput I can no longer cast neither right click action by pressing touchpad with two fingers on it nor middle click by pressing touchpad with three fingers on it. Version-Release number of selected component (if applicable): 1.18.0-1.fc34 How reproducible: Update from libinput-1.17.2-1.fc34 to libinput 1.18.0-1.fc34. Steps to Reproduce: 1. Update to libinput 1.18.0-1.fc34; 2. Press on touchpad with two/three fingers on it. Actual results: Cursor clicks on hovered element with equivalent of left mouse click. Expected results: Cursor clicks on hovered element with equivalent of right/middle click. Additional info: Tap with multiple fingers still works. But not press with multiple fingers fingers. Support of touchpad press with one finger and move with another to select a big area is no longer work too (cursor doesn't move when the second finger is moved) Manual downgrade to libinput-1.17.2-1.fc34 resolves the issue. Touchpad: ELAN2604:00 04F3:3114 If I run journalctl | grep -Ei 'i8042|pnp|elantech|touchpad' it shows the following: Jun 15 20:49:18 badoken-matebook kernel: input: ELAN2604:00 04F3:3114 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ELAN2604:00/0018:04F3:3114.0001/input/input6 Jun 15 20:49:19 badoken-matebook kernel: input: ELAN2604:00 04F3:3114 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ELAN2604:00/0018:04F3:3114.0001/input/input11 Jun 15 20:49:20 badoken-matebook kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input12 Jun 15 20:49:29 badoken-matebook org.gnome.Shell.desktop[2601]: libinput error: event6 - ELAN2604:00 04F3:3114 Touchpad: kernel bug: clickpad with right button, assuming it is not a clickpad Jun 15 20:49:35 badoken-matebook gnome-shell[3270]: libinput error: event6 - ELAN2604:00 04F3:3114 Touchpad: kernel bug: clickpad with right button, assuming it is not a clickpad Jun 15 20:49:36 badoken-matebook systemd[3143]: Starting Rygel DLNA/UPnP server... Jun 15 20:49:36 badoken-matebook systemd[3143]: Started Rygel DLNA/UPnP server. Jun 15 21:01:54 badoken-matebook gnome-shell[3270]: libinput error: event6 - ELAN2604:00 04F3:3114 Touchpad: kernel bug: Touch jump detected and discarded. Jun 15 21:01:54 badoken-matebook gnome-shell[3270]: See https://wayland.freedesktop.org/libinput/doc/1.18.0/touchpad-jumping-cursors.html for details
Can you attach the `libinput record` output for your touchpad please? Thanks.
@
Created attachment 1791480 [details] libinput record with libinput-1.18.0-1.fc34 being installed
Created attachment 1791481 [details] libinput record with libinput-1.17.2-1.fc34 being installed
Hey Peter. I've attached two files with different versions of the lib being used. During the tests I pressed touchpad in the following order: - 3 fingers; - 2 fingers; - 3 fingers; - 2 fingers. Hopefully it helps.
fwiw, `libinput record` records kernel output only so the installed libinput version doesn't matter. Thanks though :) What's the human model number for this? the dmi output is a bit cryptic but it looks like we need a quirk here. Does this work? $ cat > /etc/libinput/local-overrides.quirks <<EOF [Huawei MateBook ???] MatchName=ELAN2604:00 04F3:3114 Touchpad MatchUdevType=touchpad MatchDMIModalias=dmi:*svnHUAWEI:*pvrM1010* AttrEventCodeDisable=BTN_RIGHT EOF $ libinput quirks list /dev/input/eventXX # your device's event node AttrEventCodeDisable=BTN_RIGHT Then restart the session and it should work. If that all works, i'll get that snippet merged upstream.
Thanks for replying, Peter. I did what you've asked, but I had to create "libinput" folder and the file first (not sure if this matters). After that touchpad behaviour returned back to normal, so thank you!
Just in case the model name needed not only for my local resolution, it's Huawei MateBook 2020 or Huawei EUL-WX9.
Upstream MR: https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/647
I forgot to add the bugzilla number to the update, but this should be fixed now: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8bb43ba726
Maybe the fix introduced a new bug: With libinput 1.18.1-1 the Free Touch Touchpads on both MateBook X 2020 and MateBook X Pro 2021 lost the ability to drag & drop by using two fingers. If one finger is producing a click the second finger can't move the cursor around anymore. https://gitlab.freedesktop.org/libinput/libinput/-/issues/649
SaGrLand: we can't fix or even look at this issue without any data, please look at https://wayland.freedesktop.org/libinput/doc/latest/reporting-bugs.html and then provide the libinput recordings in the upstream issue, thanks