Bug 495651 - On-demand icons (e.g. Discover Notifier) can't be configured in the System Tray settings dialog until they become visible
Summary: On-demand icons (e.g. Discover Notifier) can't be configured in the System Tr...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 6.1.5
Platform: Kubuntu Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 496915 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-31 17:39 UTC by goo
Modified: 2025-09-21 18:04 UTC (History)
7 users (show)

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


Attachments
this shows how the settings SHOULD look but only appears this way when there are pending updates (76.79 KB, image/png)
2024-10-31 17:39 UTC, goo
Details
this is how the settings page looks when there are no pending updates ... notice Update entry is not listed (66.91 KB, image/png)
2024-10-31 17:40 UTC, goo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description goo 2024-10-31 17:39:49 UTC
Created attachment 175415 [details]
this shows how the settings SHOULD look but only appears this way when there are pending updates

SUMMARY

since updating to kubuntu 24.10 (and plasma 6) the discover icon is no longer displayed in the system tray, or in the systems tray settings window, unless there are pending updates.

it is as if the visibility settings were set to "Shown when relevant" but some how that setting is also applied in the settings window.

STEPS TO REPRODUCE
1. go to systems tray settings and look for Updates entry
2. wait for pending updates to become available for install
3. go back to systems tray settings and look for Updates entry

OBSERVED RESULT
at first the Updates entry is not listed on the settings page at all, but when updates are pending, then it will appear in the settings page with the expected control for "Always Shown / Disabled / Shown when relevant"

EXPECTED RESULT
Updates entry should always be listed in the settings window along with it's expected controls, and the controls should determine if the icon shows in the system tray or not.


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-9-generic (64-bit)
Graphics Platform: X11
Processors: 28 × Intel® Core™ i7-14700K
Memory: 62.6 GiB of RAM
Graphics Processor: AMD Radeon RX 6800
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D27
System Version: 1.0

ADDITIONAL INFORMATION
see attached
Comment 1 goo 2024-10-31 17:40:53 UTC
Created attachment 175416 [details]
this is how the settings page looks when there are no pending updates ... notice Update entry is not listed
Comment 2 Nate Graham 2024-11-01 16:53:17 UTC
Yeah, can reproduce. Seems like a general issue with on-demand tray items like Discover Notifier.
Comment 3 goo 2024-11-20 14:27:11 UTC Comment hidden (spam)
Comment 4 Nate Graham 2024-12-11 21:18:58 UTC
*** Bug 496915 has been marked as a duplicate of this bug. ***
Comment 5 goo 2024-12-26 14:45:36 UTC Comment hidden (spam)
Comment 6 Forest 2025-09-20 05:54:04 UTC
NotifierItem::setStatusNotifierVisibility() is publishing a new status item on d-bus when pending updates are newly found, and deleting it when there are none left. So, once updates are applied, the status item that should be configurable in the system tray no longer exists anywhere.

It should instead publish the status item on d-bus exactly once, keep it there, and toggle its status between Active and Passive when pending updates are present or not.
 
This is a regression. It behaved correctly in Plasma 5.

I don't see anything about this that would cause a sleep/wake problem, so I suspect that belongs in a separate bug report.
Comment 7 goo 2025-09-21 18:04:01 UTC Comment hidden (spam)