Bug 390890 - All entries disappear from the systemtray settings after modifying an entry's hidden state
Summary: All entries disappear from the systemtray settings after modifying an entry's...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.14.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
: 390106 402632 403864 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-22 07:39 UTC by Bhushan Shah
Modified: 2019-02-25 07:12 UTC (History)
30 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.14.5.1, 5.15.1
Sentry Crash Report:


Attachments
empty entries (19.73 KB, image/png)
2018-02-22 07:39 UTC, Bhushan Shah
Details
system tray weird behavior (676.42 KB, video/x-matroska)
2018-10-11 15:17 UTC, rockonthemoonfm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bhushan Shah 2018-02-22 07:39:45 UTC
Created attachment 110889 [details]
empty entries

- Start from vanilla system tray config
- start system tray settings
- Entries
- Make any applet hidden from Auto (I used battery monitor as testcase)
- close settings
- start system tray settings again
- Make battery monitor applet "Auto" from "Hidden"
- Close settings
- Reopen settigs
- Goto entries section
- All entries are gone :-(
Comment 1 Patrick Silva 2018-02-22 14:04:56 UTC
cannot reproduce using a new user account on Arch Linux, plasma 5.12.2.
Comment 2 Alexander Mentyu 2018-02-25 09:19:05 UTC
Looks related to this one https://bugs.kde.org/show_bug.cgi?id=390106
Comment 3 Nate Graham 2018-05-26 23:01:01 UTC
Can reproduce after making Dropbox tray entry hidden and then restarting Dropbox (which also triggers Bug 378910).
Comment 4 Nate Graham 2018-05-26 23:01:08 UTC
*** Bug 390106 has been marked as a duplicate of this bug. ***
Comment 5 Unknown 2018-06-21 06:26:56 UTC
This bug happens on Manjaro Linux with Plasma 5.13.0 and 5.13.1.
Comment 6 apache 2018-08-19 16:02:51 UTC
I also have this bug. I use Manjaro Linux Plasma KDE 5.13.4 QT 5.11.1

https://i.imgur.com/JlKs6rq.png

When I have "Show a system tray" set and I click on this icon KeepassXC hides in tray. This is expected behavior. Then I use systemtray option → elements → and choose always visible for KeepassXC icon. Then systemtray starts to misbihave. See bug screenshot below. When I hide KeepassXC to tray I can't use clipper or network manager because when I click on those systemtray icons the whole systemtray is activated. And all elements disappear from systemtray option.

This happens also with cherrytree icon, so it is not an application bug. 

But then
https://i.imgur.com/n6D3lv3.png
Bug:
https://i.imgur.com/DDf9kjF.png
https://i.imgur.com/JlKs6rq.png

KeePassXC - Version 2.3.3
Revision: 0a155d8

Libraries:

Qt 5.11.1
libgcrypt 1.8.3
Operating system: Manjaro Linux
CPU architecture: x86_64
Kernel: linux 4.14.65-1-MANJARO

Looks like there are a few other similar bugs reported here about systemtray.
Comment 7 apache 2018-08-23 15:22:21 UTC
Perhaps this is related.
Maybe Plasma has general problem with saving new settings: 

https://bugs.kde.org/show_bug.cgi?id=356899

Any feedback will be greatly appreciated.
Comment 8 britalmeida 2018-08-27 18:31:46 UTC
I can reproduce it reliably with the following steps:

1) Click the triangle to see the extra items.
2) Click on an application or desktop background to make the popup go away.
3) Right-click the triangle, Open the System Tray Settings.
Result: all entries are gone.

1) Click somewhere on the panel
2) Right-click the triangle, Open the System Tray Settings.
Result: all entries are there.

