https://bugs.kde.org/show_bug.cgi?id=516937
Nate Graham <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi |t/7308d3153f5e9ee8607f89005 |t/8b4500d7acc699ec72bbac4ae |aa05c2fd4f07dd6 |ed30db3e168a76d --- Comment #10 from Nate Graham <[email protected]> --- Git commit 8b4500d7acc699ec72bbac4aeed30db3e168a76d by Nate Graham, on behalf of Dobry Nikolov. Committed on 03/03/2026 at 20:04. Pushed by ngraham into branch 'Plasma/6.6'. shellcorona: use QPointer for m_waitingPanels to futureproof against dangling pointers Change m_waitingPanels to QList<QPointer<Plasma::Containment>> so that any freed containment pointer auto-nulls in place rather than dangling. - createWaitingPanels(): call removeAll(nullptr) at entry to discard any auto-nulled entries before iterating. - checkAllDesktopsUiReady(): same removeAll(nullptr) before isEmpty() to avoid spuriously starting the timer for nulled entries. - panelContainmentDestroyed(): the m_waitingPanels branch is now redundant since QPointer auto-nulls it; guard on m_panelViews instead to keep the PanelView cleanup path intact. - isScreenUiReady(): null-check each QPointer before dereferencing. (cherry picked from commit 7308d3153f5e9ee8607f89005aa05c2fd4f07dd6) M +7 -6 shell/shellcorona.cpp M +1 -1 shell/shellcorona.h https://invent.kde.org/plasma/plasma-workspace/-/commit/8b4500d7acc699ec72bbac4aeed30db3e168a76d -- You are receiving this mail because: You are watching all bug changes.
