SUMMARY Reproducible on both Arch Linux (Plasma 5.18 beta) and Neon unstable edition. STEPS TO REPRODUCE 1. open system settings > account details > user manager 2. click on "+" button on bottom 3. type your user name and "Real Name" 4. type nothing in "Email address" field 5. set your password 6. leave both checkboxes unchecked 7. click on "Apply" button 8. do logout 9. try to start Plasma session with your new user account OBSERVED RESULT SDDM says "Authentication failed". If I start Plasma with another user account and change the password of the user account created with the steps above, login works. EXPECTED RESULT We always can start Plasma with a user account created by User Manager SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.17.90 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.0
Works for me. What exact text did you enter in the text fields?
(In reply to Nate Graham from comment #1) > What exact text did you enter in the text fields? Tested again on Arch Linux, Plasma 5.18 beta. Same result. username = test real name = Bug Triaging password = usermanager Operating System: Arch Linux KDE Plasma Version: 5.17.90 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.1
I can't reproduce this, but it might be due to my cobbled-together session. Since you can, I'm marking this as CONFIRMED with high priority.
Hey Patrick, did you use the keyboard to confirm the user password or the mouse to click on ok ?
I have just tested both methods on Arch Linux, confirming password firstly with keyboard and after with mouse. Login fails on both cases.
I have a patch now https://phabricator.kde.org/D26998
Git commit 184a544cdef0f3d8834e1495d1f66aa2298a1468 by Méven Car. Committed on 29/01/2020 at 18:11. Pushed by meven into branch 'Plasma/5.18'. Fix new user creation Summary: UserAdded was called only when other parameters were provided for a new user beside name and realname. Which could not happen since 2471fa7d252de904b305dac77171fa300d66c05d and given the order the setData are called in accountinfo.cpp Alternative to D26977 FIXED-IN: 5.18 Test Plan: Create a new user with a password in a terminal su new_user Reviewers: ngraham, davidedmundson, #plasma Reviewed By: davidedmundson, #plasma Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D26998 M +2 -2 src/lib/accountmodel.cpp https://commits.kde.org/user-manager/184a544cdef0f3d8834e1495d1f66aa2298a1468
I have just applied your patch on Arch Linux. Really it fixes this bug. \o/ Thank you very much Méven.