Every plasmoid's metadata.desktop file contains key-value pair "Icon=...". I am unable to specify a path to an in-plasmoid image or svg. It is only possible to specify theme specific image or absolute path to an image. E.g. none of these work: Icon=/icon.png Icon=icon.png Icon=YES #which should (or used to) load icon.png Icon=plasmapackage:/icon.png I don't know of any other possibilities. Is it even possible in plasma 5? Reproducible: Always Steps to Reproduce: 1. Extract attached org.kde.weatherWidgetTest.zip archive to ~/.local/share/plasma/plasmoids 2. Copy ~/.local/share/plasma/plasmoids/org.kde.weatherWidgetTest/metadata.desktop to ~/.local/share/kservices5 3. Click "Add Widgets..." on panel and look for "Weather Widget Test" Actual Results: It has no icon. Expected Results: There should be a way to set the icon to be an in-plasmoid one (other then using absolute path: /home/user/.local/share/plasma/plasmoids/org.kde.weatherWidgetTest/weather-widget.svg) I've got Plasma 5.4.1 and KF 5.13. Originally this was a question in forums: https://forum.kde.org/viewtopic.php?f=289&t=127363#p338425
Created attachment 94639 [details] Minimal plasmoid for icon testing
Hi, I experience the same problems, the custom icon is not shown. I tried the give the path with and without /, relative, icon.png with YES, nothing helped. Is there a defined way to get it working. Martin, did you succeeded in the meanwhile somehow?
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Hi, It looks like it was fixed sometime in the past 6 years :) If I place the icon in the plasmoid/contents and use /icon.png, it works.