Bug 300005

Summary: empty entires in systray after plasma-desktop crash
Product: [Unmaintained] plasma4 Reporter: masterdany88
Component: widget-systemtrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: major CC: dg, nick, ntropia
Priority: NOR    
Version: 4.8.90 (beta2)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
URL: http://www.flickr.com/photos/69767255@N06/7196052380/
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description masterdany88 2012-05-14 14:23:29 UTC
Every time my plasma-desktop crash the new plasma-desktop instance show up. But in systray I got every time more and more empty entries- no icon, no text. 
so systray consume whole my panel with these entries.

Reproducible: Always

Steps to Reproduce:
1.crash plasma-desktop
2.run again plasma-desktop
3.
Actual Results:  
systray consume whole my panel with these empty entries.

Expected Results:  
I got every time more and more empty entries- no icon, no text. 

only I can do is to get to the systray option and set for all this entries hidden atribute.
That gives back my panel layout. But when I press arrow to show up my hidden systray icons, I've got of it a lot.
Comment 1 masterdany88 2012-05-14 14:28:24 UTC
I'have kubuntu up to date
12.04 precise pangolin with kde 4.8.3
I used to happend in eariel version of kde, but I do not remember when.

my special setting is:
global menu bar in panel
yet another weather plasmoid yaWP
activity manager
yet another window control
rest widget are defaulf in kde
Comment 2 Donatas Glodenis 2012-06-15 20:10:14 UTC
*** Bug 296337 has been marked as a duplicate of this bug. ***
Comment 3 Stefano Forli 2012-06-18 07:42:33 UTC
A quick search (I could have missed others) it seems this problem has been reported (and marked as RESOLVED) several times in the last years, and in different versions:

https://bugs.kde.org/show_bug.cgi?id=300005 4.8.3
https://bugs.kde.org/show_bug.cgi?id=290982 4.8rc2
https://bugs.kde.org/show_bug.cgi?id=293472 4.8.0
https://bugs.kde.org/show_bug.cgi?id=240347 4.4.8
Comment 4 Donatas Glodenis 2012-06-19 11:58:08 UTC
(In reply to comment #1)
> I'have kubuntu up to date
> 12.04 precise pangolin with kde 4.8.3
> I used to happend in eariel version of kde, but I do not remember when.
> 
> my special setting is:
> global menu bar in panel

I think the „global menu bar“ (officially this must be called "Window Menu" plasmoid) in the panel is the problem. Could you try to remove it and see if plasma crashes on resume from suspend?

In my case, I deleted all my plasma files in ~/.kde/share/config/ , and the crash at resume (and multiplication of empty system tray items) would no longer happen. Then I started to add one by one the plasmoids I used to have in the previous setup, and voila, once I added the "Window menu" plasmoid, crashes happened again (as before, - not at every resume, at about 2/3rds). Remove the plasmoid, and - no crash again.

I still do not get how is this related to the multiplication of system tray items, though...
Comment 5 Donatas Glodenis 2012-06-19 12:16:29 UTC
Sorry, the plasmoid I was referring to in comment #4 is called not "Window Menu" but "Window Menubar".
Comment 6 Myriam Schweingruber 2012-06-20 06:43:46 UTC
Thanks for spotting, Stefano. Confirmed in current 4.9 beta2, it still happens after a plasma crash.

*** This bug has been marked as a duplicate of bug 293472 ***