Bug 504106

Summary: Cycling between Present Windows (Window class) and All or Current Desktop makes some windows stuck
Product: [Plasma] kwin Reporter: postix <postix>
Component: effects-present-windowsAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: martin+kde
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot: 1 and 2 are expected, the others are stuck
screencast showing issue

Description postix 2025-05-12 16:39:06 UTC
Created attachment 181216 [details]
Screenshot: 1 and 2 are expected, the others are stuck

Have a 4x4 grid, windows on all desktops, press sequentially Ctrl+F7, Ctrl+F9 or Ctrl+F10 to cycle through the different versions of Present Windows.

Some windows stuck, please see the screenshot.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250509
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.5-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 Martin Bednar 2025-05-20 18:45:03 UTC
Created attachment 181581 [details]
screencast showing issue

STEPS TO REPRODUCE
1. Screen edges KCM: Configure top left corner to do "present windows - current desktop" , top right corner to "present windows - current application"
2. Open multiple windows of one application, and multiple other applications
3. focus on window of application with multiple windows
4. hit top right corner
5. without selecting a window, hit top left corner
6. without selecting a window, hit top right corner again.

Result: On step 6, Windows from other applications are put in seemingly random places, sometimes over application group.

Expected: Unsure. Maybe windows thumbnails from application that doesn't have focus should disappear?

Operating System: Gentoo 2.17
KDE Plasma Version: 6.3.90
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Comment 2 Martin Bednar 2025-05-31 16:25:24 UTC
Looks very linked to https://bugs.kde.org/show_bug.cgi?id=475090