Created attachment 91433 [details] both clocks show a different time Have a look at the screenshot. The digital clock of plasma and the ntp time in system settings are out of sync (~25 sec delay).
Hi, At first side, I thought the same. But when I enabled show seconds for the digital clock the time was correct. So I it seems more a widget/dsiplay update issue. Martin Kho
Indeed, with seconds enabled both clocks show the same time.
Adjusting summary, see also downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1199071
So I suppose the issue is that the update timer is set to a 60-second interval, but not synchronized to the beginning of the minute.
PS: I guess chances are that with "show seconds" enabled, there is also a delay of something like half a second on average, due to the same synchronization issue. It's just less noticeable in that case.
Not quite. It is aligned to the minute, but that alignment happens when plasma starts. If the clock changes due to NTP after that then the alignment is off. According to timedated documentation, the solution to that is: >Note that this service will not inform you about system time changes. Use timerfd() with >CLOCK_REALTIME and TFD_TIMER_CANCEL_ON_SET for that.
Hi, For me this issue seems to be solved in plasma 5.3. Martin Kho
Git commit bbfffc2d65ab53acd41ee056fdd2a6ea9c2f6a08 by David Edmundson. Committed on 11/09/2015 at 15:54. Pushed by davidedmundson into branch 'master'. Monitor for the clock changes from the kernel At the moment we update the clock when we resume from suspend or from the time KCM. However the signal from the clock KCM isn't very good as it signals just after it requests an NTP update or clock change, not necessarily when that finishes. Also we miss any external NTP updates which might occur at other times throughout the day, such as a big change when we connect to the network This method also avoids needing solid to tell us when we're resuming from suspend, which is deprecated API and also seems slightly slower. REVIEW: 125028 M +32 -2 dataengines/time/timeengine.cpp http://commits.kde.org/plasma-workspace/bbfffc2d65ab53acd41ee056fdd2a6ea9c2f6a08