Summary: | icons of systemtray have huge gaps inbetween | ||
---|---|---|---|
Product: | [Plasma] kicker | Reporter: | Andreas Nuesslein <nuesslein.a> |
Component: | systemtray | Assignee: | Aaron J. Seigo <aseigo> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | dirk.pritsch, matteo-ml |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Before adding the "breaking" systray icon
After adding the "breaking" icon |
Description
Andreas Nuesslein
2004-07-24 04:40:50 UTC
Though I didn't play around with other systrays, I can at least confirm the gaps between the icons. With 7 icons my systray occupies more than half of my panel. This is on a Debian Sid system with KDE 3.2.92 installed from Debian/unstable. Ditto with SuSE 9.1's binaries for KDE 3.3 For an easy-to-replicate (for me, at least) example, try the system tray icon demo from https://jdic.dev.java.net/documentation/incubator/tray/index.html are some of these systray icons wider than others? e.g. while most systray icons tend to be 22x22, some may be much wider e.g. 22x44 ... previously the systray would simply cut these off at 22x22, but now it grants them enough space. unfortunately, it keeps all the columns equally wide. though once removed, the column widths should return to smaller widths. can anyone attach screenshots of this problem in action? thanks... Created attachment 7143 [details]
Before adding the "breaking" systray icon
What the systray looks like before adding the offending icon
Created attachment 7144 [details]
After adding the "breaking" icon
After adding the offending icon
It appears this might be a problem with the freedesktop.org system tray spec implementation. I've tried sizes of 8x8 to 24x24, all causing the same problems. And while the icon sizes change, the space it occupies remains the same (the left over space is just filled with a white background). On closer inspection you're right. I think it's unexpected behavior for some of us since systray didn't resize icons before, but I re-hacked the freedesktop systray implementation I was using the have XSizeHints of min_width by min_height to 22x22 and things size correctly. Looks like our implementations just need to be sure and fetch the size of the image icon and set or XSizeHints based on that instead of statically assigning them. I'd recommend closing the bug out (if the submitter agrees) as INVALID since the problem appears to be that everyone's app just needs to obey the correct conventions. "Looks like our implementations just need to be sure and fetch the size of the image icon and set or XSizeHints based on that instead of statically assigning them." Er... I'm not a native english speaker, so can someone explain this sentence to me? The implementation needs to be sure? "Set" what? I would like to understand where the problem is so I can fix my program accordingly. sorry .. i wasn't online for a long time. ehm.. yeah i dont really get what he said either - but i didnt get this bug in the 3.3 final anymore. so Matteo, i think u also should just install the new version (you probably did that already). Sorry, I still see this on 3.3 final. It is probably a problem on the side of other applications (not kde). But I would like to understand what should change in them. If you want an example, try using ed2k-gtk-gui with systray icon. Anyway, you did well to close this bug, since it's not a kde problem. i didn't get the bug anymore eventhough i was using ed2k too. right now i'm using mdk10.1rc1 (Which has kde3.2.3) and i dont really want to recompile 3.3 since it's a huge procedure and i'm going to reinstall mdk10.1 final anyway! so i wont retry 3.3 until mandrake has it's final10.1. so if i get the bug again when i'm installing 3.3. i'll tell ya. sorry i cant help ya right now. i just can tell ya that it worked for me even i used ed2k too Am Freitag, 10. September 2004 18:57 schrieb Matteo Settenvini: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=85833 > > > > > ------- Additional Comments From msettenvini tin it 2004-09-10 18:57 > ------- Sorry, I still see this on 3.3 final. It is probably a problem on > the side of other applications (not kde). But I would like to understand > what should change in them. > > If you want an example, try using ed2k-gtk-gui with systray icon. > Anyway, you did well to close this bug, since it's not a kde problem. Im having this bug in Slackware 10.1, and it only happens when I open KBear pics are at http://www.linuxforums.org/forum/topic-35979.html Zach: that's a known bug in kbear. not a kicker thing. |