clock applet time wrong by up to 1 minute

Bug #1919456 reported by rasmuslerdorf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Plug-ins
New
Undecided
Unassigned

Bug Description

If the clock applet does not display seconds, then during runtime, it can go wrong up to one minute. It will update its display time every 1 minute. At startup it will update its time at between the 00 and 01 seconds every minute. After running some time, it will change to updating its time in the middle or towards the end of a minute. In the worst case, it will update the time on the 59-th second, so it almost always shows the wrong minute.

How to fix: Change that the updating interval is the same as if it was displaying seconds.

Revision history for this message
Fabounet (fabounet03) wrote :

Hi,
I was not able to reproduce it.
I tried by manually launching the dock in the middle of a minute.

There is a commit (f701fb4fa9d83cbd80e2c2df58f0903bf2ffcfe3) that should prevent this problem, at least on startup.
In which condition do you get the problem ?

Revision history for this message
rasmuslerdorf (rasmuslerdorf) wrote :

You are right, after restarting the dock or after log off log on, the time is correct. But during runtime, it can go wrong and stay wrong (up to 1 minute).

Could it be that in the commit (f701fb4fa9d83cbd80e2c2df58f0903bf2ffcfe3), the timer is always set to 60 sec from current time, so that there is a cumulative error after long enough time?

I am unable to determine what particular event causes this error.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.