D5300: Keep system tray sidebar y position independent of current applet heading

David Edmundson noreply at phabricator.kde.org
Tue Apr 4 15:38:53 UTC 2017


davidedmundson created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION 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

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D5300

AFFECTED FILES
  applets/systemtray/package/contents/ui/ExpandedRepresentation.qml

To: davidedmundson, #plasma
Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170404/062bed5c/attachment.html>


More information about the Plasma-devel mailing list