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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/2091cb060f98
                   |                            |36eb290f79941793916033d649c
                   |                            |5
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 2091cb060f9836eb290f79941793916033d649c5 by Vlad Zahorodnii.
Committed on 16/02/2022 at 15:42.
Pushed by vladz into branch 'master'.

effects/highlightwindow: Fix crash

If a window appears on the screen, the highlight window effect will try
to fast-forward animation to the target state by setting the animation
duration to 0. However, TimeLine doesn't like that because it will
eventually lead to division by zero.

This change makes the highlight window effect fast-forward the
transition to highlight or ghost state by using the complete() function.

M  +12   -14   src/effects/highlightwindow/highlightwindow.cpp
M  +2    -2    src/effects/highlightwindow/highlightwindow.h

https://invent.kde.org/plasma/kwin/commit/2091cb060f9836eb290f79941793916033d649c5

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

Reply via email to