Bug 336705 - Launcher labels are not horizontally aligned
Summary: Launcher labels are not horizontally aligned
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: master
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
: 336740 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-25 13:40 UTC by Vishesh Handa
Modified: 2014-08-13 20:03 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.2
Sentry Crash Report:


Attachments
Kickoff (101.27 KB, image/png)
2014-06-25 13:40 UTC, Vishesh Handa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vishesh Handa 2014-06-25 13:40:15 UTC
Created attachment 87394 [details]
Kickoff

The "Favorites" and "Leave" text looks completely off. The rest are also off, but by a lesser amount.
Comment 1 Marco Martin 2014-06-26 18:12:29 UTC
*** Bug 336740 has been marked as a duplicate of this bug. ***
Comment 2 Marco Martin 2014-06-26 18:15:01 UTC
the code is alright, and all goes into place as soon it gets resized (it can be tried with a kickoff inline in the desktop)
this suggests that is probably a bug in Qt
Text {
horizontalAlignment: Text.AlignHCenter
}

that doesn't always relayout

difficult to reproduce with minimal examples tough
Comment 3 Andrew Lake 2014-07-07 18:19:37 UTC
I realize this is already confirmed, but I thought it might worth mentioning that I'm experiencing this as well. Pretty much exactly as seen in the screenshot. Latest Project neon 5 daily, clean ~/.project-neon5-kde (~/.kde) dir.  Unfortunately, it's likely not a great first impression to see those alignments off on first encounter with the application launcher. 

Is there any way to force the relayout by resetting the alignment in onCompleted or some such?
Comment 4 Daniel Vrátil 2014-08-13 13:07:10 UTC
Git commit a8a6b279d366fb54398a98da977bb8fb1cc26f7d by Dan Vrátil.
Committed on 13/08/2014 at 13:06.
Pushed by dvratil into branch 'master'.

Properly align content of KickoffButtons to center

REVIEW: 119748
FIXED-IN: 5.0.2

M  +28   -22   applets/kickoff/package/contents/ui/KickoffButton.qml

http://commits.kde.org/plasma-desktop/a8a6b279d366fb54398a98da977bb8fb1cc26f7d
Comment 5 Daniel Vrátil 2014-08-13 20:03:53 UTC
Git commit d1eb286ed89a58505b22ff8a8dd6273995dcdf1c by Dan Vrátil.
Committed on 13/08/2014 at 13:06.
Pushed by dvratil into branch 'Plasma/5.0'.

Properly align content of KickoffButtons to center

REVIEW: 119748
FIXED-IN: 5.0.2

M  +28   -22   applets/kickoff/package/contents/ui/KickoffButton.qml

http://commits.kde.org/plasma-desktop/d1eb286ed89a58505b22ff8a8dd6273995dcdf1c