← Back to team overview

cairo-dock-team team mailing list archive

[Bug 1919456] Re: clock applet time wrong by up to 1 minute

 

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 changed:

- If the clock applet does not display seconds, then it updates its time
- every minute. This will result in displayed times that are wrong up to
- one minute. In the worst case, the initialization happened on the 59-th
- second, so it almost always shows the wrong minute.
+ 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.

-- 
You received this bug notification because you are a member of Cairo-
Dock Devs, which is subscribed to Cairo-Dock Plug-ins.
https://bugs.launchpad.net/bugs/1919456

Title:
  clock applet time wrong by up to 1 minute

Status in Cairo-Dock Plug-ins:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1919456/+subscriptions


References