Bug 474813

Summary: Make password fields' mask character smaller by using a different Unicode code point for it
Product: [Plasma] Breeze Reporter: svlmrc
Component: QStyleAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: kde, nate, noahadvs, uhhadd
Priority: NOR    
Version First Reported In: 5.27.8   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Current style
Mockup

Description svlmrc 2023-09-23 19:17:26 UTC
Created attachment 161829 [details]
Current style

I find the password fields mask character (the big dot showing up instead of text) to be way too big.
They should be smaller IMO, of course centered on the vertical middle line of the textbox.
That would give a more polished look to the whole system, especially since a password field is what the user sees always when prompted for login in SDDM.

Attaching what it loosk like now vs a mockup I made.
Comment 1 svlmrc 2023-09-23 19:17:50 UTC
Created attachment 161830 [details]
Mockup
Comment 2 Nate Graham 2023-09-25 18:17:08 UTC
The dot currently comes from the active font. Doing what you propose turns out to be surprisingly challenging without deleting that architecture entirely and using custom dots. Doing so is possible, but would have to be implemented in multiple places that are then kept in sync, and would result in a higher overall maintenance burden over time. So I don't think it's worth it, sorry. But thanks for the idea anyway!
Comment 3 svlmrc 2023-09-25 19:18:49 UTC
There is this workaround for that:
https://stackoverflow.com/questions/52500097/how-to-make-bullet-points-bigger-in-password-mode-for-qlineedit
Basically use another Unicode code point, should do the trick
Comment 4 Nate Graham 2023-09-28 16:06:53 UTC
Huh, I had no idea. Ok, re-opening.
Comment 5 David Redondo 2023-11-13 15:46:19 UTC
Styles can set it with a style hint 
SH_LineEdit_PasswordCharacter