Bug 433114 - Wobbly Windows's animation ends quicker than it should when dragging operation is released.
Summary: Wobbly Windows's animation ends quicker than it should when dragging operatio...
Status: RESOLVED LATER
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.21.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-17 20:40 UTC by Felipe Kinoshita
Modified: 2021-03-21 16:18 UTC (History)
2 users (show)

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


Attachments
first i drag a window and stop pressing mouse1, second time i keep pressing mouse1 until the animaiton ends (3.04 MB, video/x-matroska)
2021-02-17 20:40 UTC, Felipe Kinoshita
Details
can you spot the difference on this video? (3.65 MB, video/x-matroska)
2021-02-18 08:35 UTC, Felipe Kinoshita
Details

Note You need to log in before you can comment on or make changes to this bug.
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?