Closed Bug 1179466 Opened 11 years ago Closed 10 years ago

[Camera] Zoom level resets to default after Locking and Unlocking device.

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 unaffected, b2g-v2.1 affected, b2g-v2.2 affected, b2g-master affected)

RESOLVED INVALID
Tracking Status
b2g-v2.0 --- unaffected
b2g-v2.1 --- affected
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: jthomas, Unassigned)

References

()

Details

(Keywords: polish, regression, Whiteboard: [2.5-Daily-Testing])

Attachments

(1 file)

Description: If the zoom level of the camera has be changed to focus in on the desired level the zoom level can be reset to default if the user has locked and then unlocked device. Repro Steps: 1) Update a Flame to 20150629104034 2) Launch Camera App 3) Zoom in. 4) Lock and Unlock device. Actual: Zoom level resets to default. Expected: It is expected that the zoom level will remain on the previously set level by the user. Environmental Variables: Device: Flame 2.5 kk full flash (319mb) Build ID: 20150701010205 Gaia: 90ed5ebde89b6fc095524e47c59d5b8d192d3ff2 Gecko: 079b6f1ae1c3 Gonk: a4f6f31d1fe213ac935ca8ede7d05e47324101a4 Version: 42.0a1 (2.5) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0 Repro frequency: 100% See attached: Logcat & Video
This issue DOES occur on the Flame 2.2 and 2.1. Result: Zoom level is reset to default after locking and unlocking device. Environmental Variables: Device: Flame 2.2 Kk full flash (319mb) Build ID: 20150701002506 Gaia: bd386f346eb1591fddbc84bf034b22700e7e2a58 Gecko: f16c1125b9d6 Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 37.0 (2.2) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0 Environmental Variables: Device: Flame 2.1 Kk full flash (319mb) Build ID: 20150701001204 Gaia: 7080a7c28b0242f81d689d2339dfa1177e23f48f Gecko: c201e76c63d1 Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 34.0 (2.1) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 ======================================================== This issue does NOT occur on the Flame 2.0 Result: Device remains on the default zoom level after locking and unlocking device. Environmental Variables: Device: Flame 2.0 Kk full flash (319mb) Build ID: 20150701000208 Gaia: 5552bf529d3d6775a968942e9afa6c1d4037362c Gecko: 88eedcc6fd9b Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 32.0 (2.0) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: regression
Whiteboard: [3.0-Daily-Testing]
Whiteboard: [3.0-Daily-Testing] → [2.5-Daily-Testing]
No-jun is this an intentional change?
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker) → needinfo?(npark)
ni?ing aosmond for input. I think it's intentional, but not sure about the reasons to do so in 2.1.
Flags: needinfo?(npark) → needinfo?(aosmond)
Keywords: polish
On 2.1+, when you lock the screen, we do get a hidden event (as one would expect) and it releases the camera / forgets the zoom setting. This is the expected behaviour. On 2.0, when you lock the screen, it would not trigger a hidden event in the app, so it would not release the camera. If the camera is not released, it remembers the zoom setting (because it is still set!). This was bad (not releasing) as increase battery drain keeping the camera active. If you were to background the app on 2.0 and reopen, it would release and forget the zoom just like 2.1.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(aosmond)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: