Bug 252573 - standalone (plasmoid?) systray only works with active systray in the control bar
Summary: standalone (plasmoid?) systray only works with active systray in the control bar
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 19:06 UTC by grafgrimm77
Modified: 2010-12-14 18:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
How it looks (17.38 KB, image/png)
2010-09-29 23:23 UTC, Vasyl Demin
Details
it looks bad (55.52 KB, image/png)
2010-09-30 11:09 UTC, grafgrimm77
Details
systemtray of kde 4.5.3 (5.46 KB, image/png)
2010-11-06 14:43 UTC, grafgrimm77
Details
systray kde 4.5.4 gentoo (118.37 KB, image/png)
2010-12-11 10:42 UTC, grafgrimm77
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grafgrimm77 2010-09-27 19:06:26 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

I try to use a kde desktop only with plasmoids and no control bar any more. 
I noticed that the plasmoid ksystray do not show the icons correctly. When i add the standard contol bar to the desktop, the plasmoid system tray shows the icons immediately. 
Perhaps my words for the elements are wrong, because I use the german version of kde 4.5.1 and I do not know the real english programm names. Beside: Why do you translate it? Nobody would translate the programm name "Word" ?!?!

Reproducible: Always

Steps to Reproduce:
1. add the mini programm ksystray (a plasmoid?!)
2. remove the control bar

Actual Results:  
the icons in the standalone systray are not correct. most are missing or there is a white placeholder. 

Expected Results:  
the icons in the standalone plasmoid systay (the miniprogramm) should be displayed correctly. 

Oxygen, design: Air for Notebooks
Comment 1 Aaron J. Seigo 2010-09-27 20:53:28 UTC
can you provide a list of the applications whose icons are missing? (usually they still accept mouse clicks :)
Comment 2 grafgrimm77 2010-09-27 21:17:25 UTC
KMix
KRandR
Pidgin (gtk, but it does not matter if i use gtk-apps or not)
KVIrc

So these apps are in my sys tray. Icons are not there, but yes, when I click on the area where the icon sould be, KMix opens. for example...
Comment 3 Vasyl Demin 2010-09-29 23:21:09 UTC
Same problem here.

Arch Linux x86_64
kde: 4.5.1
plasma theme: Tibanna
icon set: Oxygen

"Native" KDE icons are visible: kmix, klipper, keyboard layout, amarok (2.3.2), notification, devices. 
All other icons are invisible. In my case is psi, wicd, dropbox.

Another annoying bug is that standalone systray stretched vertically and it doesn't change.

Systray displays correctly when placed on the panel.
Comment 4 Vasyl Demin 2010-09-29 23:23:05 UTC
Created attachment 52092 [details]
How it looks

Standalone systray with invisible icons
Comment 5 grafgrimm77 2010-09-30 11:09:41 UTC
Created attachment 52108 [details]
it looks bad
Comment 6 grafgrimm77 2010-11-06 14:42:24 UTC
same problem with kde 4.5.3

:-(
Comment 7 grafgrimm77 2010-11-06 14:43:43 UTC
Created attachment 53195 [details]
systemtray of kde 4.5.3
Comment 8 Aaron J. Seigo 2010-11-07 19:30:40 UTC
this is working properly in trunk with one exception: hidden icons are not showing properly still when a system tray is first created. on restart of plasma-desktop it works properly, and this is independent of whether it is put onto the desktop or a panel.
Comment 9 Aaron J. Seigo 2010-11-07 20:30:24 UTC
SVN commit 1193976 by aseigo:

make icons for the same entry after the first one be initialized properly (icons, status, etc)
BUG:252573


 M  +1 -3      dbussystemtrayprotocol.cpp  
 M  +36 -11    dbussystemtraytask.cpp  
 M  +4 -1      dbussystemtraytask.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1193976
Comment 10 grafgrimm77 2010-12-09 14:07:23 UTC
I just installed kde 4.5.4 on my Gentoo Linux. 

Icons are still not there in the plasmoid systray area. 

This little bug should be solved in 5 Minutes - Is no rocket science! 
What are you doing there? 

I hope you understood, that the bug only appers, when the old contol bar is removed?!

Fixed - LOL
Comment 11 grafgrimm77 2010-12-11 10:42:32 UTC
Created attachment 54418 [details]
systray kde 4.5.4 gentoo

how it looks like on kde 4.5.4
Comment 12 grafgrimm77 2010-12-14 18:43:18 UTC
Which event must be triggered to make initialize the Buffer of the Icons (or whatever - I do not know the programm details - perhaps pixbuf ?!). 

Curious behaviour: 
When I Drag&Drop a png-File from a dolphin-Window to the Home-Folder-Plasmoid and say "copy here" and than "abort", all Icons in my systray-Plasmoid are visible! :-)  VERY NICE. 

So It seems that there is an event which is triggerd when doing this Drag&Drop. Perhaps I can do that manually when starting KDE in my ~/.kde4/env/autostart.sh script. 

Please help! 
Greetings and thank you.