Bug 477469

Summary: Workspace bounds are not limited correctly for 3-finger swipe.
Product: [Plasma] kwin Reporter: Quinten Kock <quinten>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.27.9   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Quinten Kock 2023-11-24 15:10:30 UTC
SUMMARY
It is possible to swipe out of bounds using 3-finger swipe to switch between workspaces.

STEPS TO REPRODUCE
0. Disable "navigation wraps around" for virtual desktops.
1. Create n workspaces
2. Remove the nth one
3. Use 3-finger swipe to go beyond the n-1th one, onto the now-removed n.

OBSERVED RESULT
Swipes beyond the last workspace into 'the void'

EXPECTED RESULT
Cannot swipe just like you cannot swipe to the desktop left of desktop 1.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Comment 1 Quinten Kock 2025-03-11 15:11:12 UTC
Seems this bug has stopped occuring.