kotelnik / plasma-applet-weather-widget

Plasma 5 applet for displaying weather information from yr.no server.
GNU General Public License v2.0
88 stars 42 forks source link

Wrong icon since kf5.12 #4

Closed FedeDP closed 9 years ago

FedeDP commented 9 years ago

Hi! I just upgraded to kf5.12 and i noticed i have no icon (just a white square). Probably the bug was caused by: "KIconThemes Don't try to paint the icon if the size is invalid" (https://www.kde.org/announcements/kde-frameworks-5.12.0.php).

See screenshot: http://postimg.org/image/3liotophf/ .

kotelnik commented 9 years ago

Hello! Thanks for report. I just updated and I can see it, too. And it affects other widgets... It looks like there is a problem with loading in-plasmoid resources - e.g. loading font in path "plasmapackage:/path/to/font.ttf" is outputing to log that protocol plasmapackage is unknown. I don't know of any other way to load stuff inside plasma package so unfortunately I cannot do anything about it right now.

I filed a bug though so hopefully it will be explained/fixed soon. https://bugs.kde.org/show_bug.cgi?id=350101

Workaround for now is to install this font temporarily to personal fonts in Font Management in KDE: https://github.com/kotelnik/plasma-applet-weather-widget/blob/master/org.kde.weatherWidget/contents/fonts/weathericons-regular-webfont.ttf

kotelnik commented 9 years ago

OK sorry, I managed to fixed that in code although the bug is still relevant.

FedeDP commented 9 years ago

I see, thanks :)