https://bugs.kde.org/show_bug.cgi?id=488592
Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/libplasma/-/commit/e1a4c
                   |                            |ce1fde6b8d245c12c43094e85d8
                   |                            |a61b3dbf
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit e1a4cce1fde6b8d245c12c43094e85d8a61b3dbf by Arjen Hiemstra.
Committed on 25/06/2024 at 10:36.
Pushed by ahiemstra into branch 'master'.

plasma/pluginloader: Repair loading plasmoid plugins on add from explorer

In some cases, PluginLoader::loadApplet can be passed a path instead of
a plugin name. 70fea2c4b0ac026a769d02532eed6c6f749b6d9c removed the
local metadata cache but also removed the logic to turn a path into a
plugin name. Restore the plugin name handling so we can load the right
plugin again when an applet gets added from the Widget Explorer.

Ultimately this restores behaviour that I am unsure is correct, I think
it would be better if either the function only accepted Plasmoid names
and the relevant calling code was changed, or we use the KPackage
metadata to get the plugin to load somehow.

M  +5    -1    src/plasma/pluginloader.cpp

https://invent.kde.org/plasma/libplasma/-/commit/e1a4cce1fde6b8d245c12c43094e85d8a61b3dbf

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

Reply via email to