https://bugs.kde.org/show_bug.cgi?id=516135
Oliver Beard <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/plasma-workspace/-/commi | |t/61ce6443b0fe2f5f950708ae2 | |0c79f54c149b63e Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #4 from Oliver Beard <[email protected]> --- 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 -- You are receiving this mail because: You are watching all bug changes.
