Bug 359139 - I have a empty space/icon in the system tray
Summary: I have a empty space/icon in the system tray
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 5.5.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 359237 359317 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-02-08 15:58 UTC by matombo
Modified: 2016-03-12 06:38 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (171.09 KB, image/png)
2016-02-09 09:15 UTC, Raman Gupta
Details
Showing the entries this time (130.87 KB, image/png)
2016-02-09 09:17 UTC, Raman Gupta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matombo 2016-02-08 15:58:51 UTC
since a month i think i have a unfilled space in my system tray.
bevor the last update if i clicked it it dissapeared togather with the skype icon (guess sime internal library crashed)
Now it doesn't dissapear anymore when i click it.
If i go to the config for the system tray -> entrys, i see a empty entry in the list too

Reproducible: Always

Steps to Reproduce:
1. start computer and login

Actual Results:  
between the icons in my system tray a empty space with the size of another icon appears

Expected Results:  
all system tray icons should be next to each other

I'm using manjaro so i have octopi and manjaro settings in the autostart
also caffeine konversation skype and steam which all show up correctly in the tray
i also start 2 non tray applications being xboxdrv and yakuake
Comment 1 Raman Gupta 2016-02-09 09:15:50 UTC
Created attachment 97099 [details]
Screenshot

I have this problem on 5.5.4 as well.

Running Fedora 23 rpm-based KDE, plasma version 5.5.4, qt version 5.5.1, kernel 4.3.5-300 64 bit.

Attached is a screenshot.
Comment 2 Raman Gupta 2016-02-09 09:17:32 UTC
Created attachment 97100 [details]
Showing the entries this time
Comment 3 Raman Gupta 2016-02-09 15:20:55 UTC
Killing xembedsniproxy and restarting it manually fixes the problem on my system.
Comment 4 matombo 2016-02-09 16:56:34 UTC
i found another workaround:
delaying the start by editing /etc/xdg/autostart/xembedsniproxy.desktop with "Exec=sleep 5 && xembedsniproxy" fixes the problem in  a dirty way
don't forget to also delay your autostart programms that are using sni a little more for example "exec=sleep 6 && skype %U" or you wont see their tray icons
Comment 5 Raman Gupta 2016-02-09 17:04:14 UTC
Good, so its definitely a timing problem with xembedsniproxy. Can this be reassigned to that component please?
Comment 6 Paulo Fidalgo 2016-02-11 10:43:57 UTC
I have this problem also! There's a empty entry in the System Trays settings under the Entries section. Killing xembedsniproxy solves it.
Comment 7 Safa Alfulaij 2016-02-11 13:25:54 UTC
I have this problem also. Sometimes it's an empty space and others it's a very tiny icon at the top left of the empty space.
What I do is go to "System Tray Settings", uncheck the hidden icon (that is checked but not visible), Hit Apply, check it again and Ok.
A screenshot: http://i.imgur.com/p5X6Lo1.png (The text displayed in the tooltip is "Printers", which is the "Manage printers" plasmoid).
When I uncheck "Clipboard", and hit Apply, and then check it again and hit Apply, the clipboard icon takes the empty space and the "Printers" plasmoid goes to the menu where icons are hidden.
Comment 8 Safa Alfulaij 2016-02-11 13:30:52 UTC
Related: https://bugs.kde.org/show_bug.cgi?id=352055
Comment 9 Raman Gupta 2016-02-11 13:40:52 UTC
(In reply to Safa Alfulaij from comment #8)
> Related: https://bugs.kde.org/show_bug.cgi?id=352055

I don't think its the same (or even related) issue. I used to have that problem too, and now it seems to be fixed. It was worked around by doing what you suggested in Comment #7 -- unchecking it, apply, and checking it. Neither the Audio icon nor the printer icon use xembedsniproxy as far as I know.

However, the "space" caused by this problem does not go away with that process. Only killing and restarting xembedsniproxy fixes the issue.
Comment 10 Vadim 2016-02-12 20:52:04 UTC
Just wanted to cast one more vote for resolving this bug. I am on OpenSUSE Tumbleweed.

I also wanted to confirm the solution suggested above so that it might give an additional clue to developers.

Besides empty spaces, that appear in 90+% of boots, I experience these related problems:
- Sometimes some icons appear as small icons taking the left top corner of their space in the system tray; for example, it seems to happen to the device notifier icon when no devices are connected;
- Some icons loaded using xembedsniproxy are wrong at times; for example, Pithos often loads a tiny pithos icon with black background (instead of transparent one), and rarely the right icon;
- Clicking on the empty space created in the system tray crashes the plasma. Once the plasma is back, there are no legacy icons at all.

(In reply to matombo from comment #4)
> i found another workaround: ... /etc/xdg/autostart/xembedsniproxy.desktop ... "Exec=sleep 5 && xembedsniproxy" fixes the problem in  a dirty way
> don't forget to also delay your autostart programms

This did it for now! I don't remember when was the last time it would boot without this annoying problem. Thanks a lot!

For those who experience this problem, you might try as suggested by Matombo to change the file and set sleep to an even larger value (I tried 3 seconds first, and it did not work, so I changed it to 10 seconds). And don't forget also to change the delay for autostart programs that put legacy icons into the tray (skype, pithos etc.).

Vadim.
Comment 11 Aleix Pol 2016-02-13 01:23:56 UTC
I also have this issue sometimes, confirming.
Comment 12 Aleix Pol 2016-02-13 01:33:48 UTC
*** Bug 359317 has been marked as a duplicate of this bug. ***
Comment 13 Marco Martin 2016-02-17 10:32:32 UTC
*** Bug 359237 has been marked as a duplicate of this bug. ***
Comment 14 Marco Martin 2016-03-09 12:08:07 UTC
Systemtray implementation is changed, this should be one of the problems fixed.
Comment 15 129492de 2016-03-12 06:38:13 UTC
I can confirm this has been solved for me.