Bug 491869

Summary: Attempting to open Overview in the middle of the desktop slide animation makes the shortcut unresponsive for one more input after animation has finished
Product: [Plasma] kwin Reporter: Maggie M. <magstheidiot>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: fanzhuyifan, nate
Priority: NOR    
Version First Reported In: git-stable-Plasma/6.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=458949
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video demonstrating the issue.

Description Maggie M. 2024-08-18 17:35:07 UTC
Created attachment 172734 [details]
Video demonstrating the issue.

SUMMARY
Attempting to open Overview in the middle of the desktop slide animation makes the shortcut unresponsive for one more input after the animation has finished

STEPS TO REPRODUCE
1. Switch desktop with Desktop Slide on
2. Attempt to open Overview via shortcut before the animation is done
3. After the animation finishes, try again, it does not work
4. Press the shortcut again -> it works as expected

OBSERVED RESULT
Shortcut is ignored after animation is finished, requiring one more press to open Overview

EXPECTED RESULT
Shortcut works after animation finishes

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.4-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 15.5 GiB of RAM
Comment 1 fanzhuyifan 2024-08-18 19:35:35 UTC
can reproduce.

Also for the shortcut "cycle through grid view and overview", using the reported sequence of inputs, the overview is opened instead of grid view.
Comment 2 Maggie M. 2024-08-21 11:32:36 UTC
Okay, I'm pretty sure I know what's happening now. The shortcut blocks Overview from opening, but somehow it's internally marked as open, which is why the "cycle through overview and grid view" effect opens the grid view instead of the overview. Pressing the shortcut again after that makes the overview "close" internally, which is why it does not open either. I may very well be wrong, but this is what I think is happening and there's nothing I can see that says otherwise.