https://bugs.kde.org/show_bug.cgi?id=264276

--- Comment #4 from Vlad Zagorodniy <vladz...@gmail.com> ---
Git commit 66a91f086196f83f79dea35004aafba529b3cad9 by Vlad Zagorodniy.
Committed on 08/10/2018 at 11:14.
Pushed by vladz into branch 'master'.

[effects/slidingpopups] Fix jumpy transition between In and Out animations

Summary:
If a window is being slided in and for some reason it gets closed, the
window will be slided out. The problem is that there is a jump between
the slide in animation and the slide out animation.

The reason for that is we cancel the slide in animation when the slide
out animation is started.

It makes sense to cancel previously active animations because they have
different durations. But visually, it doesn't look good.

TimeLine tries to preserve progress value when changing duration. Thus,
let's utilize that to fix the jump.

This change matters only with animation speed factor > 1.0.

Test Plan: Manually.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: abetts, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D15626

M  +14   -2    effects/slidingpopups/slidingpopups.cpp

https://commits.kde.org/kwin/66a91f086196f83f79dea35004aafba529b3cad9

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to