! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-panel clock is slow to update time after resume from suspend
Status:
RESOLVED: MOVED
Product:
Xfce4-panel

Comments

Description David Pan 2013-01-20 18:24:34 CET
On Xubuntu 12.10 64-bit, when I resume from suspend, the clock displays the time when the suspend occurred, and it takes about 30 seconds for the clock to update to the correct time. Then the clock works fine after that.

The time needs to be updated immediately after resuming from suspend.
Comment 1 Steve Dodier-Lazaro editbugs 2015-02-10 16:03:58 CET
Created attachment 5923 
Patch that forces clock reset every second

Please review whether attached patch is acceptable to apply. It forces a reset of the clock every second.
Comment 2 Steve Dodier-Lazaro editbugs 2015-02-10 16:04:52 CET
Comment on attachment 5923 
Patch that forces clock reset every second

Apologies, I'm actually unsure the patch works. Let me test further!
Comment 3 Steve Dodier-Lazaro editbugs 2015-02-10 16:26:09 CET
Created attachment 5924 
Correct patch
Comment 4 Alexander Kurakin 2018-10-08 21:42:30 CEST
XFCE 4,12. Still buggy. Let's apply the patch?
Comment 5 Theo Linkspfeifer editbugs 2019-07-27 14:15:22 CEST
*** Bug 15750 has been marked as a duplicate of this bug. ***
Comment 6 Simon Steinbeiss editbugs 2020-05-27 12:47:54 CEST
*** Bug 15750 has been marked as a duplicate of this bug. ***
Comment 7 Simon Steinbeiss editbugs 2020-05-27 12:48:48 CEST
    (In reply to Alexander Kurakin from comment #4)
    > XFCE 4,12. Still buggy. Let's apply the patch?

    No, just spamming the clock with a ticker every second is wasteful so not a great approach by default.
Comment 8 Git Bot editbugs 2020-05-28 01:46:25 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/58.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #9785

Reported by:
David Pan
Reported on: 2013-01-20
Last modified on: 2020-05-28
Duplicates (1):
  • 15750 Clock lags when changing timezone

People

Assignee:
Nick Schermer
CC List:
5 users

Version

Version:
4.10.0

Attachments

Patch that forces clock reset every second (1.84 KB, patch)
2015-02-10 16:03 CET , Steve Dodier-Lazaro
no flags
Correct patch (1.83 KB, patch)
2015-02-10 16:26 CET , Steve Dodier-Lazaro
sidnioulz : review? ( sidnioulz )

Additional information