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

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/203c4998bc |ma/kwin/-/commit/228ef989b4
                   |a5a949f05c495040ecce5e4a6d4 |264b9cbac029c00d399dfb9f4bd
                   |eeb                         |0c2

--- Comment #5 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 228ef989b4264b9cbac029c00d399dfb9f4bd0c2 by Vlad Zahorodnii, on
behalf of David Redondo.
Committed on 16/01/2024 at 14:34.
Pushed by vladz into branch 'Plasma/6.0'.

Make sure window thumbnails and Qt Quick resources  are destroyed properly

Drops the doneCurrent as it was preventing proper cleanUp
because no context was current when textures were deleted.
Also avoid manipulating the context when Qt has the current
one, as various Qt classes have guards around their cleanup
handlers which rely on a current Qt context.
Despite the comment the order of render control and view destruction
needs to be switched as the QQuickWindow destructor calls into
the render control to notify if of window destruction.
Related: bug 479846
FIXED-IN:6.0


(cherry picked from commit 203c4998bca5a949f05c495040ecce5e4a6d4eeb)

M  +1    -2    src/effect/offscreenquickview.cpp
M  +10   -10   src/scripting/windowthumbnailitem.cpp

https://invent.kde.org/plasma/kwin/-/commit/228ef989b4264b9cbac029c00d399dfb9f4bd0c2

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

Reply via email to