Bug 414687

Summary: Default Kickoff user icon is misaligned
Product: [Plasma] plasmashell Reporter: Björn Feber <bfeber>
Component: Application Launcher (Kickoff) widgetAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Misaligned Default Kickoff User Icon

Description Björn Feber 2019-11-30 13:58:16 UTC
Created attachment 124207 [details]
Misaligned Default Kickoff User Icon

SUMMARY
The default user icon in the Kickoff menu is misaligned (see attached screenshot).

STEPS TO REPRODUCE
1. Open Kickoff when using a new user/installation

OBSERVED RESULT
Misaligned user icon

EXPECTED RESULT
Properly aligned user icon
Comment 1 Filip Fila 2019-12-05 11:02:31 UTC
Git commit 7c11cb4685bee0826fdb1b95570796beef18d525 by Filip Fila.
Committed on 05/12/2019 at 11:02.
Pushed by filipf into branch 'master'.

[Kickoff] Fix default avatar offset

Nowadays we place avatars inside a circle with an always visible border.

The default avatar has not been adjusted for this and has both its own dimensions and positioning.

This patch has it fill the avatar circle and shifts it upwards a bit because otherwise the avatar overflows the circle when scaling is increased.

Anchors.bottomMargin is used instead of anchors.margins because the latter results in a blurry SVG, while the former doesn't and looks just fine.

M  +2    -7    applets/kickoff/package/contents/ui/Header.qml

https://commits.kde.org/plasma-desktop/7c11cb4685bee0826fdb1b95570796beef18d525