Bug 460678 - Animation speed affects window resize speed
Summary: Animation speed affects window resize speed
Status: RESOLVED DUPLICATE of bug 463879
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 5.26.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-18 19:07 UTC by Sandro
Modified: 2023-01-11 21:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Resizing windows with different animation speeds (2.08 MB, video/mp4)
2022-10-18 19:07 UTC, Sandro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro 2022-10-18 19:07:02 UTC
Created attachment 153011 [details]
Resizing windows with different animation speeds

SUMMARY
The speed of resizing a window seems to be affected by the animation speed set in system settings. When the animation speed is slower than instant, this makes resizing windows feel laggy in my opinion. This gets more apparent when disabling translucency in the desktop effects. I'm not entirely sure whether this is a bug or expected behavior.


STEPS TO REPRODUCE
1. Set animation speed in system settings to instant
2. Resize a window
3. Set animation speed to medium
4. Resize a window, observe window resize effect lagging behind mouse cursor

OBSERVED RESULT
Window size updates slower when the animation speed is not set to instant.

EXPECTED RESULT
Expected window to update instantly, no matter which animation speed is set.

In case this is expected behavior, is there any way to set animation speed of specific animations in kwin, so that I could make the windows resize instantly without setting instant animation speed for all animations?

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.2-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2
Comment 1 Sandro 2022-10-26 22:28:00 UTC
Just tested and this affects X11 only, under Wayland this does not happen at all.
Comment 2 Vlad Zahorodnii 2023-01-06 10:33:23 UTC
I'm confused by this bug report. Animation speed has no influence over resizing speed in kwin.
Comment 3 Sandro 2023-01-06 15:05:55 UTC
(In reply to Vlad Zahorodnii from comment #2)
> I'm confused by this bug report. Animation speed has no influence over
> resizing speed in kwin.

What I'm trying to say is, when resizing a window on X11 with an animation speed slower than instant, the window geometry lags behind the mouse pointer. I'm not saying that animation speed directly affects window resize speed, I simply wasn't sure. Did you take a look at the video I uploaded with the report? I think it's more obvious there.
Comment 4 Sandro 2023-01-11 21:48:45 UTC

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