Current Location in Clock is wrong
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu Clock App | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
High
|
Nekhelesh Ramananthan |
Bug Description
manta 14.10 r44 Nexus 10
In System Settings I set the location to Albuquerque (timezone defaults to Denver).
When I open the Clock app, it says Searching for Location, then displays Farmington. There's dozens of Farmingtons in the US, but I'm thinking it means Farmington, NM. which is almost 200 miles away.
I can manually set the Clock location to Albuquerque, but it doesn't remember it.
-------
Use QT Location to obtain the user's location. The user location may take a while to load since we don't have AGPS support. But rather than waiting on it, lets proceed with the implementation.
- Use [1] to get the user' city list after passing it the lat and long obtained from GPS.
- If GPS is not available (disabled) or there is no network connection, then set the location string to the last known location. If there are no last know location, then set it to "Unable to detect user location".
- Once the user location is found, save it using U1db to use it the next time the app starts up.
Related branches
- Riccardo Padovani: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Nekhelesh Ramananthan: Needs Fixing
-
Diff: 770 lines (+451/-32)14 files modifiedCMakeLists.txt (+2/-2)
app/clock/ClockPage.qml (+126/-4)
app/ubuntu-clock-app.qml (+8/-0)
backend/CMakeLists.txt (+23/-0)
backend/modules/GeoLocation/backend.cpp (+34/-0)
backend/modules/GeoLocation/backend.h (+35/-0)
backend/modules/GeoLocation/geolocation.cpp (+100/-0)
backend/modules/GeoLocation/geolocation.h (+78/-0)
backend/modules/GeoLocation/qmldir (+2/-0)
debian/changelog (+1/-0)
debian/control (+2/-0)
po/com.ubuntu.clock.pot (+29/-25)
tests/unit/MockClockApp.qml (+9/-0)
ubuntu-clock-app.json (+2/-1)
current build number: 44
device name: manta
channel: devel
alias: ubuntu-touch/utopic
last update: 2014-05-26 01:29:29
version version: 44
version ubuntu: 20140522.1
version device: 20140513.2