Bug 336209

Summary: Button icon of desktop toolbox misaligned
Product: [Plasma] plasmashell Reporter: Philipp Stefan <neptunecat34>
Component: generalAssignee: Sebastian Kügler <sebas>
Status: RESOLVED FIXED    
Severity: normal CC: bhush94, kde
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Desktop toolbox in the right corner
Desktop toolbox in the right corner

Description Philipp Stefan 2014-06-14 11:21:01 UTC
When the desktop toolbox resides on the left corner of the desktop the icon is not horizontally centred. However, when it's moved to the right corner it's correctly aligned. 

Regardless of the position of the desktop toolbox (left or right corner) the icon is always horizontally misaligned. 8px to the top and 14 px to the bottom. 

Reproducible: Always

Steps to Reproduce:
1. Drag the desktop toolbox in the left corner
2. See the horizontal misalignment
3. Drag the desktop toolbox into the right corner
4. See properly centred icon

1. Move the desktop toolbox into one of the corner of the screen
2. See the vertical misalignment (slightly moved upwards)
Comment 1 Philipp Stefan 2014-06-14 11:22:15 UTC
Created attachment 87180 [details]
Desktop toolbox in the right corner
Comment 2 Philipp Stefan 2014-06-14 11:22:52 UTC
Created attachment 87181 [details]
Desktop toolbox in the right corner
Comment 3 Philipp Stefan 2014-06-14 11:23:35 UTC
Comment on attachment 87180 [details]
Desktop toolbox in the right corner

Erm, I meant the left corner :s
Comment 4 David Edmundson 2014-06-16 18:13:03 UTC
David Edmundson wrote:
> @bug_id = 336209
> @bug_status = RESOLVED
> @resolution = FIXED
> @cf_commitlink = http://commits.kde.org/plasma-desktop/9ba87a5ca6de700afb042a65ceaef040201c80de
>
> Git commit 9ba87a5ca6de700afb042a65ceaef040201c80de by David Edmundson.
> Committed on 16/06/2014 at 18:12.
> Pushed by davidedmundson into branch 'master'.
>
> Correctly align toolbox icon
>
> M  +9    -1    toolboxes/desktoptoolbox/contents/ui/ToolBoxButton.qml
Comment 5 David Edmundson 2014-07-11 10:07:57 UTC
I fixed it perfectly then someone meddled and has broken it again. Brilliant.

e38dc4f0dadd5ca40f34e4ba538eedd23c594e92 is the offender.