Bug 378194

Summary: Notifier list moving when devices menu is selected
Product: [Plasma] plasmashell Reporter: Alex <eneeen>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: mklapetek
Priority: NOR    
Version First Reported In: 5.9.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: menu moving when "devices" are selected

Description Alex 2017-03-28 08:25:24 UTC
Created attachment 104773 [details]
menu moving when "devices" are selected

It seems there is small glitch inside notifier menu.
Comment 1 Kai Uwe Broulik 2017-03-28 08:26:44 UTC
It probably shouldn't wrap the heading
Comment 2 David Edmundson 2017-04-04 16:09:21 UTC
Git commit 882fc8d0ff94abc0cbddb34af1b2853f89dc16ca by David Edmundson.
Committed on 04/04/2017 at 15:36.
Pushed by davidedmundson into branch 'master'.

Keep system tray sidebar y position independent of current applet heading

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

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

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D5300

M  +17   -2    applets/systemtray/package/contents/ui/ExpandedRepresentation.qml

https://commits.kde.org/plasma-workspace/882fc8d0ff94abc0cbddb34af1b2853f89dc16ca