Bug 474813 - Make password fields' mask character smaller by using a different Unicode code point for it
Summary: Make password fields' mask character smaller by using a different Unicode cod...
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: 5.27.8
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 19:17 UTC by svlmrc
Modified: 2023-11-13 15:46 UTC (History)
4 users (show)

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


Attachments
Current style (24.21 KB, image/png)
2023-09-23 19:17 UTC, svlmrc
Details
Mockup (23.95 KB, image/png)
2023-09-23 19:17 UTC, svlmrc
Details

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