Bug 447364 - Unable to set current time manually
Summary: Unable to set current time manually
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_clock (other bugs)
Version First Reported In: 5.23.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Paul Campbell
URL: https://github.com/systemd/systemd/is...
Keywords:
: 462380 464057 486255 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-12-22 02:05 UTC by eo
Modified: 2025-04-24 11:59 UTC (History)
12 users (show)

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


Attachments
Unable to set current time manually (43.52 KB, image/jpeg)
2021-12-22 02:05 UTC, eo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eo 2021-12-22 02:05:14 UTC
Created attachment 144773 [details]
Unable to set current time manually

SUMMARY
Error when disabling "Set date and time automatically" 

Error: Unable to set current time


STEPS TO REPRODUCE
1. Open system settings > regional settings > Date & time.  
2. Untick "Set date and time automatically".
3. click apply. 

OBSERVED RESULT
Error: Unable to set current time

EXPECTED RESULT
manual date and time will take effect.

SOFTWARE/OS VERSIONS 
Linux: 5.15.10-arch1-1 (64-bit)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2021-12-24 15:49:15 UTC
please include output from running systemsettings5 in a terminal
Comment 2 eo 2021-12-29 19:21:23 UTC
(In reply to David Edmundson from comment #1)
> please include output from running systemsettings5 in a terminal

╰─ systemsettings5                                                                                                                                ─╯
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qml: The item SubCategoryPage_QMLTYPE_111(0x561e159f79c0) is already in the PageRow
kf.coreaddons: "Could not load plugin from "
qml: The item SubCategoryPage_QMLTYPE_111(0x561e159f79c0) is already in the PageRow
Failed to set current time "org.freedesktop.timedate1.AutomaticTimeSyncEnabled" "Previous request is not finished, refusing."
kf.coreaddons: "Could not load plugin from "
Comment 3 David Edmundson 2021-12-29 22:18:29 UTC
>Failed to set current time "org.freedesktop.timedate1.AutomaticTimeSyncEnabled"
"Previous request is not finished, refusing."


That error comes from timedated. Can you confirm it works when using timedatectl
Comment 4 eo 2021-12-30 17:06:50 UTC
From what i observed, changes seems to take effect even if there is an Error: Unable to set current time.

-when date and time is set automatically.

╰─ timedatectl                                                                                                                                    ─╯

               Local time: Fri 2021-12-31 01:00:55 PST
           Universal time: Thu 2021-12-30 17:00:55 UTC
                 RTC time: Fri 2021-12-31 01:00:54
                Time zone: Asia/Manila (PST, +0800)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: yes



-when date and time is set manually.

╰─ timedatectl                                                                                                                                    ─╯

               Local time: Fri 2021-12-31 01:01:06 PST
           Universal time: Thu 2021-12-30 17:01:06 UTC
                 RTC time: Fri 2021-12-31 01:01:05
                Time zone: Asia/Manila (PST, +0800)
System clock synchronized: yes
              NTP service: inactive
          RTC in local TZ: yes
Comment 5 eo 2021-12-30 17:47:38 UTC
no errors when using command
timedatectl set-ntp false
Comment 6 David Edmundson 2021-12-30 21:15:58 UTC
I am an absolute idiot.
https://github.com/systemd/systemd/issues/17739

I investigated all this a year ago! Completely forgot.

I thought I did a local workaround, but maybe my brain is failing there too.
Comment 7 eo 2022-02-24 19:23:58 UTC
will this bug be fixed.. tried a clean install just now and it's still the same. i know it's not a big issue but still hopeful that to get it fixed in the future.
Comment 8 eo 2022-06-21 21:42:02 UTC
issue is occurring again.
Comment 9 Nicolas Fella 2022-12-04 22:15:17 UTC
*** Bug 462380 has been marked as a duplicate of this bug. ***
Comment 10 yizel7 2023-01-10 19:15:57 UTC
I can confirm i cannot set the time manually on a fresh install. Not a good first impression when i was trying to help my friend get into linux.
Comment 11 Nate Graham 2023-01-10 21:42:34 UTC
*** Bug 464057 has been marked as a duplicate of this bug. ***
Comment 12 Patrick Silva 2024-04-28 16:02:16 UTC
*** Bug 486255 has been marked as a duplicate of this bug. ***
Comment 13 vmelkon 2024-10-10 01:01:26 UTC
I see the same problem on 2 PCs so far. They both run Kubuntu 24.04. One has the latest updates. The other is a fresh install.
Kubuntu 24.04 has been released on Aug 30, 2024 so I am guessing the problem was present then as well. It is now Wednesday, Oct 09, 2024.
Each PC has a completely different motherboard. One has a Ryzen 5 3600 @ 3.6 GHz and the other is Phenom II X 4 B55 @ 3.8 GHz.

Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-45-generic (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 24 GB of RAM
Graphics Processor: AMD Radeon RX 6800
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7A34
System Version: 1.0
Comment 14 Gianfranco Cassone 2025-03-26 18:57:18 UTC
It works for me
Operating System: openSUSE Tumbleweed 20250324
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-1-default (64-bit)
Graphics Platform: Wayland
Comment 15 Riccardo Robecchi 2025-04-03 14:14:59 UTC
Any chance of this ever being fixed? It is quite basic functionality which is needed for the computer to work - even doing simple things like connecting to a website isn't possible when the date is wrong - and sometimes the automatic setting of date and time does not work for unfathomable reasons.
Comment 16 Nate Graham 2025-04-03 19:10:47 UTC
We'll need a reproducible test case. This functionality is working fine for me when I give it a whirl (git master Plasma + kde things, Qt 6.7.2, Fedora 41 KDE)

Ultimately I suspect the failures here will likely be traced to some kind of distro or user account setup issue.
Comment 17 Nate Graham 2025-04-24 11:59:27 UTC
The systemd issue is fixed now, meaning no local workaround is needed anymore.