Bug 395442 - Framework 5.47 bug with systray notifications: list empty and other issues
Summary: Framework 5.47 bug with systray notifications: list empty and other issues
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.13.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-15 17:38 UTC by Michał Dybczak
Modified: 2018-09-05 17:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
notifications list gets emptied (36.90 KB, image/png)
2018-06-15 17:38 UTC, Michał Dybczak
Details
media icon bug (5.29 KB, image/png)
2018-06-15 17:40 UTC, Michał Dybczak
Details
Empty list (48.88 KB, image/png)
2018-07-05 22:38 UTC, elman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dybczak 2018-06-15 17:38:46 UTC
Created attachment 113353 [details]
notifications list gets emptied

1. All works fine till we don't change something and apply settings. List becomes empty. This is easily reproducible and noticed on many occasions by many users.

Not sure what I did, but after few minutes, list became visible. Hitting on "apply" again made the list empty.

2. New keyboard notification setting seems to work by default, meaning: caps lock's notification is enabled, num lock's disabled and when hitting caps lock there is a correct notification (an arrow). After "applying" notification settings, this stops working entirely. I set it to "always visible" but it didn't help.

3. Not sure if that falls to the same category, but new (and ugly - what was wrong with the old icon? it fit elegantly to other icons, the new one stands out in a bad way) media icon is now static, meaning: it barely changes between desktop themes (it becomes only thinner or thicker) so it can't be changed (unfortunately) but what is more important, it has only dark color for light panels. It stays black on dark panels. This one may not be a general bug, will have to investigate more.
Comment 1 Michał Dybczak 2018-06-15 17:40:14 UTC
Created attachment 113354 [details]
media icon bug

Adding additional print screen because I couldn't do it with first post.
Comment 2 Christoph Feck 2018-06-15 17:51:49 UTC
Please do not report several issues in a single ticket. I reassigned this ticket to Latte developers, because the screenshot shows the Latte configuration window.
Comment 3 Michał Dybczak 2018-06-15 18:07:42 UTC
The thing is, I'm not sure if those are multiple issues - it's all about systray. It can be one bug but with multiple consequences.
It also doesn't matter if you use latte of plasma panel - I tried it and you can reproduce empty list and keyboard caps not working even after hitting OK on notifications settings. It's systray issue and has nothing to do with latte.

Please, change the product accordingly, otherwise there must be another submission as this is clearly incorrectly assigned.
Comment 4 Michał Dybczak 2018-06-15 18:46:19 UTC
Steps to reproduce:

1. Open settings of system tray
2. Go to notification settings tab and click OK or change settings and then "Apply"
3. Works every time on system panel or latte panel.

