Bug 478177 - Default touch gesture assignments should be methodical
Summary: Default touch gesture assignments should be methodical
Status: RESOLVED MOVED
Alias: None
Product: kwin
Classification: Plasma
Component: Gestures (show other bugs)
Version: 5.90.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-06 18:44 UTC by Jakob Petsovits
Modified: 2023-12-13 22:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakob Petsovits 2023-12-06 18:44:32 UTC
At the time of writing, virtual desktop (VD) switching gestures use 3 fingers. We support VD grids, so there are three-finger gestures allocated for up, down, left and right. Overview uses 4 fingers (up/down) because those were still available. Those seem to be the only ones enabled by default for Plasma 6, based on a quick test. 5 fingers seems to do the same as 4 fingers.

In my opinion, this assignment seems haphazard and will make it harder to add more sensible gestures later. Consider this forum post: https://discuss.kde.org/t/any-hopes-of-getting-windows-10s-three-finger-task-switching-gesture-implemented-in-plasma-6/7578

Sure we'll eventually have a way to configure gesture assignments, but we should also think about what makes sense for a roughly intuitive default behavior, so we don't have to change it drastically after Plasma 6.0 or be stuck with something suboptimal for continuity reasons.

It doesn't have to be my suggested logic, but either way we should have a mental model of "why is this functionality assigned to this gesture" (by default, at least).

Here's my rough suggestion:
* 2-finger gestures should be focused on doing stuff within an app (obviously we can't change this)
* 3-finger gestures should be focused on actions within the current VD
* 4-finger gestures should be focused on actions spanning different VDs (the most zoomed-out level of gestures)

By that logic, I'd like to suggest a change in default gesture assignments:
* VD switching to use 4-finger gestures (up, down, left, right)
* Overview to use 3-finger pinch (to open / zoom in) and spread (to close / zoom back out).
* 4-finger pinch/spread can go directly to the VD switcher view within Overview
* 3-finger up/down/left/right is not assigned by default, reserved for future gestures such as quick window switching

But really I'd be happy with anything that's backed by some kind of logic/methodology to make things easier to memorize.
Comment 1 Nate Graham 2023-12-13 14:52:02 UTC
I appreciate the time you've taken to write this up, but I think it would be better suited as an invent.kde.org discussion, as it's not really a bug or a feature request, but rather a fairly complex topic that requires discussion with many stakeholders (KWin developers, VDG people, etc). Would you be willing to close this and re-open it at https://invent.kde.org/plasma/kwin/-/issues/?
Comment 2 Jakob Petsovits 2023-12-13 22:29:03 UTC
(In reply to Nate Graham from comment #1)
> Would you be willing to close this and re-open it at
> https://invent.kde.org/plasma/kwin/-/issues/?

Done:  https://invent.kde.org/plasma/kwin/-/issues/188