Bug 490531

Summary: Window Aperture/Show Desktop/Peek at Desktop effect does not update animation duration in real-time
Product: [Plasma] kwin Reporter: Nate Graham <nate>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: 4wy78uwh, kde, postix
Priority: NOR    
Version: 6.1.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=490703
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nate Graham 2024-07-19 22:42:33 UTC
STEPS TO REPRODUCE
1. Open System Settings
2. Change animation duration to anything other than its current value
3. Hit Meta+D

OBSERVED RESULT
The effect triggers with the old duration.

EXPECTED RESULT
The effect triggers with the new duration

ADDITIONAL INFORMATION
Restarting KWin or the computer makes it pick up the new duration.
Comment 1 David Edmundson 2024-07-24 14:54:11 UTC
animationDuration gets cached. This either needs re-evaluating on settings change or simply remove the caching.