Bug 458949

Summary: [Desktop grid] effect cannot be activated until Slide effect's animation ends
Product: [Plasma] kwin Reporter: phd <phd>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: bastimeyer123, dashonwwIII, james, kde, nate
Priority: NOR Keywords: regression
Version First Reported In: 6.0.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=491869
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description phd 2022-09-10 10:26:07 UTC
SUMMARY
Desktop Grid effect cannot be activated with a global shortcut until Slide effect's animation ends.
Pressing the shortcut during that time does nothing.

This is a regression from Plasma 5.24, where you can invoke Desktop Grid effect even before the Slide effect's animation finishes.

However the opposite works fine:
Finishing the Desktop Grid effect zooms into the selected desktop, but before that animation finishes you can use a global shortcut to switch to another desktop and Slide animation will be shown.

STEPS TO REPRODUCE
0. Have "Desktop Grid" and "Slide" effects enabled
1. Switch desktop, so that the Slide animation begins
2. Immediately press the Desktop Grid effect's shortcut (Ctrl+F8 by default)

OBSERVED RESULT
Desktop Grid effect is not activated.

EXPECTED RESULT
Desktop Grid effect should be activated even before Slide effect's animation finishes.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.04
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.3
Comment 1 Vlad Zahorodnii 2022-09-14 11:49:34 UTC
I don't think it's a regression. Both the desktop grid and the slide effect are fullscreen effects, i.e. they are mutually exclusive. Perhaps it's a timing thing or something, we changed the mechanics of the slide animation so the slide animation may play a bit longer than it used to do.
Comment 2 bastimeyer123 2022-09-19 20:05:01 UTC
(In reply to Vlad Zahorodnii from comment #1)
> I don't think it's a regression.

I'm still running KWin built from d548f4bce4, aka. the parent commit of the desktop-grid's QML re-implementation, and the desktop grid could be opened while the slide animation was playing. No usability issues here at all...

Since the slide animation duration was (unnecessarily / irritatingly) increased when the spring-motion was implemented and since changing the global animation speed currently doesn't affect the spring motion (bug 450268), this makes the slide effect really annoying to use, as the user has to wait much much longer before they are able to toggle the grid, especially since the easing of the animation is terribly slow at the end.

The slide animation also always affects the switch-activities animation and can't be turned off by disabling the slide animation in favor of the fade animation, which means that switching activities while using the desktop grid has seen a major usability regression. This is not a rare use-case, taking a look at a specific virtual desktop via the desktop grid on another activity.
Comment 3 James North 2024-03-28 12:13:29 UTC
I've been experiencing this bug on Plasma 6.0.3. It's quite annoying, as the animation seems to last an extra second after the desktop has finished sliding, making it seem like the shortcut for the overview effect just doesn't work reliably.

Experienced on Arch Linux.
Comment 4 Zamundaaa 2025-01-10 02:55:20 UTC
*** Bug 498449 has been marked as a duplicate of this bug. ***