Keep system tray sidebar y position independent of current applet heading
ClosedPublic

Authored by davidedmundson on Apr 4 2017, 3:36 PM.

Details

Summary

In the system tray we have a header at the top and the icons on the
left.

When there is no applet selected we want the icons to take up the full
width, because of this they have to start off under the title.

When an applet is selected we want these icons to dock to the left, but
not change their y position. The title then becomes the title of the
active applet.

If the active applet's title wraps this results in the icons moving all
over the place. See image in bug report.

This patch uses two text fields and toggles visibility so that we can
always align the icons to a consistent point

BUG: 378194

Test Plan

Opened system tray with the arrow
Clicked on an applet and back
Opened system tray by clicking on applet

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Apr 4 2017, 3:36 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 4 2017, 3:36 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Apr 4 2017, 3:47 PM
This revision is now accepted and ready to land.Apr 4 2017, 3:47 PM
This revision was automatically updated to reflect the committed changes.