Bug 433114

Summary: Wobbly Windows's animation ends quicker than it should when dragging operation is released.
Product: [Plasma] kwin Reporter: Felipe Kinoshita <kinofhek>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED LATER    
Severity: normal CC: nate, postix
Priority: NOR    
Version First Reported In: 5.21.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: first i drag a window and stop pressing mouse1, second time i keep pressing mouse1 until the animaiton ends
can you spot the difference on this video?

Description Felipe Kinoshita 2021-02-17 20:40:17 UTC
Created attachment 135791 [details]
first i drag a window and stop pressing mouse1, second time i keep pressing mouse1 until the animaiton ends

Wobbly Windows's animation ends quicker than it should when dragging operation is released (e.g dragging window through the titlebar and release the click, the same happens when using Meta+Mouse1)

STEPS TO REPRODUCE
1. Enable Wobbly Windows effect
2. Move some window around and stop dragging it while window still wobblying 

OBSERVED RESULT
Wobbly animation ends and the dragged window falls in place in a weird way

EXPECTED RESULT
Wobbly animation should be smooth

Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Wobbly Window effect animation is smooth if you keep pressing mouse1 or meta+mouse1 until the window is totally dragged.
Comment 1 Vlad Zahorodnii 2021-02-18 06:57:40 UTC
It might be a regression in the time diff calculation.
Comment 2 Vlad Zahorodnii 2021-02-18 07:32:17 UTC
Based on the provided video, I can't see anything wrong with the transition from the animated state to the normal state.
Comment 3 Felipe Kinoshita 2021-02-18 08:35:05 UTC
Created attachment 135815 [details]
can you spot the difference on this video?

im really sorry about the last video quality, hopefully this one is better
Comment 4 Vlad Zahorodnii 2021-02-18 13:05:07 UTC
Sorry, but it's still not clear what the bug is. Both videos look good to me.
Comment 5 Felipe Kinoshita 2021-02-18 23:47:42 UTC
it's indeed pretty subtle, can you notice this on your machine?