Clock doesn't update after changing time zone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-datetime (Ubuntu) |
Fix Released
|
High
|
Charles Kerr |
Bug Description
indicator-datetime 13.10.0+
1. Open "System Settings" > "Time & Date".
2. Change the time zone. (And if bug 1102890 has been fixed, choose "Apply".)
3. Look at the clock in the menu bar.
4. In the "Clock" tab, toggle any of the "Weekday", "Date and month", or "Time in other locations" options.
5. In the "Clock" tab, toggle any of the "12/24-hour time", "Seconds", or "Time in auto-detected locations" options.
What happens:
3. The clock still shows the time in the previous time zone.
4. The clock still shows the time in the previous time zone.
5. The clock updates to the new time zone.
What should happen:
3. The clock shows the time in the new time zone, just like System Settings does.
This bug was previously fixed as bug 735445. On some systems the bug is masked by bug 1244680, where the clock freezes instead.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Pete Woods: Pending requested
-
Diff: 15815 lines (+8344/-6365)101 files modifiedCMakeLists.txt (+11/-7)
README (+53/-0)
cmake/GCov.cmake (+2/-1)
debian/control (+4/-0)
include/CMakeLists.txt (+1/-0)
include/datetime/CMakeLists.txt (+2/-0)
include/datetime/actions-live.h (+60/-0)
include/datetime/actions.h (+74/-0)
include/datetime/appointment.h (+55/-0)
include/datetime/clock-mock.h (+61/-0)
include/datetime/clock.h (+99/-0)
include/datetime/date-time.h (+68/-0)
include/datetime/dbus-shared.h (+25/-0)
include/datetime/exporter.h (+74/-0)
include/datetime/formatter.h (+138/-0)
include/datetime/locations-settings.h (+55/-0)
include/datetime/locations.h (+79/-0)
include/datetime/menu.h (+85/-0)
include/datetime/planner-eds.h (+49/-0)
include/datetime/planner.h (+76/-0)
include/datetime/settings-live.h (+70/-0)
include/datetime/settings-shared.h (+49/-0)
include/datetime/settings.h (+65/-0)
include/datetime/state.h (+75/-0)
include/datetime/timezone-file.h (+63/-0)
include/datetime/timezone-geoclue.h (+69/-0)
include/datetime/timezone.h (+45/-0)
include/datetime/timezones-live.h (+56/-0)
include/datetime/timezones.h (+59/-0)
include/datetime/utils.h (+54/-0)
panel-gnome/CMakeLists.txt (+7/-3)
panel-unity/CMakeLists.txt (+6/-3)
panel/datetime-prefs-locations.c (+14/-14)
panel/datetime-prefs.c (+29/-25)
po/POTFILES.in (+3/-3)
src/CMakeLists.txt (+23/-28)
src/actions-live.cpp (+217/-0)
src/actions.cpp (+266/-0)
src/appointment.cpp (+48/-0)
src/clock-live.c (+0/-278)
src/clock-live.cpp (+163/-0)
src/clock-live.h (+0/-73)
src/clock.c (+0/-110)
src/clock.cpp (+93/-0)
src/clock.h (+0/-76)
src/date-time.cpp (+159/-0)
src/dbus-shared.h (+0/-24)
src/exporter.cpp (+145/-0)
src/formatter-desktop.cpp (+169/-0)
src/formatter.cpp (+267/-0)
src/locations-settings.cpp (+92/-0)
src/locations.cpp (+59/-0)
src/main.c (+0/-83)
src/main.cpp (+86/-0)
src/menu.cpp (+598/-0)
src/planner-eds.c (+0/-653)
src/planner-eds.cpp (+425/-0)
src/planner-eds.h (+0/-58)
src/planner.c (+0/-281)
src/planner.h (+0/-167)
src/service.c (+0/-2432)
src/service.h (+0/-84)
src/settings-live.cpp (+257/-0)
src/settings-shared.h (+0/-50)
src/timezone-file.c (+0/-212)
src/timezone-file.cpp (+103/-0)
src/timezone-file.h (+0/-58)
src/timezone-geoclue.c (+0/-227)
src/timezone-geoclue.cpp (+250/-0)
src/timezone-geoclue.h (+0/-57)
src/timezone.c (+0/-134)
src/timezone.h (+0/-72)
src/timezones-live.cpp (+72/-0)
src/utils.c (+0/-466)
src/utils.h (+0/-66)
tests/CMakeLists.txt (+37/-9)
tests/Makefile.am.strings (+0/-38)
tests/actions-mock.h (+82/-0)
tests/geoclue-fixture.h (+150/-0)
tests/glib-fixture.h (+58/-40)
tests/planner-mock.c (+0/-178)
tests/planner-mock.h (+0/-58)
tests/state-fixture.h (+60/-0)
tests/state-mock.h (+43/-0)
tests/test-actions.cpp (+232/-0)
tests/test-clock.cpp (+140/-0)
tests/test-dbus-fixture.h (+102/-0)
tests/test-exporter.cpp (+134/-0)
tests/test-formatter.cc (+0/-98)
tests/test-formatter.cpp (+256/-0)
tests/test-indicator.cc (+0/-92)
tests/test-live-actions.cpp (+403/-0)
tests/test-locations.cpp (+169/-0)
tests/test-menus.cpp (+524/-0)
tests/test-planner.cpp (+85/-0)
tests/test-settings.cpp (+191/-0)
tests/test-timezone-file.cpp (+133/-0)
tests/test-timezone-geoclue.cpp (+48/-0)
tests/test-timezones.cpp (+124/-0)
tests/test-utils.cpp (+93/-107)
trim-lcov.py (+53/-0)
- Ted Gould (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 85 lines (+16/-26)1 file modifiedsrc/service.c (+16/-26)
description: | updated |
I can confirm that the tz is not updated, but toggling seconds or 12/24 doesn't fix it here ... changing the auto-detection one does it though