Today's date doesn't change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Indicator Date and Time |
Fix Released
|
Low
|
Unassigned | ||
indicator-datetime (Ubuntu) |
Fix Released
|
Low
|
Michael Terry |
Bug Description
Binary package hint: indicator-datetime
If I suspend my computer and wake up the next day, the date label in the indicator-datetime menu hasn't changed (to be clear, I'm not talking about the label in the panel, but in the dropdown menu).
I don't know if it works correctly if left continuously going, but I know it happens upon a suspend/resume.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: indicator-datetime 0.2.2-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Wed Apr 13 10:15:46 2011
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_GB.utf8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: indicator-datetime
UpgradeStatus: Upgraded to natty on 2010-09-28 (197 days ago)
Related branches
- Mikkel Kamstrup Erlandsen (community): Approve
-
Diff: 128 lines (+43/-40)2 files modifiedsrc/datetime-service.c (+43/-0)
src/indicator-datetime.c (+0/-40)
- Ken VanDine: Pending requested
-
Diff: 301 lines (+59/-27) (has conflicts)8 files modifiedChangeLog (+32/-0)
configure (+10/-19)
configure.ac (+1/-2)
data/datetime-dialog.ui (+0/-1)
debian/changelog (+14/-0)
debian/control (+0/-2)
src/datetime-prefs.c (+0/-1)
src/datetime-service.c (+2/-2)
Changed in indicator-datetime: | |
status: | New → Fix Committed |
milestone: | none → 0.2.3 |
Changed in indicator-datetime: | |
status: | Fix Committed → Fix Released |
Changed in indicator-datetime: | |
importance: | Undecided → Low |
Changed in indicator-datetime (Ubuntu): | |
importance: | Undecided → Low |
status: | In Progress → Fix Committed |
OK, I know why this is happening. We schedule an update for the menu using g_timeout_ add_seconds, with a calculated time one second after midnight. But that function pauses counting down while asleep. So if the user suspends, the update will be offset by however long the user suspended for.
Coming up with a patch.