Bug 436248

Summary: The username and the user picture are not vertically aligned at center
Product: [Plasma] plasmashell Reporter: Lua <lv215bd5>
Component: Application Launcher (Kickoff) widgetAssignee: David Edmundson <kde>
Status: RESOLVED UPSTREAM    
Severity: normal CC: mikel5764, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.21.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: alignment
this also happens in the default theme (breeze)
misalignment

Description Lua 2021-04-27 03:09:02 UTC
Created attachment 137948 [details]
alignment

SUMMARY


STEPS TO REPRODUCE

OBSERVED RESULT
The username is aligned vertically at the center of the top panel in Kickoff.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Lua 2021-04-27 03:20:15 UTC
Created attachment 137950 [details]
this also happens in the default theme (breeze)
Comment 2 Nate Graham 2021-04-27 19:37:05 UTC
Your screenshots appear to show perfect alignment to me. Can you clarify the problem?
Comment 3 Lua 2021-04-28 05:45:31 UTC
Created attachment 137971 [details]
misalignment

Okay. I attached another screenshot
Comment 4 Nate Graham 2021-04-28 15:14:45 UTC
Ah you were talking about the label, not the icon.

We are already vertically centering the label, which means that any residual mis-alignment is going to be due to one or more of the following:
- Peculiarities of fonts (e.g. different descender heights making the bulk of the text look too high)
- Pixel mis-alignments caused by insufficient screen resolution or use of fractional scaling or forcing the font DPI to something non-standard
- Bugs in the Qt QML text layout engine

So I'm afraid there is nothing more we can do in KDE code, sorry.
Comment 5 Lua 2021-04-28 23:14:08 UTC
Is the username and the picture in the same panel? Because the username is aligned to the picture, but not to the panel. IDK why I filled this bug, it seems a superfluous change \=
Comment 6 Lua 2021-04-28 23:15:00 UTC
 Because the username is aligned to the picture, but not to the entire top panel*