snwh / paper-icon-theme

Paper Icon Theme
http://snwh.org/paper
Creative Commons Attribution Share Alike 4.0 International
1.57k stars 142 forks source link

xfce4-power-manager icon size #557

Open kitsunyan opened 7 years ago

kitsunyan commented 7 years ago

xfce4-power-manager uses 24x24 icons when button size is 30x30.

Example code:

gtk_image_set_from_icon_name (object, "battery-icon-symbolic", GTK_ICON_SIZE_BUTTON);
gtk_image_set_pixel_size (object, 24);

For some reason it loads 16x16 icons (pic 1) except the red icon for critical battery level, it's 24x24 (pic 2):

screenshot

I don't see the differences between these svg icon files which can cause this issue. It's possible this bug is related to GTK, not to your icon theme. Maybe you know anything about it?

I use GTK 3.22.

lamueno commented 7 years ago

I got the same problem here

2017-04-27 22-43-55

snwh commented 7 years ago

it's probably stretching one of the 16px symbolic icons

zezic commented 7 years ago

Same 2017-07-31-194305_3200x1800_scrot

zezic commented 7 years ago

Fastfix: https://github.com/zezic/paper-icon-theme-battery-fixer