! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Systray icons don't resize when on a vertical panel
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Notification Area

Comments

Description Henk Boom 2007-05-13 16:29:21 CEST
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).
Comment 1 Henk Boom 2007-05-13 16:31:04 CEST
Created attachment 1137 
systray_before.png
Comment 2 Henk Boom 2007-05-13 16:31:52 CEST
Comment on attachment 1137 
systray_before.png

Vertical systray after loading x-chat, sonata, deluge, and gaim
Comment 3 Henk Boom 2007-05-13 16:33:18 CEST
Created attachment 1138 
systray_after.png

Systray after toggling orientation to horizontal and back.
Comment 4 Henk Boom 2007-05-13 16:34:02 CEST
Created attachment 1139 
systray_big1.png

Systray moved to a large horizontal panel
Comment 5 Henk Boom 2007-05-13 16:34:54 CEST
Created attachment 1140 
systray_big2.png

Systray moved back to the vertical panel from the big horizontal panel
Comment 6 Jasper Huijsmans editbugs 2007-05-17 18:09:41 CEST
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 :(

Comment 7 Henk Boom 2007-08-27 17:37:06 CEST
So what should be done to get this fixed? Should this be brought to the attention of some GTK folk?
Comment 8 Nick Schermer editbugs 2007-08-27 20:07:29 CEST
I'll fix this, we just need to request a redraw of the socket.
Comment 9 Nick Schermer editbugs 2007-09-02 11:57:08 CEST
Should be fixed in trunk. Please re-open if you still have problems.
Comment 10 Jarno Suni 2008-10-04 12:18:33 CEST
(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?
Comment 11 Jarno Suni 2008-10-04 12:20:06 CEST
(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?

Bug #3233

Reported by:
Henk Boom
Reported on: 2007-05-13
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
Unspecified

Attachments

systray_before.png (7.65 KB, image/png)
2007-05-13 16:31 CEST , Henk Boom
no flags
systray_after.png (7.65 KB, image/png)
2007-05-13 16:33 CEST , Henk Boom
no flags
systray_big1.png (6.32 KB, image/png)
2007-05-13 16:34 CEST , Henk Boom
no flags
systray_big2.png (11.55 KB, image/png)
2007-05-13 16:34 CEST , Henk Boom
no flags

Additional information