Bug 156303 - plasma system tray dissappeared after update
Summary: plasma system tray dissappeared after update
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-21 12:22 UTC by Jithin Emmanuel
Modified: 2008-08-05 16:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasma-appletsrc without systray (1.33 KB, text/plain)
2008-01-26 18:36 UTC, Pavel Zheltobryukhov
Details
plasma-appletsrc after deleting .kde4 and login again. Systray present (207 bytes, text/plain)
2008-01-26 19:11 UTC, Pavel Zheltobryukhov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jithin Emmanuel 2008-01-21 12:22:04 UTC
Version:            (using KDE 4.0.0)
Installed from:    SuSE RPMs
OS:                Linux

After i updated my packages today morning plasma system tray is listing no icons. It is still there because when i right click at the area there is option to remove system tray. An if i add  
system tray as a widget there is no problem i get all icons there but not on plasma. And after i restart the widget will also have no icons in it . I will have to remove and re add the widget. Then no problem.
Comment 1 José Santos 2008-01-22 00:57:16 UTC
I also have a similar problem (KDE4 on openSUSE 10.3).

After loggin out and loggin in again, the icons in system tray do no appear anymore.

I have to remove the system tray, and re-add it, and then it works until I log out and in.
Comment 2 Jithin Emmanuel 2008-01-22 12:24:10 UTC
Exactly that is the problem i am facing. Is there any way to add system tray to panel. I can only do it as a widget. 
Comment 3 Stephan Binner 2008-01-22 14:42:01 UTC
Cannot reproduce with current KDE 4.0 branch, so this temporary regression will be likely gone with the next package update.
Comment 4 Aaron J. Seigo 2008-01-22 19:17:26 UTC
> Is there any way to add system tray to panel. 
> I can only do it as a widget. 

there is no difference, actually, between desktop and panel widgets. they are identical. anyways, to answer your question, right now you can drag from the add widgets dialog directly to the panel.
Comment 5 Jithin Emmanuel 2008-01-22 19:49:05 UTC
Thanks of the help. Now i know how to add widgets to panel. I tried deleting files from .kde4 at home directory. Everything worked fine for the time being. But after i logg off system tray disappears. tray is still there but no icons. When i remove  and re add it will work  for the time being.


How come it's status change to resolved? 
Comment 6 Pavel Zheltobryukhov 2008-01-22 20:42:20 UTC
Confirm this bug for OpenSUSE 10.3 RPMs builded 20-Jan-2008
Comment 7 Jithin Emmanuel 2008-01-23 02:16:30 UTC
yes. 
Comment 8 Chani 2008-01-23 04:27:50 UTC
can anyone NOT using suse rpms reproduce this?
I'm beginning to think it's a distro problem.
Comment 9 Jithin Emmanuel 2008-01-23 13:21:09 UTC
so what shall i do. Its unbearable to use kde 4 some times it just freezes and i will have to kill X and start again. SUSE is testing the limits of my patience.
Comment 10 Chani 2008-01-23 14:04:31 UTC
> ------- Additional Comments From jithin1987 gmail com  2008-01-23 13:21
> ------- so what shall i do.


report the bug to suse.
Comment 11 Stephan Binner 2008-01-23 14:38:23 UTC
Chani, and you think there someone will get another answer than in comment #3? :-)
Comment 12 Chani 2008-01-23 15:39:28 UTC
stephen: oh, I didn't realise you're a suse person. :) shall we close this again then?
Comment 13 Stephan Binner 2008-01-24 14:30:00 UTC
I must correct myself, I see this with vanilla KDE 4.0 branch but only at second+ login - at very first login systray icons are visible.
Comment 14 Aaron J. Seigo 2008-01-25 01:30:55 UTC
the new xembed'ing code seems very brittle in several ways. i'm often getting icons from kde3 apps not getting swallowed on app launch, for instance =/
Comment 15 Carlos Lorenzo Matés 2008-01-25 18:26:13 UTC
Confirmed the same thing after last update yesterday




Comment 16 Alessio Pollero 2008-01-26 15:57:51 UTC
I have a similar problem:

I have installed KDE 4.0.0 from official opensuse repository, at the first login on my KDE4 desktop enviroment the system tray there is and works fine,
I logout from KDE4 and relogin on my KDE4 and the system tray in my application bar disapear!!

I can view my System tray by add system tray objet to desktop with plasma, but i can't insert the system tray in original positions or rather beside the clock in application bar.

If i delete my .kde4 folder in my Home directory at the next login the system tray return to origina posistion or rather beside the clock, but at the next login without clearing .kde4 the problem returns. 
Comment 17 Chani 2008-01-26 16:12:18 UTC
can someone attach the contents of $KDEHOME/share/config/plasma-appletsrc when this happens?
Comment 18 Chani 2008-01-26 16:15:56 UTC
> I can view my System tray by add system tray objet to desktop with plasma,
> but i can't insert the system tray in original positions or rather beside
> the clock in application bar.


sure you can. :) you need to drag it from the 'add widgets' dialog directly to 
the place you want it on the panel.
Comment 19 Pavel Zheltobryukhov 2008-01-26 18:36:00 UTC
Created attachment 23297 [details]
plasma-appletsrc without systray