Issue is gone when panel (latte or system's) is restarted so system's tray widget's restart is restoring proper behavior (for point 1 and 2).

Point 3 seems to be different bug so please disregard it in this topic.
Comment 5 Michał Dybczak 2018-06-15 18:47:32 UTC
Steps to reproduce:

1. Open settings of system tray
2. Go to notification settings tab and click OK or change settings and then click "Apply".
3. Check notification tab settings list again, it's empty.
4. Works every time on system panel or latte panel.

Issue is gone when panel (latte or system's) is restarted so system's tray widget's restart is restoring proper behavior (for point 1 and 2).

Point 3 seems to be different bug so please disregard it in this topic.
Comment 6 elman 2018-07-05 22:37:35 UTC
I have the same issue and when this happens there are another side effects:
- Clicking on arrow icon opens Status & Notification. This is fine. However clicking it again does not close Status & Notifications as expected. Also arrow icon does not change its orientation. Only way to close it is clicking elsewhere on desktop.
- Clicking on any tray icon (like Volume, Clipboard Contents, Networks, Bluetooth...) always opens Status & Notification and therefore I'm unable to change any settings. I believe this makes it higher priority bug.
- When I open Status & Notification and then click on Touchpad icons which shows question in popup window, Status & Notification stays open forever and will not close.
Comment 7 elman 2018-07-05 22:38:27 UTC
Created attachment 113790 [details]
Empty list
Comment 8 Kai Uwe Broulik 2018-07-06 06:38:12 UTC
This looks very much like a Qt bug to me.

We access plasmoid.rootItem.statusNotifierModel.count from the config dialog. plasmoid.rootItem is the root QML Item (a MouseArea) of the applet. statusNotifierModel is a SortFilterModel filtering the SNIs according to enabled categories. And "count" is obviously the number of items in there.

Now when opening the dialog multiple times, at some point suddenly it fails to access the count property on that object despite being there. I could even reproduce this with a dummy QtObject with a dummy property, same issue. Because Plasma is quite complex, I haven't found an isolated testcase yet that would allow us to file a bug against Qt.
Comment 9 Nicola Jelmorini 2018-08-31 08:23:49 UTC
I can confirm the same behavior on KDE Neon 5.13.4 like the comment #6 of elman@seznam.cz.
Every time you open the tab "Entries" on the System tray Settings windows, there is something wrong that is triggered. The second time you open the "Entries" tab it's empty, and the system tray doesn't respond correctly anymore. The only way to adjust the situation is a reboot.

This bug ticket was opened for Manjaro, and I have the same behavior on KDE Neon, so I believe that this issue is related to KDE in general, and not to a particular Linux distro.
Comment 10 Nicola Jelmorini 2018-08-31 09:40:37 UTC
Checking out these other two bug tickets, Bug 396153 and Bug 396947, it seems to me that this bug could be a duplicate, because the description of the issue is very similar.
Comment 11 Michał Dybczak 2018-08-31 13:14:07 UTC
I believe the bug is somehow related to Qt? Neon and Manjaro use the same, newest version.
Comment 12 Michał Dybczak 2018-09-04 13:01:03 UTC
I checked today on Manjaro and the notification bug is fixed. I guess some Qt or Plasma and KDE updates since then changed something and now all seems to be OK.
Closing.
Comment 13 Nicola Jelmorini 2018-09-04 19:16:47 UTC
(In reply to Michał Dybczak from comment #12)
> I checked today on Manjaro and the notification bug is fixed. I guess some
> Qt or Plasma and KDE updates since then changed something and now all seems
> to be OK.
> Closing.

I can't confirm that on my virtual machine with Manjaro, nor on my KDE Neon. The issue is still present as before.
Comment 14 Michał Dybczak 2018-09-05 09:28:52 UTC
I checked on two different machines (hardware installs) and all is well on both of them (both had the issue).

Maybe we are talking about different things? My initial mistake was to dump more things into one topic since I thought they are all the same systray issue.

1. Notification setting least getting empty is fixed - this is what I meant and what this topic is mainly about.
Changing any settings don't make the list empty anymore.
2. tab/num notification works flawlessly now.
3. media icon bug is an entirely different bug 395442
This can be fixed by updating the media icon file with the one from breeze theme. Some popular themes did the fix, others didn't so it's up to users to edit the theme.
Comment 15 Nicola Jelmorini 2018-09-05 17:13:13 UTC
(In reply to Michał Dybczak from comment #14)
> I checked on two different machines (hardware installs) and all is well on
> both of them (both had the issue).
> 
> Maybe we are talking about different things? My initial mistake was to dump
> more things into one topic since I thought they are all the same systray
> issue.
> 
> 1. Notification setting least getting empty is fixed - this is what I meant
> and what this topic is mainly about.
> Changing any settings don't make the list empty anymore.
> 2. tab/num notification works flawlessly now.
> 3. media icon bug is an entirely different bug 395442
> This can be fixed by updating the media icon file with the one from breeze
> theme. Some popular themes did the fix, others didn't so it's up to users to
> edit the theme.

Ah ok, now I see.
In fact I have the same behavior.