Skip to content

applets/systemtray: fix busy indicator position for hidden items

Reason for the change

These items can also show a busy indicator, but its position was not updated to account for the layout change in Plasma 6.2. Previously filling/centering the busy indicator made sense with the old square delegates, but with the new rectangular ones, that no longer makes as much sense. Adjust the positioning accordingly.

Test plan

Actually getting an item in the hidden layout to show a busy indicator can be challenging, so the easiest way to test this is to recompile with running: plasmoidContainer.applet?.plasmoid.busy ?? false changed to running: true in PlasmoidItem.qml.

Screenshots or screen recordings

Before After
Before After

Bugs fixed

BUG: 496910 FIXED-IN: 6.2.5

Merge request reports

Loading