Location doesn't refresh when device location changes

Bug #1395918 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
Invalid
Medium
Unassigned

Bug Description

krillin #168 (latest)

Open the clock app
Hit location and ensure a valid location is show beneath the clock
Switch off the phone
Get on a plane to somewhere else
Switch on the phone
Go to system settings and change the timezone, observe the clock in the indicator changes correctly
Open the clock app
Note the location still says where you were before you got on the plane
Press the location to try and trigger a re-detection or pull down to refresh. Nothing changes

I'd expect it to either update automagically or at least via me stabbing it with my finger.

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Hey alan, the clock app does do a location check everytime you open the clock app. So when you got off your flight and opened the clock app, you need to give it a few seconds to refresh the location. While it does that, it shows the old location. Did you wait long enough?

Although pressing the location to refresh it is a good idea (though not part of the design spec we were given).

Changed in ubuntu-clock-app:
status: New → Incomplete
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

I waited quite a long while (a few hours).

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

I don't want this bug report to be expire. I am setting its status to New. @popey, when you travel to fossdom, please recheck this bug to see if it is reproducible. I did take a look at the clock app code and it does indeed recheck user location everytime the clock app is opened. My intuition is that at the time this bug was reported, the location service could have been flaky and not provided the coordinates to the clock app resulting in the old location being shown.

That said, let's test it again to confirm for sure.

Changed in ubuntu-clock-app:
status: Incomplete → New
milestone: none → ota-2
Changed in ubuntu-clock-app:
milestone: 3.4 → 3.x.backlog
Changed in ubuntu-clock-app:
milestone: 3.x.backlog → 3.6
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Unable to reproduce this bug. Marking invalid.

Changed in ubuntu-clock-app:
status: Triaged → Invalid
Changed in ubuntu-clock-app:
milestone: 3.6 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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