Bug 364543 - Systray icons not centered below the blue bar
Summary: Systray icons not centered below the blue bar
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 5.6.95
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-20 15:00 UTC by Thomas Pfeiffer
Modified: 2016-06-21 12:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.7
Sentry Crash Report:


Attachments
Broken alignment in Systray (708 bytes, image/jpeg)
2016-06-20 15:00 UTC, Thomas Pfeiffer
Details

Note You need to log in before you can comment on or make changes to this bug.
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