Bug 444033 - System Tray disappears when there are no visible entries
Summary: System Tray disappears when there are no visible entries
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 5.23.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-19 11:15 UTC by Natalie Clarius
Modified: 2021-12-29 04:35 UTC (History)
4 users (show)

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


Attachments
top left: with only remaining entry becoming invisible (here: hiding the battery monitor widget by plugging in the charger) makes the triangle disappear as well. (458.13 KB, image/gif)
2021-10-19 11:15 UTC, Natalie Clarius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Natalie Clarius 2021-10-19 11:15:37 UTC
Created attachment 142620 [details]
top left: with only remaining entry becoming invisible (here: hiding the battery monitor widget by plugging in the charger) makes the triangle disappear as well.

SUMMARY

When there are no currently shown entries in the System Tray widget, the triangle to open the Status and Notifications popout disappears as well, so that it can no longer be accessed.


STEPS TO REPRODUCE
1. Have the system tray widget in the panel but no system tray entries currently shown. E.g. as seen in the attached screencast, where the battery monitor entry is set to shown when relevant and becomes hidden when plugging in the charger.


OBSERVED RESULT

The triangle to open the system tray window disappears.


EXPECTED RESULT

The triangle to open the system tray window stays.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.12-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION

The issue occurred after upgrading to Plasma 5.23 from 5.22.
Comment 1 Nate Graham 2021-10-19 21:59:51 UTC
Code says:

        ExpanderArrow {
            id: expander
            Layout.fillWidth: vertical
            Layout.fillHeight: !vertical
            Layout.alignment: vertical ? Qt.AlignVCenter : Qt.AlignHCenter
            iconSize: tasksGrid.itemSize
            visible: root.hiddenLayout.itemCount > 0
        }


root.hiddenLayout is the popup window's view. Is there also nothing in the popup when it disappears?
Comment 2 Natalie Clarius 2021-10-19 22:09:11 UTC
(In reply to Nate Graham from comment #1)
> Code says:
> 
>         ExpanderArrow {
>             id: expander
>             Layout.fillWidth: vertical
>             Layout.fillHeight: !vertical
>             Layout.alignment: vertical ? Qt.AlignVCenter : Qt.AlignHCenter
>             iconSize: tasksGrid.itemSize
>             visible: root.hiddenLayout.itemCount > 0
>         }
> 
> 
> root.hiddenLayout is the popup window's view. Is there also nothing in the
> popup when it disappears?


No, the popout and its contents remain intact.
Comment 3 Bug Janitor Service 2021-11-03 04:35:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Natalie Clarius 2021-11-09 23:51:27 UTC
While removing and readding the system tray widget didn't help, setting up the whole panel anew did, so the problem has resolved itself for me. (Don't know if the issue should remain open anyway in case you still want to look into what triggers this bug.)
Comment 5 Cristóbal Veas 2021-11-20 21:31:21 UTC
This happens to me in KDE Plasma 5.23.3 only when changing "Panel icon size" to "Scale with Panel Height" in the System Tray settings, if I use "Small" it doesn't happen.
Comment 6 Konrad Materka 2021-11-28 20:55:28 UTC
In file:
    /usr/share/plasma/plasmoids/org.kde.plasma.systemtray/contents/ui/main.qml
can you comment line 200:
    // iconSize: tasksGrid.itemSize
or change it to:
    iconSize: PlasmaCore.Units.iconSizes.smallMedium

Does it fix the problem?
Comment 7 Nate Graham 2021-11-28 22:13:35 UTC
.
Comment 8 Natalie Clarius 2021-11-29 04:01:12 UTC
I can no longer reproduce the issue, not by what Cristóbal Veas is describing either.
Comment 9 Bug Janitor Service 2021-12-14 04:35:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2021-12-29 04:35:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!