Bug 455522 - WindowHeap-based effects don't play the virtual desktop switching animation/effect when activating a window on another virtual desktop
Summary: WindowHeap-based effects don't play the virtual desktop switching animation/e...
Status: CLOSED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 5.25.0
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-06-18 01:42 UTC by Maximilian Böhm
Modified: 2022-09-18 22:07 UTC (History)
3 users (show)

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


Attachments
Kwin Present Windows 5.25.5 - Missing fade-out animation (3.40 MB, video/x-matroska)
2022-09-17 16:56 UTC, Maximilian Böhm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Böhm 2022-06-18 01:42:34 UTC
The old Present Windows effect animated the switching to other workspaces if you select a window which is not on your current workspace. The new one just zooms up the window and brutally switches the desktop without any effect.

EXPECTED RESULT
It should animate the workspace switch with your chosen switching animation. This to say: If the Cube may finally come back – which I pray for every night to Cthulhu – it should use the Cube like the old Present Windows did, etc.

KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.14.4
Comment 1 Marco Martin 2022-09-15 09:11:16 UTC
the effect look different to the switching animation but doesn't have "visual bugs" you see windows from other desktops just fading away, which is a fine feedback desktop has changed.

It is not technically feasible to combine it with the sliding effect while the close animation is playing so can't be changed right now.
Comment 2 Maximilian Böhm 2022-09-15 12:58:35 UTC
This is a visual bug for sure: All other windows brutally disappear the moment the new desktop is fully activated (after the zoom in). They don’t fade away, they just brutally disappear. Or is this one of these bugs where the animation is ridiculously speed-up on 144 Hz?
Compare this with the old effect: https://youtu.be/d1isioNwgP4?t=38 (No additional desktop sliding selected in the Plasma 5.24 version there)
Comment 3 Maximilian Böhm 2022-09-15 19:43:01 UTC
I have tested it with a fresh session with 60 Hz too: The windows are just brutally disappearing on VD switches via Present Windows like with 144 Hz. See my comparison video link above. This is a visual bug.
Comment 4 Nate Graham 2022-09-15 20:54:22 UTC
Please don't re-open bug reports that developers have closed saying they didn't want to change. Being argumentative and re-stating your existing opinions has about a 0% chance of changing anything, I'm afraid.
Comment 5 Maximilian Böhm 2022-09-16 01:32:46 UTC
@Nate: Marco stated that there is no VD switching animation for technical reasons but said there was an effect of windows fading away at least.
I want to remind you personally at your former overhasty closing of 455521, ignoring all my detailed writing, even the video example, until someone submitted a patch and you did see my point after all. It’s the same situation again. No, windows of your current VD don’t fade away when you select a window of another VD in Present Windows, they have no animation whatsoever to them.
Comment 6 Nate Graham 2022-09-16 18:52:15 UTC
We can't play the virtual desktop switching animation for technical reasons (two effects can't be active at the same time), so what you originally requested can't be done. And Marco is right: there is a fade effect in the Present Windows effect when you switch to a window that's on another virtual desktop. I see it when I  click on a window on another desktop. Can you make a screen recording that shows it not happening for you?
Comment 7 Maximilian Böhm 2022-09-17 16:56:36 UTC
Created attachment 152165 [details]
Kwin Present Windows 5.25.5 - Missing fade-out animation

Shows you the missing fade-out animation of the windows on your current desktop when you switch to a window on another desktop via Present Windows. H.265, 60 fps.
Comment 8 Maximilian Böhm 2022-09-17 16:59:16 UTC
I will gladly provide this screencast. Tested on a vanilla config second user too. This is the state of things since the new Present Windows introduction in 5.25.0 for me and for long I have thought, this is such an obvious visual bug, they will probably fix it in the next bugfix release.
Plasma 5.25.5 on X.org. Frameworks 5.98.0, Qt 5.15.6, Arch Linux.
(*at →of, in my last reply)

Makes you wonder: Why is it impossible now out of a sudden to combine two effects when it was perfectly possible with the old implementation prior to Plasma 5.25 since the year 2008? 🤔
Comment 9 Nate Graham 2022-09-18 22:07:28 UTC
Thanks for the screen recording. So the lack of a fade animation when switching virtual desktops you see is indeed a bug and thankfully it's already been fixed for Plasma 5.26.