plasma-appletrc with "hided" systray
Comment 20 Pavel Zheltobryukhov 2008-01-26 19:11:24 UTC
Created attachment 23299 [details]
plasma-appletsrc after deleting .kde4 and login again. Systray present
Comment 21 Marco Martin 2008-01-28 14:14:10 UTC
two things that might help to track it down i think would be:
-make sure there is only one systray, two systrays is bad bad bad
-when the systray shows no ions, do you see some systray icon that floats around as a toplevel window?
Comment 22 Pavel Zheltobryukhov 2008-01-28 14:29:45 UTC
- There is only one systray for me;
- If systray widget is not placed on panel, but placed on desktop - all icons visible;
Comment 23 S. Burmeister 2008-01-28 15:09:59 UTC
I made a diff of the config-file while plasma was still running (not showing any icons in the systray) and after I quit it via kquitapp. As one can see the position seems to be sensible, yet the width it too small. Hence, either the applet does not get any icons to display and thus does not expand or it does get the icons but does not expand nevertheless.

Since I do not have a debug-enabled brnach checkout, I cannot provide any debug output when adding a new systray-icon.

For trunk this works. If I quit kde with amarok and klipper in the systray, none of them are shown when logging back in, until amarok started up. After that klipper et al get added too and show up.

--- pla_running	2008-01-28 14:16:42.000000000 +0100
+++ pla_quit	2008-01-28 14:17:02.000000000 +0100
 -61,7 +61,7 @@
 plugin=lockout
 
 [Containments][2][Applets][18]
-geometry=924,8,160,40
+geometry=1076,8,8,40
 locked=false
 plugin=systemtray
 
 -104,7 +104,7 @@
 showDesktopNumber=true
 
 [Containments][2][Applets][8]
-geometry=438,8,482,40
+geometry=438,8,634,40
 locked=false
 plugin=tasks
Comment 24 Ivo Anjo 2008-01-29 12:15:11 UTC
I'm also seeing this. There have been several opensuse kde4 builds since the bug appeared, and none fixed this.
Comment 25 Stephan Binner 2008-01-29 20:23:43 UTC
This seems to be caused by setting a panel height of 40 pixels. I have reverted that for now in the SUSE packages until the Plasma layout system gets fixed.
Comment 26 S. Burmeister 2008-01-30 12:26:06 UTC
> ------- Additional Comments From binner kde org  2008-01-29 20:23 -------
> This seems to be caused by setting a panel height of 40 pixels. I have
> reverted that for now in the SUSE packages until the Plasma layout system
> gets fixed.


The summary of this report should be renamed to something describing the 
problem. "Systemtray applet is broken for heights <48" or something like 
that.
Comment 27 Sebastian Sauer 2008-02-01 16:07:32 UTC
This should be fixed now with r769483 in trunk.

Would be cool if somebody could test if it really works and doesn't introduce regressions. Thanks in advance :)
Comment 28 Sebastian Kügler 2008-02-01 16:26:17 UTC
Works for me. After your patches from yesterday, the systray disappeared with other sizes. Now, after having just updated (and pulled in your recent fix), the systray stays in the panel at all sizes.
Comment 29 Stephan Binner 2008-02-01 16:31:21 UTC
Works for me too, please backport and CLOSE this bug. :-)
Comment 30 Sebastian Sauer 2008-02-01 16:36:50 UTC
Backported with r769499 && report marked as fixed.
Thanks for the feedback!
Comment 31 Diego Ercolani 2008-05-02 00:25:50 UTC
I filled the https://bugzilla.novell.com/show_bug.cgi?id=384300 bugreport and they asked to fill in a bug report on KDE.
Version are reported on Novell bugzilla site.

my package versions: 
OpenSuSE 10.3 (x64)
libqt4-4.3.95+20080424-2.1
kdebase4-4.0.71-3.7
and requirements

Problems are probably regarded to an unclean environment (?) as I have since about
two weeks also with the STABLE versions of kde4 repositories, but I don't know
how to clean it.
All the problems seems to be regarded to PLASMA workplace:

ICONS:
every time I connect to desktop, the desktop is filled with many copies of the
same icons, every icon have many copies of itself

SystemTray:
I have the system tray activated but I can't see any icon in it. And if I
remove the applet (right click "remove system tray") plasma crashes with sigv.

Digital clock:
Today I made the upgrade (zypper up -t package -y) and now in my desktop also
the digital clock applet doesn't show anything
Comment 32 Diego Ercolani 2008-05-06 11:30:29 UTC
today system tray icons reappeared and also did digital clock two days ago.
OpenSuse package versions:
kdebase4-workspace-4.0.72-3.4
The problem of multiple icons on the desktop is still alive.

Comment 33 Alexey Chernov 2008-08-03 23:46:56 UTC
System tray problem is exactly reproducible for KDE 4.1.0 (x86_64).
Comment 34 S. Burmeister 2008-08-04 08:59:16 UTC
Which Qt version do you use?
Comment 35 Alexey Chernov 2008-08-05 16:03:25 UTC
Qt 4.4.1
Comment 36 Ivo Anjo 2008-08-05 16:08:17 UTC
I have seen some people having this with kde 4.0 and 4.1 + qt 4.4.1 on openSUSE 11. Don't know if it's a packaging or qt problem, but it really seems to be happening.
Comment 37 Jason Stubbs 2008-08-05 16:10:19 UTC
See http://bugs.kde.org/show_bug.cgi?id=168007
Comment 38 Alexey Chernov 2008-08-05 16:20:17 UTC
Ok, thank you for the link. So it must be not KDE bug...