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

Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/plasma-framework/com
                   |                            |mit/a4bd3879780a02ff653f273
                   |                            |a4235e247108729ca
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit a4bd3879780a02ff653f273a4235e247108729ca by Arjen Hiemstra.
Committed on 16/01/2023 at 16:00.
Pushed by ngraham into branch 'master'.

iconitem: Adjust fade animation to not flicker as much

As it turns out, mix(old texture, new texture, animation value) does
actually result in a different visual from simply blending the two
textures on top of each other, because the old texture first gets
blended with the underlying color. This results in some of the
underlying color bleeding through, which can cause flickering if the two
textures are almost the same. To avoid this, change the animation
slightly so that rather than crossfading, we first fade in the new
texture then fade out the old texture. This doesn't cause a whole lot of
visual difference for two completely different textures, but removes the
flickering when they are very similar.
Related: bug 463061

M  +6    -2    src/declarativeimports/core/iconitem.cpp

https://invent.kde.org/frameworks/plasma-framework/commit/a4bd3879780a02ff653f273a4235e247108729ca

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

Reply via email to