Bug 461443

Summary: No "Show Password" buttons in new user creation page's password fields
Product: [Applications] systemsettings Reporter: Brahmastya <brahmmd12>
Component: kcm_usersAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: nate, uhhadd
Priority: NOR    
Version: 5.26.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Sentry Crash Report:

Description Brahmastya 2022-11-05 02:07:18 UTC
SUMMARY
Some password fields don't have a password toggle, e.g:
- Login screen, but for lock screen have
- User creation in System Settings (Password and Confirm password doesn't)

STEPS TO REPRODUCE
1. Go back to the login screen or create a new user in System Settings (System Settings > User > Add New User)
2. Input password

OBSERVED RESULT
Password field doesn't show toggle.

EXPECTED RESULT
Password field shows a toggle, for fields with password type.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
-
Comment 1 Nate Graham 2022-11-05 22:30:23 UTC
The lack of a "Show Password" button on the lock screen is intentional for a couple of good reasons that there's history behind, but I can't find the links for them right now.

Let's use this bug report to fix the issue on the "Create Users" page.
Comment 2 Nate Graham 2022-11-05 22:31:49 UTC
Git commit 12ef579f10a67975f7eb49ad41896eabd887be7e by Nate Graham.
Committed on 05/11/2022 at 22:31.
Pushed by ngraham into branch 'master'.

kcms/users: port New User password fields to Kirigami.PasswordField

That library component didn't exist when this UI was created. Now it
does, so let's use it.
FIXED-IN: 5.27

M  +3    -5    kcms/users/package/contents/ui/CreateUser.qml

https://invent.kde.org/plasma/plasma-workspace/commit/12ef579f10a67975f7eb49ad41896eabd887be7e