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

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
            Version|                            |6.6.6
  Fixed/Implemented|                            |
                 In|                            |
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/6f8417e5412052e5f7b2afc7d
                   |                            |481d6699df94c75

--- Comment #16 from Nate Graham <[email protected]> ---
Git commit 6f8417e5412052e5f7b2afc7d481d6699df94c75 by Nate Graham.
Committed on 12/05/2026 at 15:47.
Pushed by ngraham into branch 'master'.

shellcorona: always use safe containment destruction order

We clean up the containments safely in unload(), by first deleting the
inner panels and desktop views, and then the outer containments.

But in the destructor, we delete the outer containments first, and let them
delete the inner ones at their leisure.

This is unsafe (per the comment in the safe teardown code); fix it by
unifying on the same teardown ordering in both places, and also first
set m_closingDown in the destructor to prevent
availableScreenRectChanged() from being inappropriately emitted during
destruction.

Adapt shellTest to cover this case.
FIXED-IN: 6.6.6

M  +6    -4    shell/autotests/shelltest.cpp
M  +19   -11   shell/shellcorona.cpp
M  +1    -0    shell/shellcorona.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/6f8417e5412052e5f7b2afc7d481d6699df94c75

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

Reply via email to