Bug 414687 - Default Kickoff user icon is misaligned
Summary: Default Kickoff user icon is misaligned
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-30 13:58 UTC by Björn Feber
Modified: 2019-12-05 11:02 UTC (History)
1 user (show)

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


Attachments
Misaligned Default Kickoff User Icon (37.70 KB, image/png)
2019-11-30 13:58 UTC, Björn Feber
Details

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