Bug 429112 - Unsynchronizing clock throws error
Summary: Unsynchronizing clock throws error
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_clock (show other bugs)
Version: 5.20.3
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Paul Campbell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-14 19:51 UTC by David
Modified: 2022-07-21 21:02 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2020-11-14 19:51:40 UTC
SUMMARY
If I set the clock to be updated automatically, apply the setting, and then untick it, plasma will throw an error pop up.

STEPS TO REPRODUCE
1. Right click the clock in the taskbar.
2. Select "Adjust Date and Time"
3. Tick "Set date and time automatically".
4. Click "Apply".
5. Uncheck the previous checkbox.
6. Click "OK"

OBSERVED RESULT
Throws error: "Unable to set current time"

EXPECTED RESULT
Should leave the time as to what it synchronized with the setting, but don't do any further synchronization.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-11-16 20:02:24 UTC
Can reproduce. How annoying.
Comment 2 Bug Janitor Service 2020-11-24 08:07:08 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/242
Comment 3 Nate Graham 2022-07-21 21:02:29 UTC
As discovered in https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/242#note_141636, this is an upstream issue that we really shouldn't work around in our own code.