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

--- Comment #10 from Mark Capella <[email protected]> ---
So finding this:
   
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/components/shellprivate/plasmaappletitemmodel.cpp?ref_type=heads#L62-67

It seems I can already specify a custom icon in my metadata.json file as:
   "Icon" : "/lightstrands.png",

And my whimsical icon "lightstrands.png" will be located in my /contents/
folder &
used to populate the WidgetsExplorer panel nicely  :-)

There is one oddity I noticed. The results of 
   iconName = pkg.filePath("", pkg.metadata().iconName());

is returned in my case as:
  
/home/mark/.local/share/plasma/plasmoids/inc.skyrmion.lightstrands/contents///lightstrands.png

with an odd "///" bit that seems ignored at runtime. This is caused here:
  
https://invent.kde.org/frameworks/kpackage/-/blob/master/src/kpackage/package.cpp?ref_type=heads#L345-347

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

Reply via email to