Merge lp:~vthompson/ubuntu-weather-app/reboot-get-initial-data-from-storage into lp:ubuntu-weather-app
Proposed by
Victor Thompson
Status: | Merged |
---|---|
Merge reported by: | Victor Thompson |
Merged at revision: | not available |
Proposed branch: | lp:~vthompson/ubuntu-weather-app/reboot-get-initial-data-from-storage |
Merge into: | lp:ubuntu-weather-app |
Diff against target: |
19 lines (+7/-1) 1 file modified
app/ubuntu-weather-app.qml (+7/-1) |
To merge this branch: | bzr merge lp:~vthompson/ubuntu-weather-app/reboot-get-initial-data-from-storage |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Ubuntu Weather Developers | Pending | ||
Review via email: mp+252962@code.launchpad.net |
Commit message
Get initial data from storage to not block the UI thread.
Description of the change
Nik had noticed that the app is blank when it is started. I'm 99% sure that is due to the initial refresh blocking the UI. I had the same issue with both OWM and TWC today. Ideally this should be done in a workerscript, but the solution here is a good temporary workaround.
To post a comment you must log in.
PASSED: Continuous integration, rev:20 91.189. 93.70:8080/ job/ubuntu- weather- app-reboot- ci/45/ 91.189. 93.70:8080/ job/ubuntu- weather- app-reboot- utopic- amd64-ci/ 15 91.189. 93.70:8080/ job/ubuntu- weather- app-reboot- vivid-amd64- ci/45
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- weather- app-reboot- ci/45/rebuild
http://