UTC offset reported incorrectly after setting time zone first time

Bug #1295550 reported by Selene ToyKeeper
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qtdeclarative-opensource-src (Ubuntu)
Fix Released
High
Iain Lane
ubuntu-system-settings (Ubuntu)
Invalid
High
Unassigned

Bug Description

After a fresh install of Ubuntu Touch, one of the first things I want to do is set my time zone. If I do this, it works, but the display is odd until I quit the settings app and restart it. More specifically:

- Drag the clock indicator down, and tap time/date settings.
- Tap "Etc/UTC UTC+0" and set the time zone to Denver.
- The Time & Date settings app now shows "America/Denver UTC+1", and the time shown a few lines down lists a time which isn't correct. However, the clock in the upper right has the right time.

After this, if I quit the settings app and come back, everything is displayed correctly (currently UTC-6).

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report, indeed the utc offset is displayed buggy (can be reproduced on a desktop as well)

Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Iain Lane (laney) wrote :

This all works correctly in our last promoted image (237), which uses Qt 5.0 still. I strongly suspect it's a change/bug with 5.2.

Can you confirm which image you were using, please?

Revision history for this message
Iain Lane (laney) wrote :
Revision history for this message
Iain Lane (laney) wrote :
Changed in ubuntu-system-settings (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Charles Kerr (charlesk) wrote :

Laney, I agree this may be a change related to 5.0 --> 5.2. This bug is consistently reproducible in image 257, which has Qt 5.2.1+dfsg-1ubuntu10

Changed in ubuntu-system-settings (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Iain Lane (laney) wrote :

Yeah, I can't blame u-s-s here. We could do some terrible thing like call timeZoneUpdated() (or the correct name) until it's correct to work around the problem...

Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → Invalid
Changed in qtdeclarative-opensource-src (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Ah, sorry. I put the revision in a tag but forgot to put it into the main bug description. I confirmed it in image 249, but I've seen it pretty consistently since then too.

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Still happening on image 261.

tags: added: r261
tags: added: r263
Revision history for this message
Iain Lane (laney) wrote :

I've identified a Qt fix for this bug, and I'm in the process of sending it upstream now.

Changed in qtdeclarative-opensource-src (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Iain Lane (laney)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtdeclarative-opensource-src - 5.2.1-3ubuntu12

---------------
qtdeclarative-opensource-src (5.2.1-3ubuntu12) trusty; urgency=medium

  * 0001-Call-tzset-from-getLocalTZA-so-we-learn-about-tz-cha.patch: Call
    tzset() from getLocalTZA() so we learn about tz changes. Cherry-pick from
    upstream stable branch (LP: #1295550)
 -- Iain Lane <email address hidden> Mon, 31 Mar 2014 12:05:28 +0100

Changed in qtdeclarative-opensource-src (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

This seems to be fixed in image 276 and probably a few before it.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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