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

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/1725e224839b |ma/kwin/commit/21dbc3c973c2
                   |a5a703fa24299dbbd438bf63fd9 |deb2768789507e8b40a07b7ac8e
                   |4                           |0

--- Comment #8 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 21dbc3c973c2deb2768789507e8b40a07b7ac8e0 by Vlad Zahorodnii.
Committed on 15/06/2022 at 07:10.
Pushed by vladz into branch 'Plasma/5.25'.

effects/slide: Ensure that there's only one visibility ref per window

If a window is added and then the current virtual desktop changes, we
can encounter the following situation:

 * desktopChanged signal is emitted, and the slide effect starts
   animation. SlideEffect::prepareSwitching() will setup windows; note
   that the new window may be present in effects->stackingOrder()
 * windowAdded signal is emitted, and slide effect tries to ref the
   window again

In order to ensure that there's only one reference, maintain visibility
refs in a hashtable.


(cherry picked from commit 1725e224839ba5a703fa24299dbbd438bf63fd94)

M  +12   -3    src/effects/slide/slide.cpp
M  +6    -0    src/effects/slide/slide.h

https://invent.kde.org/plasma/kwin/commit/21dbc3c973c2deb2768789507e8b40a07b7ac8e0

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

Reply via email to