Skip to content

fix for systemtray initial size

The width/height of the systemtray is not correctly updated during initial load. It leaves a gap between last icon and expand arrow
Systemtray_01

Changing the binding for implicitWidth/Height to a delayed binding fixes the issue
Systemtray_02

I was able to reproduce the issue by restarting plasmashell with kquitapp6 plasmashell && kstart plasmashell. After the reload the gap is there, when a systemtray icon is later shown or hidden the gap goes away.
So the issue can only be observed after reload/login.

During the reload I have also seen 'Binding loop detected for property implicitWidth' qml messages, which also goes away with this change.

Merge request reports

Loading