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

Akseli Lahtinen <akse...@akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libplasma/-/commit/1ffb0 |ma/libplasma/-/commit/832a3
                   |7ede4d305fcdb0a58b7713cc476 |1c49ba90ac060a0f3c57bf3b459
                   |666b58d1                    |d7df7f46

--- Comment #9 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit 832a31c49ba90ac060a0f3c57bf3b459d7df7f46 by Akseli Lahtinen.
Committed on 08/07/2024 at 12:28.
Pushed by akselmo into branch 'Plasma/6.1'.

containmentitem.cpp: Do not set dropJob parent to m_dropMenu

Setting the parent of dropJob to m_dropMenu here can cause crashes,
due to m_dropMenu not necessarily existing. For example in cases
where one drags an item from task manager that has no associated
desktop file, the m_dropMenu is deleted, which deletes the job during
async operation/running a method (line 423), which then causes crashing
because things end up in odd state.


(cherry picked from commit 1ffb07ede4d305fcdb0a58b7713cc476666b58d1)

7beed646 containmentitem.cpp: Do not set dropJob parent to m_dropMenu
22e27f1b Remove another job->setParent(m_dropMenu)

Co-authored-by: Akseli Lahtinen <akse...@akselmo.dev>

M  +0    -4    src/plasmaquick/plasmoid/containmentitem.cpp

https://invent.kde.org/plasma/libplasma/-/commit/832a31c49ba90ac060a0f3c57bf3b459d7df7f46

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

Reply via email to