Bug 453993 - new desktopgrid opening/closing animation is jittering/unsmooth
Summary: new desktopgrid opening/closing animation is jittering/unsmooth
Status: RESOLVED DUPLICATE of bug 451590
Alias: None
Product: kwin
Classification: Plasma
Component: effects-desktop-grid (show other bugs)
Version: 5.24.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-05-18 15:56 UTC by bastimeyer123
Modified: 2022-06-17 18:54 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bastimeyer123 2022-05-18 15:56:06 UTC
Initial report: BUG 453943

SUMMARY
After the recent QML rewrite of the desktopgrid effect, the opening and closing animation has started jittering / has become unsmooth. This is especially noticable when no windows are open on any desktops, or when all windows are minimized.

The animation length is also not configurable anymore, which might be a problem for some people who'd like to have a more "snappy" feeling when toggling the grid compared to the system-wide animation duration.

See https://youtu.be/A0ydBC6tvUQ


STEPS TO REPRODUCE
1. set up a 3x3 grid
2. toggle desktopgrid via hotkey


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4


ADDITIONAL INFORMATION
- KWin built from 09ba8729fc12 (current master) using the modified PKGBUILD of the Arch repos
- kdecoration built from 4123ec8c1993 (current master) using the modified PKGBUILD of the Arch repos
- plasma-wayland-protocols built from 26fb07b9f8d3 (current master) using the modified PKGBUILD of the Arch repos
- the remaining dependencies were all from the official Arch repos
Comment 1 Nate Graham 2022-05-19 16:36:55 UTC
Cannot reproduce on Wayland. It's nice and smooth for me.

Does it help if you go to System Settings > Display and Monitor > Compositor and change the "Latency" combobox to "Prefer smoother animations" or "Force smoother animations"?

Also, is it better on Wayland?

> The animation length is also not configurable anymore
This is intentional: the effect now follows the systemwide animation duration setting, rather than having its own.
Comment 2 bastimeyer123 2022-05-19 21:14:08 UTC
This happens on both X11 and Wayland, and changing the compositor's latency/animation policy on both doesn't have any effects.

On Wayland, the animation is even slightly worse, because it's displaying the hidden panel for one frame when the animation starts. I haven't observed this on X11. Smoothness-wise, it's the same.

I'm using two 1920x1080@60 displays, with the right one as primary screen.
AMDGPU (RX 5700XT), mesa 22.0.3, in case that's relevant.
Comment 3 Nate Graham 2022-05-23 14:23:24 UTC
Thanks.

Cannot reproduce.
Comment 4 Sebastian Kuźlak 2022-05-27 04:42:36 UTC
confirm, x11, nvidia
Comment 5 Sebastian Kuźlak 2022-05-27 12:46:44 UTC
To make this bug appear you need to invoke desktop grid. move the window from one destktop to the other, close desktop grid and invoke it again.
Comment 6 Dashon 2022-06-16 22:18:58 UTC
I'm also having this problem on arch and an nvidia card. Just started happening with the update to 5.25 today. I'm using a desktop and not a laptop if that matters here.
Comment 7 Vlad Zahorodnii 2022-06-17 07:19:24 UTC
From what I can tell, it's less jittering and more bouncing at the start that makes the animation look rough.
Comment 8 Bug Janitor Service 2022-06-17 10:47:53 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2536
Comment 9 Nate Graham 2022-06-17 13:32:43 UTC
*** Bug 455422 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2022-06-17 18:54:09 UTC

*** This bug has been marked as a duplicate of bug 451590 ***