Missing tray icons after lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
** Expected behavior **
Tray icons to be reloaded/
** What happens **
Some tray icons are missing
In 16.10, some tray icons are missing after lock. They don't disappear if the screen is only turned off. It happened as soon as I upgraded from 16.04.
So far, I can confirm this behavior on Clementine, Radio Tray, ownCloud client, Seafile and QOwnNotes. It doesn't matter if there is only running one of the aforementioned instances. The missing tray icons are recreated whenever I quit or start one of the affected programs (Clementine, Radio Tray, ownCloud-client, Seafile or QOwnNotes).
NOT affected by this bug:
* Transmission-gtk and Transmission-qt
* Telegram
* Diodon
* Solaar
* My-weather-
* Psensor
* Multiload-ng
As a workaround, I wrote a small script that loads radiotray and kills it:
-------
#!/bin/bash
dbus-monitor --session "type=signal,
while read MSG; do
LOCK_STAT=`echo $MSG | awk '{print $NF}'`
if [[ "$LOCK_STAT" == "member=Unlocked" ]]; then
/usr/bin/radiotray &
sleep .5
killall radiotray
fi
done
-------
** Release **
Ubuntu 16.10
** Kernel **
4.8.0-27-generic #29-Ubuntu
** Architecture **
x86_64
** Unity **
7.5.0
** Lightdm **
1.19.5
** Indicator packages **
indicator-
indicator-
libappindicator1 -- 12.10.1+
libappindicator3-1 -- 2.10.1+
libindicator3-7 -- 16.10.0+
libindicator7 -- 16.10.0+
sni-qt -- 0.2.7+15.
python-appindicator -- 12.10.1+
appmenu-qt -- 0.2.7+14.
appmenu-qt5 -- 0.3.0+16.
indicator-appmenu -- 15.02.0+
Same problem with Slack and Owncloud