When I launch applications with systray icons while my systray is in a vertical panel, the icons don't come up with the proper size, but with some default size (sometimes even 1x1) instead (see systray_before.png, which shows x-chat, sonata, deluge, and gaim in that order). If I change the panel orientation to horizontal, the icons resize to a more appropriate size, and they keep it when I make the panel vertical again (see systray_after.png with the same application order). Furthermore, if I move the system tray to a larger horizontal panel (see systray_big1.png) and then move them back, they keep the size they had in the larger panel instead of shrinking to the regular size again (see systray_big2.png).
Created attachment 1137 systray_before.png
Comment on attachment 1137 systray_before.png Vertical systray after loading x-chat, sonata, deluge, and gaim
Created attachment 1138 systray_after.png Systray after toggling orientation to horizontal and back.
Created attachment 1139 systray_big1.png Systray moved to a large horizontal panel
Created attachment 1140 systray_big2.png Systray moved back to the vertical panel from the big horizontal panel
I looked at our systray sources, and it seems we don't set any size on the icons, only on the container around them. So, there is no difference between horizontal and vertical mode in this regard. We used to force the icon size, but that leads to cut-off icons, so I'm not sure what to do here. I'm afraid the problem may be in the size negotiation in the XEMBED protocol which is burried somewhere deep inside gtk :(
So what should be done to get this fixed? Should this be brought to the attention of some GTK folk?
I'll fix this, we just need to request a redraw of the socket.
Should be fixed in trunk. Please re-open if you still have problems.
(In reply to comment #3) > Created an attachment (id=1138) [details] > systray_after.png > > Systray after toggling orientation to horizontal and back. It seems identical as systray_before.png to me. Are you sure it is the right image?
(In reply to comment #9) > Should be fixed in trunk. Please re-open if you still have problems. Why do some icons behave better than others? In which Xfce release version the bug will be fixed?