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

Friedrich W. H. Kossebau <kosse...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/ark/commit/4c8546dcaf
                   |                            |9e2359822a368b8e5864c2db27d
                   |                            |2f2
             Status|CONFIRMED                   |RESOLVED

--- Comment #3 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
Git commit 4c8546dcaf9e2359822a368b8e5864c2db27d2f2 by Friedrich W. H.
Kossebau.
Committed on 26/11/2020 at 11:36.
Pushed by kossebau into branch 'master'.

Ark KPart: restore mismatch of componentname and plugin id

By history Ark stores the xmlgui ui.rc file for the part in the same
subdir as the program, ark/. And set the comppnent name as needed to "ark"
via the KAboutData instance for the KPart.
At the same time the plugin id has been "arkpart", as derived from the
library name due to the absence of an explicit X-KDE-PluginInfo-Name entry
in the desktop file.

With the change to the KPluginMetaData API of KParts/KPluginLoader and
the new entries added to the desltop file based on the KAboutData values,
that mismatch was resolved by accident. With "ark" now also the plugin id,
the look up the kpart by the program though now fails, due to the condition
    metaData.pluginId() == QLatin1String("arkpart")

M  +1    -1    part/ark_part.desktop.cmake
M  +10   -0    part/part.cpp
M  +5    -0    part/part.h

https://invent.kde.org/utilities/ark/commit/4c8546dcaf9e2359822a368b8e5864c2db27d2f2

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

Reply via email to