https://bugs.kde.org/show_bug.cgi?id=509896
Bug ID: 509896
Summary: Allow Icons embedded in plasmoids to display correctly
in AboutPlugin config page
Classification: Plasma
Product: plasmashell
Version First master
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
User widgets / plasmoids can contain a custom icon in their contents/ folder by
specifying in their etadata.json file with a leading "/" such as:
"Icon" : "/lightstrands.png",
(see also https://bugs.kde.org/show_bug.cgi?id=507678)
However, this fails to display properly in configuration with the default
AboutPlugin.qml file.
I'd like to fix this.
I'd like to update the method:
https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/src/lib/plugin/kpluginmetadata.cpp?ref_type=heads#L373-377
To include logic from the previous bug:
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/components/shellprivate/plasmaappletitemmodel.cpp?ref_type=heads#L62-67
1) In general, does this seem reasonable?
2) In particular, I'd need to include <KPackage/PackageLoader> in kcoreaddons.
I've
tried that, but my build fails:
/home/mark/kde/src/kcoreaddons/src/lib/plugin/kpluginmetadata.cpp:16:10: fatal
error: KPackage/PackageLoader: No such file or directory
16 | #include <KPackage/PackageLoader>
Do I need to update the CMakeLists.txt file to support this? I'd need
some very specific help here :-/
--
You are receiving this mail because:
You are watching all bug changes.