Bug 364543

Summary: Systray icons not centered below the blue bar
Product: [Plasma] plasmashell Reporter: Thomas Pfeiffer <thomas.pfeiffer>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 5.6.95   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.7
Sentry Crash Report:
Attachments: Broken alignment in Systray

Description Thomas Pfeiffer 2016-06-20 15:00:14 UTC
At least some systray icons are not centered below the blue bar, but slightly offset to the left (see attached screenshot).

Reproducible: Always
Comment 1 Thomas Pfeiffer 2016-06-20 15:00:47 UTC
Created attachment 99630 [details]
Broken alignment in Systray
Comment 2 David Edmundson 2016-06-20 22:25:38 UTC
after some debug, (rectangles) it seems the bar is fine, but the applet is not centered within the PlasmoidItem

Also, what the hell is going on with this line:

    onHeightChanged: {
        if (applet) {
            applet.width = height
        }
    }
Comment 3 David Edmundson 2016-06-21 12:40:22 UTC
Git commit aa5fde007d7085e8eb81a1d97dedcca96a5fc33b by David Edmundson.
Committed on 21/06/2016 at 12:40.
Pushed by davidedmundson into branch 'Plasma/5.7'.

Set System Tray AppletItem width properly

Summary:
Width should not include top and bottom margins
FIXED-IN: 5.7

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

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

M  +3    -2    applets/systemtray/package/contents/ui/items/AbstractItem.qml

http://commits.kde.org/plasma-workspace/aa5fde007d7085e8eb81a1d97dedcca96a5fc33b