weather app hangs if launched without a network connection
Bug #1206025 reported by
Steve Langasek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Weather App |
Fix Released
|
High
|
Martin Borho |
Bug Description
Launching the weather app when the phone is not associated with a network, the app hangs displaying a spinner. Bringing up the menu from the bottom gives me no options to quit the app, or go into settings, or reset the network connection.
Killing the process from adb and restarting it after the network is up lets it launch, though it still presented the spinner for a long time waiting for the network with no info about what was happening. So the behavior with slow networks doesn't let the user know what to expect.
Related branches
lp:~martin-borho/ubuntu-weather-app/icon_codes
- Nicholas Skaggs (community): Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 741 lines (+274/-221)10 files modifiedcomponents/AddLocationSheet.qml (+13/-11)
components/LocationTab.qml (+1/-1)
components/WeatherApi.js (+26/-1)
components/WeatherConditionIconComponent.qml (+194/-197)
tests/autopilot/ubuntu_weather_app/tests/__init__.py (+2/-2)
tests/autopilot/ubuntu_weather_app/tests/test_locationmanager.py (+18/-4)
tests/autopilot/ubuntu_weather_app/tests/test_mainview.py (+1/-1)
tests/autopilot/ubuntu_weather_app/tests/test_settings.py (+2/-2)
tests/autopilot/ubuntu_weather_app/tests/weatherdata.py (+2/-2)
ubuntu-weather-app.qml (+15/-0)
affects: | touch-preview-images → ubuntu-weather-app |
Changed in ubuntu-weather-app: | |
status: | New → Confirmed |
assignee: | nobody → Martin Borho (martin-borho) |
Changed in ubuntu-weather-app: | |
importance: | Undecided → High |
status: | Confirmed → In Progress |
Changed in ubuntu-weather-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm not even convinced this is just an issue with slow networks. When it works, it seems to take about 15 seconds now, it used to only take about 2 seconds, and I'm in the same location with the same network...