Bug 491869 - Attempting to open Overview in the middle of the desktop slide animation makes the shortcut unresponsive for one more input after animation has finished
Summary: Attempting to open Overview in the middle of the desktop slide animation make...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: git-stable-Plasma/6.1
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-18 17:35 UTC by Maggie M.
Modified: 2024-08-21 11:32 UTC (History)
2 users (show)

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


Attachments
Video demonstrating the issue. (2.18 MB, video/mp4)
2024-08-18 17:35 UTC, Maggie M.
Details

Note You need to log in before you can comment on or make changes to this bug.
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.