when amarok started no icon in SystemTray

Bug #986492 reported by andschuster
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ir Plasma Widgets
Invalid
Medium
kdeplasma-addons (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I start Amarok 2.5 in precise using kde-desktop there is an empty space in the SystemTray where the icon should be. Right click on the empty space shows the menu of the amarok applet. If in the preferences of amarok I disable and then enable the icon in the SystemTray, it appears there. After quitting amarok and restarting the icon disappeared again. Using the Xubuntu desktop everything works well.

lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

amarok 2:2.5.0-0ubuntu6

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

Version: unspecified (using Devel)
OS: Linux

After upgrading 4.8 from RC1 to RC2 system tray does not show some applications any more. 2 examples are Opera and Thunderbird with FireTray (and one more). The applications have not been updated.

Reproducible: Always

Steps to Reproduce:
Launch application, eg. Opera without disabling system tray icon.

Actual Results:
There's only task bar entry, no system tray icon.

Expected Results:
There should also be system tray icon.

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

Still happens on 4.8.0 (openSUSE packages). It seems to happen with all non-KDE4 applications (including Amarok 1.4).

Revision history for this message
In , Maris Nartiss (maris-nartiss) wrote :

Same here - 4.8.0 on Gentoo ~AMD64 - all non-KDE applications are missing from system tray.
Impossible to access Skype, as it's running and there's no way how to open it's window. It's impossible to connect to WIFI networks, as wicd client is running and automatically minimized to tray.

Revision history for this message
In , adaptee (adaptee) wrote :

Works for me when using skype, opera and xchat in KDE SC 4.8

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

Well, it also works on my 64-bit pc at work, but not on my 32-bit pc at home. The openSUSE software repositories are almost identical though.

Revision history for this message
In , Maris Nartiss (maris-nartiss) wrote :

(In reply to comment #2)
> Same here - 4.8.0 on Gentoo ~AMD64 - all non-KDE applications are missing
> from system tray.
> Impossible to access Skype, as it's running and there's no way how to open
> it's window. It's impossible to connect to WIFI networks, as wicd client is
> running and automatically minimized to tray.

Problem was solved by rm'ing ~/.kde4 (remember kids, don't try this at home!)

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

I really don't think that removing ~/.kde4 can be considered as solving or even as a workaround.

PS. Issue still here in KDE 4.8.1.

Revision history for this message
In , Sergey Kondakov (virtuousfox) wrote :

same here with the update from 4.8.1 to 4.8.2 on Gentoo: all non-kde apps missing from tray.
removing ~/.kde4/share/config/{plasma*,kdesktop*} nullifies plasma config and "fixes" the problem.

and my KDE config directory spans from 4.0 and each version in-between. with all the outmoded, half-deprecated undocumented crap which accumulated inside KDE configs in that time, it's no wonder that something crazy, like this, happens.

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

I certainly don't want to delete the configuration files and doing it actually makes it impossible to debug the real issue.

So maybe anyone knows where is the system tray section in these config files? I grepped -i 'tray' from these files, but this did not turn out anything interesting.

Revision history for this message
andschuster (andreas-schuster2) wrote :

Oh, I should mention that this phenomenon appeared after one of the last updates. Originally, when I installed precise, amarok worked well.

Revision history for this message
andschuster (andreas-schuster2) wrote :

Sorry, I didn't mean "task bar" but "system tray" in the bug report.

Revision history for this message
andschuster (andreas-schuster2) wrote :

In the preferences for the system tray there is a "org.kde.Statusnotifieritem" entry instead of amarok. After switching the applet off and on again then there is the entry for amarok and the "org.kde.Statusnotifieritem" disappeared.

summary: - when amarok started no icon in taskbar
+ when amarok started no icon in SystemTray
Maarten Bezemer (veger)
description: updated
Revision history for this message
Myriam Schweingruber (myriam) wrote :

The problem is not in Amarok, but in the plasma-systemtray-widget, see upstream bug link.

Changed in amarok:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

Still happens with 4.9 RC1.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Confirmed by other user.

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

Happens with 4.9 final too.

Changed in amarok:
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in amarok (Ubuntu):
status: New → Confirmed
Revision history for this message
Myriam Schweingruber (myriam) wrote :

Reassigning as this is not a bug in Amarok but the plasma widget systemtray, see also the upstream bug link

affects: amarok → ir-plasma-widgets
affects: amarok (Ubuntu) → kdeplasma-addons (Ubuntu)
Revision history for this message
In , 7c0-000 (7c0-000) wrote :

I have had also this problem. The workaround is removing systray from panel and adding it again. In my case it helped.

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

I have tried it, but it doesn't fix it in my case.
BTW, I use KDE 4.9.3 currently and this behavior is still there :(

Revision history for this message
In , 7c0-000 (7c0-000) wrote :

(In reply to comment #13)
> I have tried it, but it doesn't fix it in my case.
> BTW, I use KDE 4.9.3 currently and this behavior is still there :(

You are right. After restarting of KDE the problem returns :-(

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

Haha, what good joke this bug is :)

When I upgraded to 4.10 I started getting another notifications on the opposite corner of the screen. So that kind of made me wonder that maybe there is a duplicate and hidden panel somewhere. I opened up ~/.kde4/share/config/plasma-desktop-appletsrc file and looked for 'systemtray'. And indeed - there was a duplicate panel that had the size of my old monitor's width - so maybe the old panel got duplicated when I changed my monitor?

The panel had identifier '[Containments][3]', so (while being logged out of KDE) I removed all the lines of that containment and when I logged into KDE again, and the duplicate notifications were gone. And now all the system tray icons are in the correct place again.

I hope our KDE "helpdesk" (aka users themselves) can learn something from that :)

Revision history for this message
In , Sergey Kondakov (virtuousfox) wrote :

i, personally, learned that KDE4 allows for hidden desktop elements, which cannot be removed by KDE's own means (since it lacks "remove" option in plasmoids list and a comprehensive active plasmoids list at all, unlike KDE3) and can seriously screw up one's desktop in non-obvious way.

and that is a bug of regression on its own. or a design decision and a "feature", depending on how you look.
let's hope, that someone else would report it, because it won't be me.

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

Yes, I agree. This issue could be taken as the one about hidden elements or better handling of all the different containers on the desktop.

But as for this certain bug - this was still not the case as it seems that the tray icons were there, but they were only on a hidden panel's system tray.

Changed in ir-plasma-widgets:
status: Confirmed → Invalid
Revision history for this message
In , Kde-i (kde-i) wrote :

I can confirm this on KDE 4.11.00 (running on x86_64, Arch Linux).

My problem was exactly as described: non-kde applications that used the system tray were not appearing [in the system tray]

To identify which 'containments' to retain, I added a weather application on my left screen's panel, and a comic application on my right screen's panel, then dug in the plasma-dekstop-appletsrc file.

I found several 'containments' in there (1,14,28,29,30), of which 1 contained the weather app, and 30 contained the comic app.

After logging out of KDE, I removed 'containments' 14,28,30 from the plasma-dekstop-appletsrc, and logged back in.

It is a miracle! All the missing icons are back!

In my zeal, however, I note that I managed to delete the desktop background settings, but that was easily remedied.

Revision history for this message
In , Kde-i (kde-i) wrote :

Sorry I just noticed a 'bug' in my comment.

Please read

"After logging out of KDE, I removed 'containments' 14,28,30 from the plasma-dekstop-appletsrc, and logged back in."

to be

After logging out of KDE, I removed 'containments' 14,28,29 from the plasma-dekstop-appletsrc, and logged back in.

Revision history for this message
In , Travisgevans (travisgevans) wrote :

I just got bit by this. Non-KDE tray icons missing. Everything was fine after an update, then system crashed, I rebooted, then the tray was messed up. Removing and readding it didn't help. As mentioned above, removing plasma-desktop-appletsrc brought them back to normal.

I'll attach my broken plasma-desktop-appletsrc in case someone wants to try to debug.

Revision history for this message
In , Travisgevans (travisgevans) wrote :

Created attachment 82817
~/.kde4/share/config/plasma-desktop-appletsrc file that seems to trigger bug

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.