Bug 452215

Summary: Touching edge of screen can focus windows behind a fullscreen application
Product: [Plasma] kwin Reporter: Ash <ash>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: NEEDSINFO WAITINGFORINFO    
Severity: minor CC: kde, nate
Priority: NOR    
Version: 5.24.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Video showing touch and effect

Description Ash 2022-04-03 07:06:38 UTC
SUMMARY
Touching the very edge of a touchscreen device can bring forward windows that are behind other, fullscreen windows, and are partially offscreen.

STEPS TO REPRODUCE
1. Open any application and move it so the window is partially offscreen.
2. Open a fullscreen-capable application (e.g. Firefox) and enter fullscreen (F11).
3. Touch the very edge of the screen, where your windowed application is overlapping it.

OBSERVED RESULT
The windowed application is focused.

EXPECTED RESULT
No applications switch focus and the fullscreen application responds to the touch.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 35
(available in About System)
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Tested on Wayland session with a HiDPI screen (2240x1400@150%)
Comment 1 Ash 2022-04-03 07:07:33 UTC
Created attachment 147924 [details]
Video showing touch and effect
Comment 2 Nate Graham 2022-04-04 21:21:04 UTC
Can reproduce. We're both on Wayland. This often happens for me when triggering an edge swipe.
Comment 3 Vlad Zahorodnii 2024-06-12 10:20:23 UTC
I seem to be unable to reproduce it. Is it reproducible with other scale factors? also can you check whether the issue is still reproducible in plasma 6?

(please reset the bug report status back to REPORTED after providing the requested information)