Bug 347554 - System tray is messed up after login
Summary: System tray is messed up after login
Status: RESOLVED DUPLICATE of bug 352055
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.3.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 351427 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-11 13:00 UTC by Alexander Mezin
Modified: 2015-12-15 13:01 UTC (History)
16 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0
bad63r: VisualDesign+


Attachments
System tray right after login (8.34 KB, image/png)
2015-05-11 13:00 UTC, Alexander Mezin
Details
defunct extra items (81.81 KB, image/jpeg)
2015-09-17 11:45 UTC, Harald Sitter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mezin 2015-05-11 13:00:14 UTC
Right after login, icons in system tray aren't arranged properly.

Reproducible: Sometimes

Steps to Reproduce:
Login to Plasma

Actual Results:  
Bluetooth icon is drawn on top of language indicator, network manager icon disappeared

Expected Results:  
All icons should be in a single row without empty space or overlapping

If I switch off misplaced icons, and then switch on again, these icons are arranged properly
Comment 1 Alexander Mezin 2015-05-11 13:00:50 UTC
Created attachment 92541 [details]
System tray right after login
Comment 2 Marco Martin 2015-05-12 09:37:26 UTC
also resizing the panel adjusts the icons?
Comment 3 Alexander Mezin 2015-05-12 11:49:43 UTC
No, resizing doesn't help at all.
Comment 4 Alexander Mezin 2015-07-17 14:56:02 UTC
Hm. Looks like it happens only when touchpad applet is enabled.
Comment 5 Tom 2015-07-18 04:08:31 UTC
I have this problem too on Arch Linux.
Comment 6 Kai Uwe Broulik 2015-07-20 08:26:19 UTC
Git commit e64d41cc2fe549e4efcb60c7561dd83648294903 by Kai Uwe Broulik.
Committed on 20/07/2015 at 08:26.
Pushed by broulik into branch 'master'.

Make System Tray use a ProxyModel rather than tree independent models

This way we don't need to keep three different models in sync which has shown to
break quite often resulting in gaps in the layout and other strange behavior.
FIXED-IN: 5.4.0
REVIEW: 124380

M  +2    -4    applets/systemtray/package/contents/ui/CompactRepresentation.qml
M  +1    -1    applets/systemtray/package/contents/ui/ExpandedRepresentation.qml
M  +14   -3    applets/systemtray/package/contents/ui/main.qml
M  +1    -0    applets/systemtray/plugin/CMakeLists.txt
M  +6    -93   applets/systemtray/plugin/host.cpp
M  +1    -10   applets/systemtray/plugin/host.h
M  +2    -0    applets/systemtray/plugin/systemtrayplugin.cpp
A  +119  -0    applets/systemtray/plugin/tasksproxymodel.cpp     [License: LGPL (v2.1+)]
A  +74   -0    applets/systemtray/plugin/tasksproxymodel.h     [License: LGPL (v2.1+)]

http://commits.kde.org/plasma-workspace/e64d41cc2fe549e4efcb60c7561dd83648294903
Comment 7 Alexander Mezin 2015-08-18 16:06:27 UTC
Exactly the same problem with the new audio volume applet on plasma 5.3.95
Comment 8 Antonio Rojas 2015-08-24 18:21:09 UTC
*** Bug 351427 has been marked as a duplicate of this bug. ***
Comment 9 soee 2015-09-11 12:20:54 UTC
We have this in Kubuntu 15.10 with Plama 5.4.1. 

After boot/reboot there is only empty space in systray. If we restart plasmashell or relogin, we can see the widget icon again.
Comment 10 Harald Sitter 2015-09-17 11:45:37 UTC
Created attachment 94611 [details]
defunct extra items

I can reproduce this fairly reliably on the live sessions of the weekly plasma ISO.
killing plasmashell and starting it again fixes the problem.

Also, possibly related is that the 'extra items' in the systray settings are defunct
Comment 11 soee 2015-09-18 09:41:56 UTC
The plasma-pa missing icon problem seems to be fixed with Frameworks 5.14 (testing on Kubuntu 15.10).
Comment 12 soee 2015-09-19 12:10:52 UTC
Sorry it was false info. But still exists.
Comment 13 Nils 2015-10-19 07:24:58 UTC
I am also facing this bug with the new audio applet. I have to uncheck Miscellaneous and apply (in system tray settings) and then check it and apply to see the system tray displayed normally. 
It does not happen everytime on login but quiet often.
Comment 14 pfoo 2015-10-24 07:22:41 UTC
I'm facing the same issue on latest kubuntu 15.10, mainly with plasma-pa applet. Going to systray settings, unchecking, applying, rechecking, applying for "audio volume" applet make the icon displays properly (until next session start)
Comment 15 René Krell 2015-10-27 09:16:51 UTC
The problem with the invisible Audio Volume indicator in systray is a separate issue bug 352055, All the people affected by this should probably subscribing to or commenting bug 352055 instead of reopening this one.
Comment 16 David Edmundson 2015-11-02 13:54:07 UTC
https://bugreports.qt.io/browse/QTBUG-48870

Upstream report that's hitting us
Comment 17 Kyrylo Bohdanenko 2015-12-13 22:25:57 UTC
BTW, the icon appears for me if I go into "System Tray Widget Settings" and do Hide -> Apply -> Show -> Apply with the plasma-pa item.
Comment 18 David Edmundson 2015-12-15 13:01:16 UTC

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