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

cwo <cwo....@posteo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libplasma/-/commit/0db46 |ma/libplasma/-/commit/21302
                   |b7c5cc3e429b293daa1d12036ce |cc897723992e964123d073641f7
                   |ddb90d79                    |ecc642ae

--- Comment #7 from cwo <cwo....@posteo.net> ---
Git commit 21302cc897723992e964123d073641f7ecc642ae by Christoph Wolk.
Committed on 16/05/2025 at 21:18.
Pushed by cwo into branch 'Plasma/6.4'.

plasma/pluginloader: actually use pluginName when loading plugins

loadApplet takes the plugin name either as an applet name or as a full
path, but KPluginMetaData only wants the actual name. So we save the
plugin name in pluginName, then ignore it and use the original argument
anyway. WidgetExplorer, when clicking the applet, sends the path, so all
Kpackage + plugin widgets added this way are considered qml-only plugins
and their applet code isn't started (unless they have a parent plugin,
as the rootpath metadata is the name, or Plasma is restarted and the
name is read from appletsrc).

Instead we actually use the variable we computed and everything works
again.


(cherry picked from commit 0db46b7c5cc3e429b293daa1d12036ceddb90d79)

Co-authored-by: Christoph Wolk <cwo....@posteo.net>

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

https://invent.kde.org/plasma/libplasma/-/commit/21302cc897723992e964123d073641f7ecc642ae

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

Reply via email to