| Summary: | Middle click with three-fingers touch on touchpad is lost randomly after using 4-fingers swipe gesture | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Alexandre Hen <alexandre> |
| Component: | Gestures | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | nate, vive.linux, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 6.0.3 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Configuration
cat /proc/bus/input/devices Output of libinput record |
||
Created attachment 156033 [details]
cat /proc/bus/input/devices
I have had the same problem since I started using wayland (with kde plasma) in may 2022 but I have the feeling that it got worse recently : previously it only happened a few times a day, now it is every few minutes. I am now using plasma 6 but I wouldn't say for sure that it got worse since plasma 6. Maybe it is just me that does whatever triggers the problem more often. Contrary to what OP suggests, I'm not sure the problem is triggered by using 4 finger swipe (if it is, it is not every time). As far as I am concerned three finger tap (emulating middle click) or three finger swipe stops working randomly and I usually get it back working using a 4 finger swipe. I do not think this is a general driver bug because it never happens with hyprland that I sometimes use on the same machine with the same OS (arch linux). It makes me think it is specific to kde plasma. Not sure. My laptop is a Lenovo E595 and this is what I can find in journalctl just after the problem is triggered : avr 09 19:45:22 manchester kwin_wayland[25032]: kwin_libinput: Libinput: event12 - SynPS/2 Synaptics TouchPad: client bug: event processing lagging behind by 65ms, your system is too slow avr 09 19:45:26 manchester kwin_wayland[25032]: kwin_libinput: Libinput: event12 - SynPS/2 Synaptics TouchPad: libinput bug: invalid gesture event GESTURE_EVENT_HOLD_TIMEOUT in state GESTURE_STATE_HOLD avr 09 19:46:11 manchester kwin_wayland[25032]: kwin_libinput: Libinput: event12 - SynPS/2 Synaptics TouchPad: libinput bug: invalid gesture event GESTURE_EVENT_HOLD_TIMEOUT in state GESTURE_STATE_HOLD (this happened after I launched a libinput record command, I'll try to post an attachment of the output) Created attachment 168314 [details]
Output of libinput record
Output of libinput record. The bug happened soon after beginning of recording.
Hello ! Thank you vive.linux. It happened today on Opensuse Tumbleweed 240407, on my P14s AMD Gen1 : I lost the three fingers to middle click after using the four fingers swipe gesture. Using a 4 fingers swipe again resolved the issue. Thank you ! This is a libinput bug, please report this at https://gitlab.freedesktop.org/libinput/libinput/-/issues |
Created attachment 156032 [details] Configuration SUMMARY I lose three-fingers click from the touchpad for Middle-Click after using the 4 fingers gesture or Meta+W. It is especially visible in the tabs bar of Firefox for closing or opening tabs. Instead, and after multiple attempts of three-fingers touch, it shows, sometimes, the context menu instead (what I get usually with a two-fingers touch on my touchpad). It is not systematic after every gestures... Important note : it does not seem happen with Meta+W. Firefox is configured to have his titlebar disabled. I set plasma to have a right click with a two-fingers touch and a middle click with a three-fingers touch. I'm on Fedora Kinoite 37 Beta on Wayland. STEPS TO REPRODUCE 1. Use the gesture "4-fingers swipe" up or down, multiple times in a row. 2. After each #1, try to open or close a tab in Firefox, or paste a text that you copied in KWrite, by using a three-fingers touch on your touchpad OBSERVED RESULT After a few tries, the context menu is showing (a two-fingers action usually) instead of having the action associated with a three-fingers touch. You can have the usual behaviour by triggering a new #1, then #2. EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION