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

Marco Martin <[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/89af48b4544ad2db1f2b7cb93 |t/82a69b3dfb7d38794b8c023f3
                   |cb8d17d5dcba7f7             |f9e7954b32266db

--- Comment #4 from Marco Martin <[email protected]> ---
Git commit 82a69b3dfb7d38794b8c023f3f9e7954b32266db by Marco Martin.
Committed on 02/02/2026 at 14:50.
Pushed by mart into branch 'Plasma/6.6'.

Scripting: don't crash when trying to create invalid panels

ScriptEngine::createContainment will return nullptr and will *not*
create the containment when a non existent plugin is passed.
therefore createContainmentWrapper need to be guarded for it, or
scripts can crash plasmashell

To test it, try to create a panel layout with the template attached on bug
515385


(cherry picked from commit 89af48b4544ad2db1f2b7cb93cb8d17d5dcba7f7)

75ab6cdc Scripting: don't crash when trying to create invalid panels

Co-authored-by: Marco Martin <[email protected]>

M  +4    -0    shell/scripting/scriptengine.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/82a69b3dfb7d38794b8c023f3f9e7954b32266db

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

Reply via email to