Bug 454246

Summary: While in Present Windows effect, four-finger swipe up does not close it
Product: [Plasma] kwin Reporter: Mateus Melchiades <mateusbmelchiades>
Component: effects-present-windowsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dev.bacteriostat, ericedlund2017, mgs2804, nate, notmart, postix
Priority: NOR Keywords: usability
Version: 5.25.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.0
Sentry Crash Report:
Attachments: Visual representation of when a user might want to exit overview by swiping up

Description Mateus Melchiades 2022-05-23 01:08:17 UTC
Created attachment 149124 [details]
Visual representation of when a user might want to exit overview by swiping up

SUMMARY
The new 1:1 gestures in 5.25 beta are intuitive when launching overview and desktop grid, but they do not follow expected behaviour to exit these effects. For example, one would expect a four-finger swipe up when inside overview to exit the effect, as well as a four-finger swipe down from desktop grid to return to the desktop.


STEPS TO REPRODUCE
1. Open overview with four-finger swipe down
2. Try to exit the effect by four-finger swipe the opposite direction
3. Have desktop grid appear instead

SOFTWARE/OS VERSIONS
KDE Plasma: 5.24.90
Comment 1 Nate Graham 2022-05-24 14:45:50 UTC
Can confirm. Interestingly it works in the Desktop grid effect; swiping down with four fingers returns you to where yo were before, instead of opening the Present Windows effect.
Comment 2 Mateus Melchiades 2022-05-24 15:24:06 UTC
(In reply to Nate Graham from comment #1)
> Can confirm. Interestingly it works in the Desktop grid effect; swiping down
> with four fingers returns you to where yo were before, instead of opening
> the Present Windows effect.

Could be my work laptop’s terrible trackpad, but for me returning from Desktop grid is glitchy and eventually opens overview if I keep swiping down
Comment 3 Nate Graham 2022-05-24 15:25:32 UTC
Ah, I can reproduce that too. The activation threshold is much higher though. So I didn't notice it before unless I really keep swiping down a lot!
Comment 4 Eric Edlund 2022-05-24 15:31:13 UTC
Marco used some dark magic to make Desktopgrid close like this. I'm working on a contextual gestures framework in MR !2184 which is almost done. Expect this to be fixed in 5.26.
Comment 5 Nate Graham 2022-06-16 13:47:17 UTC
*** Bug 455225 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2022-06-17 21:55:33 UTC
With https://invent.kde.org/plasma/kwin/-/merge_requests/2530 in Plasma 5.25.1, a four-finger swipe up while in the effect now does nothing, but at least it doesn't open the Desktop Grid effect.
Comment 7 Nate Graham 2024-01-17 22:19:20 UTC
Effectively fixed in Plasma 6 by merging Present Windows with Overview and harmonizing their touch shortcuts so that doing the same shortcut again in the opposite direction closes it.