Bug 516135 - systray popups always have a hamburger menu icon, even if it's empty
Summary: systray popups always have a hamburger menu icon, even if it's empty
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 6.5.91
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-17 06:12 UTC by Jin Liu
Modified: 2026-02-18 15:12 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jin Liu 2026-02-17 06:12:06 UTC
STEPS TO REPRODUCE
1. Click on the "brightness" systray icon.
2. Click on the hamburger icon in the popup.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
No hamburger icon visible.

Note:
The problem doesn't happen for the same "brightness" applet on the desktop.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.91
KDE Frameworks Version: 6.23.0
Qt Version: 6.11.0
Kernel Version: 6.18.9-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor: AMD Radeon Graphics
Comment 1 Jin Liu 2026-02-17 06:26:47 UTC
Correction: To reproduce, click on the "audio" tray icon once. All tray icon popups will have a hamburger icon then.
Comment 2 Oliver Beard 2026-02-17 09:41:01 UTC
Wow. Can reproduce.
Comment 3 Bug Janitor Service 2026-02-17 15:33:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6300
Comment 4 Oliver Beard 2026-02-18 13:57:35 UTC
Git commit 61ce6443b0fe2f5f950708ae20c79f54c149b63e by Oliver Beard, on behalf of Arjen Hiemstra.
Committed on 18/02/2026 at 13:31.
Pushed by olib into branch 'master'.

applets/systemtray: Fix menu button always showing after opening volume control

The binding on model in the instantiator here seems to not always
trigger an actual update of the instantiator. This then causes the menu
button to always show, even if there are no actions to show, because the
instantiator still has active items.

To fix that, move the binding out of model into its own dedicated
property, then use the length of the actions array for the number of
visible actions. These values should match anyway, not relying on the
instantatior means we remove some indirection. We then bind the
instantiator to the new actions property, which is then correctly
updated with changes to actions.

As one last change, don't rely on clearing the menu every time the model
changes, just remove actions when the instantiator requests them to be
deleted. This makes the menu behaviour more predictable since it's
purely controlled by the instantiator.

M  +33   -24   applets/systemtray/qml/ExpandedRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/61ce6443b0fe2f5f950708ae20c79f54c149b63e
Comment 5 Oliver Beard 2026-02-18 14:36:04 UTC
Git commit df2587fe0c3c86f129aa7fddd41aa4987ec8e7ce by Oliver Beard.
Committed on 18/02/2026 at 14:36.
Pushed by olib into branch 'Plasma/6.6'.

applets/systemtray: Fix menu button always showing after opening volume control

The binding on model in the instantiator here seems to not always
trigger an actual update of the instantiator. This then causes the menu
button to always show, even if there are no actions to show, because the
instantiator still has active items.

To fix that, move the binding out of model into its own dedicated
property, then use the length of the actions array for the number of
visible actions. These values should match anyway, not relying on the
instantatior means we remove some indirection. We then bind the
instantiator to the new actions property, which is then correctly
updated with changes to actions.

As one last change, don't rely on clearing the menu every time the model
changes, just remove actions when the instantiator requests them to be
deleted. This makes the menu behaviour more predictable since it's
purely controlled by the instantiator.


(cherry picked from commit 61ce6443b0fe2f5f950708ae20c79f54c149b63e)

Co-authored-by: Arjen Hiemstra <ahiemstra@heimr.nl>

M  +33   -24   applets/systemtray/qml/ExpandedRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/df2587fe0c3c86f129aa7fddd41aa4987ec8e7ce