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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/94b74cff96 |ma/kwin/-/commit/1c447b7cee
                   |0566d42813ecf4847637c2283a6 |950e99761763c80c15e6e862b40
                   |fac                         |b4b

--- Comment #4 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 1c447b7cee950e99761763c80c15e6e862b40b4b by Vlad Zahorodnii, on
behalf of Quinten Kock.
Committed on 16/10/2023 at 19:07.
Pushed by vladz into branch 'Plasma/5.27'.

plugins/slide: add special case for instant animations 

In springmotion.cpp for the slide plugin, there are issues when
animations are disabled, namely a black screen flicker.

The flicker is caused by float under/overflow (div-by-0 -> infinity).

This commit fixes that by special-casing an infinite spring constant,
so that the animation immediately jumps to the anchor.


(cherry picked from commit 94b74cff960566d42813ecf4847637c2283a6fac)

M  +10   -0    src/effects/slide/springmotion.cpp

https://invent.kde.org/plasma/kwin/-/commit/1c447b7cee950e99761763c80c15e6e862b40b4b

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

Reply via email to