Bug 505384 - In overview effects it's possible to activate a window other than what you originally clicked while closing animation is still happening
Summary: In overview effects it's possible to activate a window other than what you or...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (other bugs)
Version First Reported In: 6.3.4
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: accessibility, usability
Depends on:
Blocks:
 
Reported: 2025-06-09 15:27 UTC by SDon
Modified: 2025-06-09 21:06 UTC (History)
1 user (show)

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


Attachments
App switching showcasing the bug (2.57 MB, video/x-matroska)
2025-06-09 15:27 UTC, SDon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SDon 2025-06-09 15:27:54 UTC
Created attachment 182122 [details]
App switching showcasing the bug

SUMMARY
When you select an application in the overview effect with a click, and then do another well timed click while the closing animation is still happening, you can activate a different window in case the mouse is in a good position for it (you can do this with accidental double clicks as well). It happens in "Large window previews" with Icons-only task manager as well.
If you lower the animation speed, you can reliable activate different windows while the animation is still ongoing, and it's more clear that you are actually clicking on other applications that are below the mouse pointer at that time.

STEPS TO REPRODUCE
1. Lower animation speed
2. Activate Overview effect
3. Click on an application
4. While the closing animation is happening, click on an other application

OBSERVED RESULT
Not the first selected app will be focused, but the last one that was click in the animation

EXPECTED RESULT
The first selected should be focused, since that was chosen

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-2-MANJARO (64-bit)
Graphics Platform: Wayland

Additionally, I checked with a different machine, and it happens in 6.3.4 as well, and also with the beta version (6.3.91), where I took the screencast

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-06-09 21:06:33 UTC
Can reproduce. We could probably disable the click handlers while the close animation is playing.