Bug 256469

Summary: Animate moving windows between desktops with keyboard and slide
Product: [Plasma] kwin Reporter: Todd <toddrme2178>
Component: effects-window-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: vlad.zahorodnii
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Todd 2010-11-09 20:49:00 UTC
Version:           unspecified (using KDE 4.5.3) 
OS:                Linux

When you use a keyboard shortcut to move windows between desktops with the slide effect enabled, the desktop changes and the window just appears on the other desktop about halfway through the animation.  So the window slides off the desktop for about half the animation then slides back on for the other half.  I think it would be better if the window stayed stationary and the desktop slid underneath it, so it was like you were grabbing the window and dragging it with you while you moved desktops.

Better yet, it shrink a little bit (to make it seem as though it were rising off the screen), then the desktop could slide underneath of it, then it would return to its original size (so it seems as though it were settling back down).  This would also allow you to see the desktop moving for maximized windows, since the desktop would become visible around the edges of the window.

Reproducible: Always
Comment 1 Vlad Zahorodnii 2018-06-01 08:10:08 UTC
(In reply to Todd from comment #0)
> Version:           unspecified (using KDE 4.5.3) 
> OS:                Linux
> 
> When you use a keyboard shortcut to move windows between desktops with the
> slide effect enabled, the desktop changes and the window just appears on the
> other desktop about halfway through the animation.  So the window slides off
> the desktop for about half the animation then slides back on for the other
> half.  I think it would be better if the window stayed stationary and the
> desktop slid underneath it, so it was like you were grabbing the window and
> dragging it with you while you moved desktops.

Already implemented: https://phabricator.kde.org/D9487
FWIW, "the new" slide effect doesn't have such problems.

> Better yet, it shrink a little bit (to make it seem as though it were rising
> off the screen), then the desktop could slide underneath of it, then it
> would return to its original size (so it seems as though it were settling
> back down).  This would also allow you to see the desktop moving for
> maximized windows, since the desktop would become visible around the edges
> of the window.

I'd tried implementing such thing. For technical reasons, that's a little bit
challenging to get this kind of animation right. https://phabricator.kde.org/D9638#185606