Zoom level and reported zoom level mismatch when restore from suspend
Bug #1514099 reported by
Robie Basak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
camera-app |
Fix Released
|
High
|
Ugo Riboni | ||
camera-app (Ubuntu) |
Fix Released
|
High
|
Ugo Riboni |
Bug Description
On Aquaris 4.5 r26.
Steps to reproduce:
1. Pinch zoom to maximum zoom.
2. Take a photo.
3. Press power button to turn screen off.
4. Press power button to turn screen back on.
5. Slide to unlock.
6. Enter pin.
Expected results: camera still on maximum zoom.
Actual results: camera on minimum zoom.
7. Pinch to zoom in again.
Expected results: camera zooms in again.
Actual results: cannot zoom in at all. Zoom control appears and displays maximum zoom.
Speculation: the UI thinks the camera is on maximum zoom so doesn't send any zoom change request to the backend. But the camera restored to minimum zoom when restoring from standby.
Related branches
lp://staging/~uriboni/camera-app/reset-zoom-ui
- Florian Boucault: Pending requested
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 204 lines (+80/-28)4 files modifiedViewFinderOverlay.qml (+7/-0)
tests/autopilot/camera_app/emulators/main_window.py (+20/-1)
tests/autopilot/camera_app/tests/test_capture.py (+6/-27)
tests/autopilot/camera_app/tests/test_zoom.py (+47/-0)
Superseded
for merging
into
lp://staging/camera-app
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Florian Boucault (community): Needs Information
-
Diff: 212 lines (+81/-29)4 files modifiedViewFinderOverlay.qml (+8/-1)
tests/autopilot/camera_app/emulators/main_window.py (+20/-1)
tests/autopilot/camera_app/tests/test_capture.py (+6/-27)
tests/autopilot/camera_app/tests/test_zoom.py (+47/-0)
Changed in camera-app (Ubuntu): | |
assignee: | nobody → Ugo Riboni (uriboni) |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
milestone: | none → ww02-2016 |
assignee: | nobody → Bill Filler (bfiller) |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
Changed in camera-app (Ubuntu): | |
status: | New → In Progress |
Changed in camera-app: | |
status: | New → In Progress |
assignee: | nobody → Ugo Riboni (uriboni) |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in camera-app: | |
status: | In Progress → Fix Committed |
Changed in camera-app (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in camera-app: | |
status: | Fix Committed → Fix Released |
Changed in camera-app (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Speculation was correct. Camera resets zoom to no zoom when returning from suspend, but the UI still shows the old value