I posted this in "general" because I've noticed it affects both the xfce4-panel as well as other apps that use gtk (like gaim). The basic problem can be seen in this screenshot: http://www.theskyiscrape.com/scott/xfce4_panel.png First, you can see that the launchers and menu icons on the left appear small. Even worse though, some icons like the "show desktop" goodie (which is between the launchers and the taskbar and very hard to see..) and the speaker image of the "volume" goodie are extremely small. I can recall that the "x" for closing a tab in a chat window in gaim also has this problem... Reproducible: Always Steps to Reproduce: 1. startx ;) 2. 3. I'm running yoper with gtk2-2.4.14.
That's a problem with recent GTK+ (gtk 2.4 and later) that use a larger borderwith, leaving less room for the icon inside the button. Xfce GTK themes set smaller bw values so that the effect is less visible, but you are not using one of our themes...
The theme in the screenshot is xfce-dawn. I've also tried every theme on my computer (most are xfce) and they all yield the exact same results..
what happens when you change panel size, to somethng bigger and than back. Does it always use these big margins around the icon?
Yes, it always looks like that even if I switch. FWIW, here's what the panel looks at the other sizes: http://www.theskyiscrape.com/scott/xfce4_panel_med.png http://www.theskyiscrape.com/scott/xfce4_panel_large.png http://www.theskyiscrape.com/scott/xfce4_panel_huge.png At large and huge, it seems like it *might* actually look correct. Although it's hard for me to tell because I never run it at those sizes.
Hmm, I just had a thought. Perhaps it's related to PNG vs. SVG icons. Did you perhaps update gtk, but not librsvg?
two things: 1) the "large" and "huge" screenies you've provided look pretty much how my panel looks, though i'm not 100% sure. 2) try removing the taskbar plugin temporarily, and, to make sure, change the panel size to something else and then back. if the icon sizing looks right after that, then it's the taskbar plugin incorrectly calculating its height.
It looks like I have the latest librsvg # rpm -qa | grep librsvg librsvg-2.8.1-5 I just tried removing the taskbar plugin (and the systemtray plugin just in case) and every panel size looked just like the screenshots. What an annoying and persistent little problem..
I didn't hear of problems like this in a long time. Maybe I should close it as WORKSFORME?
I think this should work now.