Bug 461443 - No "Show Password" buttons in new user creation page's password fields
Summary: No "Show Password" buttons in new user creation page's password fields
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (show other bugs)
Version: 5.26.2
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-05 02:07 UTC by Brahmastya
Modified: 2022-11-05 22:31 UTC (History)
2 users (show)

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


Attachments

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