Bug 430569 - system tray arrow disappears after every logout/reboot
Summary: system tray arrow disappears after every logout/reboot
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.20.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Konrad Materka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-19 05:14 UTC by sebastian.schultz.1991
Modified: 2020-12-24 12:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.20.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sebastian.schultz.1991 2020-12-19 05:14:57 UTC
SUMMARY
after every logout, the system tray arrow disappears and i am unable to expand or otherwise access hidden tray entries.

STEPS TO REPRODUCE
1. add system tray to panel (arrow is visible; can expand/configure system tray directly)
2. log out and back in, or reboot

OBSERVED RESULT
arrow is gone. cannot expand tray.

EXPECTED RESULT
arrow persists. can expand tray.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Gentoo Linux
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
condition originated with all entries hidden, but i have been able to reproduce with any combination of entry types. this seems to be a reccurrence of bug #427600, which was reported in 5.19.5 and reported to be fixed with 5.20.0. however, in this issue, the condition occurs with the widget on the panel, where in #427600 (judging from the attached image), the problem was in the desktop widget.

possibly worth noting is that this is a very fresh install with extremely minimal configuration.
Comment 1 Nate Graham 2020-12-19 15:55:35 UTC
Well that's odd.
Comment 2 sebastian.schultz.1991 2020-12-19 16:39:41 UTC
(In reply to Nate Graham from comment #1)
> Well that's odd.

Agreed. I've been messing around and I noticed that it comes back if I activate an item that's "shown when relevant" but is not relevant at boot. For example, if I play a video in Firefox and the Plasma integration applet shows up (sorry if they're not called applets, I'm new to Plasma) or if I hit caps lock and the keyboard indicator applet shows up, the arrow will come back.

So for now, all I have to do is hit caps lock and it's "fixed", but it's still a bug.
Comment 3 sebastian.schultz.1991 2020-12-19 16:41:19 UTC
(In reply to sebastian.schultz.1991 from comment #2)
> (In reply to Nate Graham from comment #1)
> > Well that's odd.
> 
> Agreed. I've been messing around and I noticed that it comes back if I
> activate an item that's "shown when relevant" but is not relevant at boot.
> For example, if I play a video in Firefox and the Plasma integration applet
> shows up (sorry if they're not called applets, I'm new to Plasma) or if I
> hit caps lock and the keyboard indicator applet shows up, the arrow will
> come back.
> 
> So for now, all I have to do is hit caps lock and it's "fixed", but it's
> still a bug.

Perhapa in light of this, importance should be knocked down to minor? (which I intended to do in original post).
Comment 4 sebastian.schultz.1991 2020-12-19 16:46:13 UTC
also, i meant the media player applet, not plasma integration. and sorry for the multiple comments, i don't see a way to just edit the original one.
Comment 5 Konrad Materka 2020-12-20 11:28:36 UTC
I've managed to reproduce, the most important is to have "extremely minimal configuration" - just few applets enabled and no SNI applications.
Comment 6 Bug Janitor Service 2020-12-20 11:52:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/525
Comment 7 Konrad Materka 2020-12-20 11:54:27 UTC
I prepared possible fix in:
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/525/diffs

To test it just manually modify this file:
/usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/HiddenItemsView.qml
Comment 8 sebastian.schultz.1991 2020-12-20 14:36:34 UTC
(In reply to Konrad Materka from comment #7)
> I prepared possible fix in:
> https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/525/diffs
> 
> To test it just manually modify this file:
> /usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/
> HiddenItemsView.qml

Tested the above fix and system tray is working as expected.
Comment 9 Konrad Materka 2020-12-24 12:41:51 UTC
Git commit 19c25d0745ece7855b40776341b916f23aa45531 by Konrad Materka.
Committed on 24/12/2020 at 12:41.
Pushed by kmaterka into branch 'master'.

[applets/systemtray] Fix missing expander arrow

In very minimal configuration, with small number of applets and no SNI,
expander arrow does not show on Plasma startup.
FIXED-IN: 5.20.5

M  +4    -0    applets/systemtray/package/contents/ui/HiddenItemsView.qml

https://invent.kde.org/plasma/plasma-workspace/commit/19c25d0745ece7855b40776341b916f23aa45531
Comment 10 Konrad Materka 2020-12-24 12:42:55 UTC
Git commit 184cc5c3f9373e43cf8d55c415b7078ab375c756 by Konrad Materka.
Committed on 24/12/2020 at 12:42.
Pushed by kmaterka into branch 'Plasma/5.20'.

[applets/systemtray] Fix missing expander arrow

In very minimal configuration, with small number of applets and no SNI,
expander arrow does not show on Plasma startup.
FIXED-IN: 5.20.5

M  +4    -0    applets/systemtray/package/contents/ui/HiddenItemsView.qml

https://invent.kde.org/plasma/plasma-workspace/commit/184cc5c3f9373e43cf8d55c415b7078ab375c756