Bug 382452

Summary: Empty input field shorter in height by 1px
Product: [Frameworks and Libraries] libplasma Reporter: Petr Nehez <petr.nehez>
Component: componentsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: bshah, mgraesslin, nate
Priority: NOR    
Version First Reported In: 5.50.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: empty_input
filled_input
fonts

Description Petr Nehez 2017-07-18 07:20:37 UTC
The password input field on the lock screen is growing by 1px when I start to type a password into it - when it is empty it is shorter in the height than if it contains a text.
Comment 1 Petr Nehez 2017-07-18 07:21:39 UTC
Created attachment 106697 [details]
empty_input
Comment 2 Petr Nehez 2017-07-18 07:22:11 UTC
Created attachment 106698 [details]
filled_input
Comment 3 Petr Nehez 2017-07-18 07:22:46 UTC
Created attachment 106699 [details]
fonts

My font configuration
Comment 4 Petr Nehez 2017-09-12 05:46:04 UTC
Could anybody update /kscreenlocker/greeter/fallbacktheme/Greeter.qml and set a (minimal?) height of the TextField with id=password?

I know this is stupid issue but it does not look well.
Comment 5 Nate Graham 2018-04-29 21:07:00 UTC
I can reproduce this in git master as well as 5.12 with the Ubuntu font at any size. Seems the Ubuntu font's round dot character is taller than most, which makes the text field want to grow taller.
Comment 6 Nate Graham 2019-10-07 02:18:13 UTC
This was fixed with a bunch of changes a few months ago!