Bug 454231

Summary: 3-fingers touchpad gesture (to navigate between virtual desktops) doesn't follow touchpad scrolling direction preference
Product: kwin Reporter: Romain D. <rom1dep>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ericedlund2017, nate, postix
Priority: NOR    
Version: 5.24.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=185710
Latest Commit: Version Fixed In:

Description Romain D. 2022-05-22 18:38:30 UTC
It would be my expectation that the new navigation mode across virtual desktops, using 3 fingers scrolling gestures, would follow the user-defined scrolling direction.

1. My preferred scrolling direction is set (in systemsettings/input devices/touchpad/scrolling) to "non-inverted" (i.e. a two-finger scroll-down makes the items lower down visible.

When I use the 3 fingers scrolling gesture introduced in 5.25, the scrolling direction is opposite to the one set (i.e. a three-fingers scroll-down makes the desktop on the top visible)

I would expect scrolling direction to be consistent and to follow the one set by the user.

Linux/KDE Plasma: Fedora 36
(available in About System)
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3

Comment 1 Nate Graham 2022-05-23 20:18:13 UTC
Not sure that makes sense as this isn't a scroll action. It's a swipe action, and those don't generally follow the touchpad scrolling preference.
Comment 2 Romain D. 2022-05-23 20:50:25 UTC
Hi Nate, thanks for the swift triaging of this item!
Would you be so kind as to consider re-opening this bug?

I get that from an implementer's perspective it does matter whether something is "scrolled" as opposed to "swiped", but for an "average user" I doubt there is does (in fact, it should probably a feature goal to blur the lines and make them both behave as closely as possible).

In my opinion, having the swipe gesture respect the user-defined preference for scrolling direction maximizes satisfaction (by not picking a side in the "natural" vs "traditional" ways) and expectation (of a consistent experience between 2/3 fingers).

In any case, thanks for the hard work!
Comment 3 Nate Graham 2022-05-23 21:13:09 UTC
Thanks for explaining it to me that way. That makes sense.
Comment 4 Eric Edlund 2022-05-23 22:46:59 UTC
I agree that swipe direction when changing desktop should be configurable. Gesture configurability is on the way and doing this will be very simple and idiomatic when it does. Until then, making it align with scroll direction could be a good stepping stone, but I'm going to stay focused on gesture configurability. I would expect this feature in 5.26 or 5.27.