Bug 480781

Summary: "Always visible" options have no effect for applets with PlasmaCore.Types.HiddenStatus set
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: System TrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ad.liu.jin, m.liu.jin, materka
Priority: NOR Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.0

Description Nate Graham 2024-02-03 15:34:06 UTC
https://invent.kde.org/plasma/kdeplasma-addons/-/commit/1679411c2a81d94bbec6493973ba75a881488a7b and https://invent.kde.org/plasma/plasma-workspace/-/commit/0cdcbd2f6abbd3ee909f22a5a3a50fc4a51f94d2, the Keyboard Indicator and Clipboard icons no longer appear visible in any part of the tray when they don't have anything to show. Normally this makes sense.

However there is a bug: when you try to force them to be visible anyway--via the "Always Visible" per-applet option, or the "Always show all entries" checkbox, these applets remain hidden. In either of these cases, they should become visible.
Comment 1 Jin Liu 2024-02-03 16:04:22 UTC
Should be quite easy to change.

However, that would also make MediaControl and CamaraIndicator always visible on these settings, while they currently don't. I.e. you'll get a fully static row of icons with "Always show all entries". Is that OK?

And if so, should this change target 6.0?
Comment 2 Bug Janitor Service 2024-02-03 16:37:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3858
Comment 3 Jin Liu 2024-02-04 02:08:55 UTC
Git commit d0037a4230acf0d089c2fc7156a2e4b2c1a323e1 by Jin Liu.
Committed on 04/02/2024 at 02:08.
Pushed by genericity into branch 'master'.

applet/systray: Show icons in HiddenStatus when set to "Always visible"

M  +3    -5    applets/systemtray/systemtraymodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/d0037a4230acf0d089c2fc7156a2e4b2c1a323e1
Comment 4 Jin Liu 2024-02-04 02:15:46 UTC
Git commit 936a589ef84e3b3d9919d971af05a4f8a32ef803 by Jin Liu.
Committed on 04/02/2024 at 02:15.
Pushed by genericity into branch 'Plasma/6.0'.

applet/systray: Show icons in HiddenStatus when set to "Always visible"

M  +3    -5    applets/systemtray/systemtraymodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/936a589ef84e3b3d9919d971af05a4f8a32ef803