Note: this may be related with the popup not going away in the first place when clicking the panel itself or the expand button again?
See https://bugs.kde.org/show_bug.cgi?id=397946
Comment 9 Nicola Jelmorini 2018-08-31 09:46:49 UTC
(In reply to apache from comment #6)
> I also have this bug. I use Manjaro Linux Plasma KDE 5.13.4 QT 5.11.1
> 
> https://i.imgur.com/JlKs6rq.png
> 
> When I have "Show a system tray" set and I click on this icon KeepassXC
> hides in tray. This is expected behavior. Then I use systemtray option →
> elements → and choose always visible for KeepassXC icon. Then systemtray
> starts to misbihave. See bug screenshot below. When I hide KeepassXC to tray
> I can't use clipper or network manager because when I click on those
> systemtray icons the whole systemtray is activated. And all elements
> disappear from systemtray option.
> 
> This happens also with cherrytree icon, so it is not an application bug. 
> 
> But then
> https://i.imgur.com/n6D3lv3.png
> Bug:
> https://i.imgur.com/DDf9kjF.png
> https://i.imgur.com/JlKs6rq.png
> 
> KeePassXC - Version 2.3.3
> Revision: 0a155d8
> 
> Libraries:
> 
> Qt 5.11.1
> libgcrypt 1.8.3
> Operating system: Manjaro Linux
> CPU architecture: x86_64
> Kernel: linux 4.14.65-1-MANJARO
> 
> Looks like there are a few other similar bugs reported here about systemtray.

I have exactly the same problem on KDE Neon 5.13.4. This bug is not related to a specific Linux distro.
Comment 10 Likivik 2018-09-20 01:08:25 UTC
Can also confirm specifically after update to 5.13.4. Tested on Fedora(kde edition), KDE Neon, Antergos.

Quick fixes(obvious ones):
Logout-Login
Remove sys tray - add it back
Kill Plasmashell - Restart Plasmashell
Comment 11 Likivik 2018-09-20 01:32:01 UTC
(Related to/Possible duplicates of) this bug: Bug 397947, Bug 398372, Bug 397949, Bug 398592, Bug 393630, Bug 396153.
Comment 12 Brian Wright 2018-09-25 20:41:30 UTC
I have the exact same issue on KDE Neon with Plasma 5.13.5.  In addition, after the entries disappear, the popup messages change when I log back in.  They appear in the upper right hand corner as blue boxes with white text.  For apps like KDE Connect, you can't respond to text messages.
Comment 13 rockonthemoonfm 2018-10-11 15:17:53 UTC
Created attachment 115570 [details]
system tray weird behavior
Comment 14 rockonthemoonfm 2018-10-11 15:22:59 UTC
This often happens also in Plasma 5.14, on KDE Neon and Kubuntu.
It is also linked to the weird widget behavior shown in my video attachment.
That behavior happens non only after modifying an entry's hidden state, sometimes it happens with no apparent logic, just by normally using systray.
Comment 15 Neousr 2018-10-30 22:13:36 UTC
I can confirm this behavior in 5.14.2 on Neon Stable and Unstable on 5.14.80.

By enabling/disabling any option on general or by changing the visibility on any entry under the entry tab in system tray settings.

The blank entries only seem to appear after saving the changes and reopening settings menu. A simple log out will make the  entries reappear until once again more changes were made and saved.
Comment 16 Laosom 2018-11-01 13:44:03 UTC
I also experience this bug on Plasma 5.12 LTS(!!!) , 5.13 and 5.14 as well apart from the distro. The only "bugless" was 5.8.6 in Debian.
I need to logoff / login or restart plasma with kquitapp5 plasmashell && kstart plasmashell otherwise the system tray is stucked, entries gone , you cannot click on any of them , you get to the settings instead.
Very anoying bug , please correct if possible .
Comment 17 Laosom 2018-11-06 14:24:37 UTC
Anyone checking this bug ?
Any plans to fix in the 5.14.X bugfix releases ?
Comment 18 Anthony Fieroni 2018-11-14 14:25:59 UTC
I can confirm, it looks like another problem with applets prefered / explicit heights?
Comment 19 zontafil 2018-11-14 15:32:05 UTC
same happens to me, arch linux, plasma 5.14.2

When this happens, if I click the an icon, the status&notifications menu appears instead of the proper (i.e. battery/wifi) menu
Comment 20 Laosom 2018-11-20 17:54:14 UTC
I wrote to Nate Graham , he confirmed it too.
Unbelievable noone picks this up and severity is only normal.
Plasma is the best linux desktop, but bugs like this are very annoying.
They should fix the bugs with more care and willingness .
Comment 21 Anthony Fieroni 2018-11-20 17:58:35 UTC
@Laosom, most of time they are regressions in GUI part which is not easy for auto-testing. You can try patch at https://phabricator.kde.org/D16890 after all it's not fix all related bugs, only this.
Comment 22 Laosom 2018-11-21 19:34:13 UTC
(In reply to Anthony Fieroni from comment #21)
> @Laosom, most of time they are regressions in GUI part which is not easy for
> auto-testing. You can try patch at https://phabricator.kde.org/D16890 after
> all it's not fix all related bugs, only this.


Hello Anthony

Thanks for the link, but I will wait for the official fix  . I hope it's really not far away now .
Comment 23 katoomba32 2018-11-28 13:25:38 UTC
I have exact the same bug on clean installation of Kubuntu. I tried to upgrade Plasma up to 5.14.3, but no luck, bug is still there. Sometimes tray overlaps other widgets like this: https://www.dropbox.com/s/00m3jmtv9dcnvsa/p_20181127_kde-system-tray-bug.jpg?dl=0

My steps to reproduce it:

1. Select Configure System Tray menu item
2. Hide any item from Entries tab and click OK or Apply
3. Tray is broken

Removing tray and adding it again to panel does not help.

KDE Plasma Version: 5.14.3
KDE Framework Version: 5.52.0
Qt Version: 5.11.1
Kernel: 4.18.11-general
OS Type: 64-bit
Comment 24 Michael K. 2018-11-29 08:28:59 UTC
Haven't happened for quite some time (maybe a week). No idea what changed?!
Comment 25 jackdinn 2018-12-14 06:23:43 UTC
There is a thread on the Manjaro forums regarding this bug. https://forum.manjaro.org/t/kde-tray-bug-after-using-system-tray-settings/56984

I have experienced this problem on many KDE distros (not just Manjaro) for a couple of years.
Comment 26 trmdi 2018-12-14 06:43:02 UTC
I think the root cause of this bug is also the root cause of the bug: https://bugs.kde.org/show_bug.cgi?id=393630
Comment 27 victor barbosa 2018-12-15 15:59:53 UTC
Same here
Comment 28 Alex 2018-12-17 05:59:09 UTC
The same problem is reproduced.
Comment 29 Nate Graham 2018-12-28 20:34:16 UTC
*** Bug 402632 has been marked as a duplicate of this bug. ***
Comment 30 Anthony Fieroni 2019-01-14 18:14:27 UTC
Git commit 0885170daf56fbb2d5558ae271bb44043a76d018 by Anthony Fieroni.
Committed on 14/01/2019 at 18:14.
Pushed by anthonyfieroni into branch 'master'.

[systemtray] Workaround component creation

Differential Revision: https://phabricator.kde.org/D16890

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

M  +2    -4    applets/systemtray/package/contents/ui/main.qml

https://commits.kde.org/plasma-workspace/0885170daf56fbb2d5558ae271bb44043a76d018
Comment 31 Nate Graham 2019-01-14 18:17:21 UTC
author	        Anthony Fieroni <bvbfan@abv.bg>	2019-01-14 20:14:02 +0200
committer	Anthony Fieroni <bvbfan@abv.bg>	2019-01-14 20:14:02 +0200
commit	        0885170daf56fbb2d5558ae271bb44043a76d018 (patch)
tree	        66be751db3bcf7f29ae52904141c481577842c80
parent	        3fa868a73f87adff7ce1078126150c1a60c05894 (diff)

[systemtray] Workaround component creationHEADmaster
CCBUG: 390890

Differential Revision: https://phabricator.kde.org/D16890

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
Diffstat
-rw-r--r--	applets/systemtray/package/contents/ui/main.qml	6	
		
1 files changed, 2 insertions, 4 deletions
Comment 32 Patrick Silva 2019-01-18 21:11:06 UTC
Unfortunately this bug persists in plasma 5.15 beta. :(
Comment 33 Neousr 2019-01-18 22:10:40 UTC
Same as Patrick, i was able to reproduce this one again on 5.14.90 Stable branches.
Comment 34 manacim 2019-01-18 22:26:48 UTC
You don't even need to add any entry to see the bug. Just click configure system tray then click ok on the panel; it will glitch.
Comment 35 Nate Graham 2019-01-19 03:36:41 UTC
Darn. :(
Comment 36 Nate Graham 2019-01-19 03:38:37 UTC
I wonder if that commit actually fixed Bug 393630 instead. I can no longer reproduce it. Can anyone else?
Comment 37 trmdi 2019-01-19 15:54:45 UTC
That commit doesn't fix both this bug and 393630 for me.
Comment 38 Ben 2019-01-30 08:04:49 UTC
This bug happens with KDE Neon using Plasma 5.14.5. I think I've had the Entries disappear just by toggling between General and Entries several times.
Comment 39 Patrick Silva 2019-02-02 21:17:21 UTC
*** Bug 403864 has been marked as a duplicate of this bug. ***
Comment 40 katoomba32 2019-02-15 22:37:32 UTC
I just installed plasma 5.14.5 via beta PPA and bug is still here :(
Comment 41 katoomba32 2019-02-15 22:57:39 UTC
Installed 5.15, bug is still here. OMG. In 6 days this bug will celebrate 1 year of life.
Comment 42 Nate Graham 2019-02-16 14:58:35 UTC
Seems fixed for me in Plasma 5.15 with Frameworks 5.55 or git master.

Can anyone who can still reproduce this please write detailed Steps To Reproduce?
Comment 43 Patrick Silva 2019-02-16 17:07:12 UTC
I also can't reproduce on my system. \o/

Operating System: Arch Linux 
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Comment 44 Patrick Silva 2019-02-16 17:20:34 UTC
ops, I can reproduce... :(

open system tray settings
click "Entries" section
change visibility of some icon from "Show" to "Hidden"
clik "Ok" button
click up arrow to show "Notifications and status" popup (bug 393630 occurs)
while "Notifications and status" popup is still open, open system tray settings again and click "Entries" section... all entries are missing
Comment 45 David Edmundson 2019-02-16 18:36:07 UTC
There were two patches for this issue.

The one above, which IMHO was testing random things, rather than understanding the root cause.

And 6fcf9a5e03ba573fd0bfe30125f4c739b196a989 comes from my suggestion and makes more sense.

6fcf9a5e03ba573fd0bfe30125f4c739b196a989 is in 5.14.5.1 but not in 5.15.0 It will be in 5.15.1

Please check if you have that commit if you think the bug is unfixed.
Comment 46 Laosom 2019-02-17 06:11:01 UTC
Not fixed in 5.15.0 confirmed changing entries makes it stuck and unusable. 
Logoff / logon still needed to recover it :(
Comment 47 Brian Snipes 2019-02-20 15:49:22 UTC
For anyone that has the issue and needs to at least get back to the default notification settings, edit the ~/.config/plasma-org.kde.plasma.desktop-appletsrc file and remove the shownitems line that lists the items you selected to always show. Then log out and back in. The bug also causes new programs that are started (such as pidgin) not to show up in the tray until your session is reset. This bug still exists in:

Operating System: Arch Linux 
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Comment 48 katoomba32 2019-02-23 14:12:28 UTC
Fixed for me in 5.15.1
Comment 49 Alex 2019-02-25 05:38:26 UTC
Fixed for me too in Manjaro, KDE 5.15.1 :)
Comment 50 manacim 2019-02-25 07:12:37 UTC
Manjaro KDE is fixed :)