https://bugs.kde.org/show_bug.cgi?id=427348
Bug ID: 427348
Summary: Some user profile fields won't apply unless they all
have unique new values
Product: systemsettings
Version: unspecified
Platform: Compiled Sources
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: kcm_users
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
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 "[email protected]", click Apply.
4. Restart the Users KCM and make sure the change applied.
5. Change the full name to "[email protected]", change the email address to
"[email protected]" as well, click Apply.
OBSERVED RESULT
The full name remains "foo", the email address is changed to "[email protected]".
EXPECTED RESULT
Both fields should change to "[email protected]".
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
Built from Git master at f7a5514f22465fe02759417333806b59e1238eb6.
Root cause: When the std::map used in UserApplyJob::start() is initialized, the
key-value {"[email protected]", full name setter ptr} is being overwritten by
key-value {"[email protected]", email setter ptr}.
Proposed fix: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/172
--
You are receiving this mail because:
You are watching all bug changes.