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

Marco Martin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/89af48b4544ad2db1f2b7cb93
                   |                            |cb8d17d5dcba7f7
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Marco Martin <[email protected]> ---
Git commit 89af48b4544ad2db1f2b7cb93cb8d17d5dcba7f7 by Marco Martin.
Committed on 02/02/2026 at 14:49.
Pushed by mart into branch 'master'.

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

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/89af48b4544ad2db1f2b7cb93cb8d17d5dcba7f7

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

Reply via email to