k-donn / plasmoid-wunderground

A Plasma 5/6 widget for showing data from Wunderground PWS
https://store.kde.org/p/2135799
GNU General Public License v2.0
39 stars 15 forks source link

Looks like the icon is off center in the system tray #75

Open Elec3137 opened 1 week ago

Elec3137 commented 1 week ago

The icon appear very off center.

This was the case upon plasmoid installation, and does not change using the system icons option

image image

plasmashell 6.1.5 Latest packages on eOS Using sweet-ambar-blue KDE and kvantum theme Superficially switching to breeze-dark doesn't seem to change anything, however I am still suspicious there's something wrong with the theme (partially since plasmashell segfaults if I try to drag a widget with sweet-ambar-blue theme)

Screen is not scaled, changing scaling has no effect

k-donn commented 6 hours ago

Hello, thanks for using my widget and putting up with the delay!

@Elec3137 Is this in the system tray? If it is, then the problem is likely with how the widget hides the temperature in the system tray.

If this is not in the system tray, I will look through other parts of the widget to see if something else is wrong with the font/icon calculation.

I will work on replicating the issue as well!

Elec3137 commented 6 hours ago

Yes, it is in the system tray as mentioned in the title of the Issue. Thanks for responding!

k-donn commented 6 hours ago

Oh my goodness, the title flew right over my head. Sorry about that.

The issue is probably with how the widget calculates its size based on the temperature text and icon. More calculations will need to be done for this case. I'll work on testing some new rendering logic.