https://bugs.kde.org/show_bug.cgi?id=427348
Nate Graham <n...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |RESOLVED Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/plas | |ma/plasma-desktop/commit/5c | |dff9625bf35239f7337911bd1de | |047bce2546a --- Comment #1 from Nate Graham <n...@kde.org> --- Git commit 5cdff9625bf35239f7337911bd1de047bce2546a by Nate Graham, on behalf of Alexander Potashev. Committed on 25/10/2020 at 18:13. Pushed by ngraham into branch 'master'. Fix bug: Some user profile fields won't apply unless they all have unique new values. Fixes the following bug: Some user profile fields won't apply unless they all have unique new values. STEPS TO REPRODUCE 1. Start the Users KCM ("kcmshell5 kcm_users") 2. Select a user 3. Change the full name (the top-most input field) to "foo", change the email address to "f...@example.com", click Apply. 4. Restart the Users KCM and make sure the change applied. 5. Change the full name to "b...@example.com", change the email address to "b...@example.com" as well, click Apply. OBSERVED RESULT: The full name remains "foo", the email address is changed to "b...@example.com". EXPECTED RESULT: Both fields should change to "b...@example.com". Root cause: When the std::map used in UserApplyJob::start() is initialized, the key-value {"b...@example.com", full name setter ptr} is being overwritten by key-value {"b...@example.com", email setter ptr}. M +1 -1 kcms/users/src/user.cpp https://invent.kde.org/plasma/plasma-desktop/commit/5cdff9625bf35239f7337911bd1de047bce2546a -- You are receiving this mail because: You are watching all bug changes.