STEPS TO REPRODUCE 1. open system settings > account details > user manager 2. type an email address to your user account 3. click on "Apply" button, type your password and press enter/return to confirm 4. close the User Manager and reopen it 5. clear the email address field (notice that "Apply" button remains greyed out) 6. close system settings (no prompt to save/discard the change shows up). 7. reopen the User Manager (Notice that the email address field is still showing your email) 8. clear the email address filed and modify another user account setting (real name, for example) 9. click on "Apply" button, type your password and press enter/return to confirm 10. close the User Manager and reopen it: now the email address field is empty EXPECTED RESULT email address field can always be cleared SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.16.5 KDE Frameworks Version: 5.61.0 Qt Version: 5.13.1
Looks like the password field doesn't accept an empty string as valid input that can cause the Apply button to become enabled
Git commit 386f6771d287a0092ae9f1d588068ac2e0854079 by Méven Car. Committed on 22/01/2020 at 20:28. Pushed by meven into branch 'Plasma/5.18'. Consider empty email valid Summary: FIXED-IN: 5.18 Test Plan: 1. open system settings > account details > user manager 2. type an email address to your user account 3. click on "Apply" button, type your password and press enter/return to confirm 4. close the User Manager and reopen it 5. clear the email address field 6. Apply The empty email is saved. Reviewers: #plasma, ngraham Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D26824 M +1 -1 src/accountinfo.cpp https://commits.kde.org/user-manager/386f6771d287a0092ae9f1d588068ac2e0854079
Git commit 89ecae72aa14ac21cc990eedaf8e8f679e1a7e1c by Méven Car. Committed on 22/01/2020 at 20:30. Pushed by meven into branch 'master'. Warn user when changing selected user about potential data loss Summary: CCBUG: 411736 Reviewers: ngraham, #plasma Reviewed By: ngraham Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D26844 M +13 -0 src/accountinfo.cpp https://commits.kde.org/user-manager/89ecae72aa14ac21cc990eedaf8e8f679e1a7e1c