https://bugs.kde.org/show_bug.cgi?id=520190
--- Comment #13 from [email protected] --- Just posting the full code snippet for clarity. In plasma-desktop/applets/taskmanager/qml/ToolTipInstance.qml Loader { id: pipeWireLoader anchors.fill: hoverHandler // Indent a little bit so that neither the thumbnail nor the drop // shadow can cover up the highlight anchors.margins: thumbnailLoader.anchors.margins active: Plasmoid.configuration.showToolTips && !toolTipDelegate.isLauncher && !albumArtImage.visible && KWindowSystem.isPlatformWayland && root.index !== -1 && Window.visibility !== Window.Hidden // hack 1 asynchronous: true //In a loader since we might not have PipeWire available yet (WITH_PIPEWIRE could be undefined in plasma-workspace/libtaskmanager/<declarative/taskmanagerplugin.cpp) source: "PipeWireThumbnail.qml" // hack 2 onActiveChanged: { if (!active && item) { item.visible = false } } } This code works for me but if I try to solve the flicker issue that this comes with it, it starts to leak again. Note: With the above code, it always seem to hold the last thumbnail preview in memory until you hover over something that doesn't have a thumbnail, so you might see a temporary "leak" but it should clear. -- You are receiving this mail because: You are watching all bug changes.
