Bug 455261 - three-four finger gesture do not work in 5.25
Summary: three-four finger gesture do not work in 5.25
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 5.25.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2022-06-14 16:38 UTC by johnathan
Modified: 2023-09-05 02:47 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
touchpad settings (234.29 KB, image/png)
2022-06-14 16:38 UTC, johnathan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johnathan 2022-06-14 16:38:02 UTC
Created attachment 149691 [details]
touchpad settings

SUMMARY
***
i updated to 5.25 and neither is 3 nor 4 finger gesture seem to work for me. i checked settings and got to this page but it does not show any options for these two gestures.

is there a way to detect if my touchpad supports the gestures/ is there a compatibility issue/driver issue? 

is there a "test area" like keyboard has which says what is being pressed?
***



OBSERVED RESULT

3 and 4 finger gestures do not work
EXPECTED RESULT
gestures should work

Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.13.0-48-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4400
Manufacturer: Dell Inc.
Product Name: Latitude E7440
System Version: 01
Comment 1 johnathan 2022-06-14 17:01:19 UTC
if i might add, the two finger tap setting is not clickable. does this mean a driver issue?
Comment 2 me 2022-06-15 12:36:05 UTC
It's not working for me either.
Operating System: KDE neon 5.25

to test gesture support, install libinput-tools and run (most probably as root) 'libinput debug-events'. this should output something like the following:
...
 event5   GESTURE_SWIPE_BEGIN     +0.502s       3
 event5   GESTURE_SWIPE_UPDATE    +0.502s       3  0.22/ 1.89 ( 0.57/ 4.86 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.509s       3  0.00/ 0.22 ( 0.00/ 0.34 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.540s       3  0.44/ 2.43 ( 0.45/ 2.49 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.562s       3  0.34/ 1.59 ( 0.34/ 1.58 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.577s       3  0.23/ 1.13 ( 0.23/ 1.13 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.614s       3  0.23/ 2.72 ( 0.23/ 2.72 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.629s       3  0.23/ 1.02 ( 0.23/ 1.02 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.637s       3  0.00/ 0.68 ( 0.00/ 0.68 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.653s       3  0.11/ 1.13 ( 0.11/ 1.13 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.691s       3  0.00/ 2.83 ( 0.00/ 2.83 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.713s       3  0.00/ 1.47 ( 0.00/ 1.47 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.743s       3  0.11/ 2.72 ( 0.11/ 2.72 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.758s       3  0.00/ 1.02 ( 0.00/ 1.02 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.787s       3  0.00/ 2.04 ( 0.00/ 2.04 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +0.795s       3  0.00/ 0.68 ( 0.00/ 0.68 unaccelerated)
 event5   GESTURE_SWIPE_END       +0.851s       3
...
 event5   GESTURE_SWIPE_BEGIN     +2.166s       4
 event5   GESTURE_SWIPE_UPDATE    +2.166s       4 -0.38/16.80 (-0.42/18.84 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.220s       4  0.24/ 6.05 ( 0.25/ 6.45 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.237s       4  0.00/ 2.04 ( 0.00/ 2.04 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.244s       4  0.00/ 1.02 ( 0.00/ 1.02 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.252s       4  0.00/ 0.68 ( 0.00/ 0.68 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.268s       4 -0.17/ 1.95 (-0.17/ 1.95 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.319s       4 -0.34/ 6.62 (-0.34/ 6.62 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.354s       4 -0.25/ 4.76 (-0.25/ 4.75 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.378s       4 -0.17/ 3.40 (-0.17/ 3.39 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.410s       4 -0.51/ 4.50 (-0.51/ 4.50 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.418s       4 -0.17/ 1.02 (-0.17/ 1.02 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE    +2.547s       4 -0.93/10.70 (-0.93/10.69 unaccelerated)
 event5   GESTURE_SWIPE_END       +2.568s       4
...

the 3/4 in the 4th column means a 3/4 finger swipe.
Comment 3 Nate Graham 2022-06-15 16:42:10 UTC
These gestures only work in the Wayland session.
Comment 4 me 2022-06-15 17:36:24 UTC
(In reply to Nate Graham from comment #3)
> These gestures only work in the Wayland session.

maybe that fact should be added to the announcement. I just double checked but I could not find any reference to 'wayland only'.
Comment 5 johnathan 2022-06-15 18:23:15 UTC
nope. i tried in a wayland session and it did not work for me.  i tried to run libinput debug-events and do the gestures in both x11 and wayland session but i never got this result

event5   GESTURE_SWIPE_BEGIN     +0.502s       3
 event5   GESTURE_SWIPE_UPDATE    +0.502s       3  0.22/ 1.89 ( 0.57/ 4.86 unaccelerated)

like the other person who posted that. maybe it is a driver issue on my part?
Comment 6 Nate Graham 2022-06-15 18:25:58 UTC
Sounds like maybe your touchpad doesn't support 4-finger swipes.

Do 3-finger swipes to switch virtual desktops work for you on Wayland?
Comment 7 johnathan 2022-06-15 18:36:42 UTC
(In reply to Nate Graham from comment #6)
> Sounds like maybe your touchpad doesn't support 4-finger swipes.
> 
> Do 3-finger swipes to switch virtual desktops work for you on Wayland?

nope. nothing happens. it is a dell e7440 which i think has multitouch drivers on windows 

https://www.dell.com/support/home/en-in/drivers/driversdetails?driverid=y5y8f&oscode=wt32a&productcode=latitude-e7440-ultrabook

it says "Dell Multi-Touch Touchpad Driver" so i assume multi means more than 2? well 2 is also multi but i am not sure
Comment 8 Nate Graham 2022-06-15 18:40:06 UTC
Strange. Two-finger scrolling works though, right?

Is the "Slide" effect enabled in System Settings > Workspace Behavior > Desktop Effects?
Comment 9 johnathan 2022-06-15 18:50:01 UTC
(In reply to Nate Graham from comment #8)
> Strange. Two-finger scrolling works though, right?
> 
> Is the "Slide" effect enabled in System Settings > Workspace Behavior >
> Desktop Effects?

yes. 2 fingers is working and slide effect is also enabled
Comment 10 Nate Graham 2022-06-15 18:55:53 UTC
Not sure, then.
Comment 11 Zamundaaa 2022-06-15 20:47:47 UTC
Assuming the touchpad supports more than two touch points, this is definitely a driver problem. I'm not sure where this sort of thing would best be reported, but your distribution or libinput will be a good starting points
Comment 12 dofficialgman 2023-09-05 02:47:37 UTC
(In reply to Nate Graham from comment #3)
> These gestures only work in the Wayland session.

is there a real reason why that is the case? animation wise all of these seem to exist regardless of X11/Wayland. The ability to poll the touchscreen via libinput is also not dependent on X11/Wayland.

So why are these gestures wayland only features?