Closed Bug 1113417 Opened 10 years ago Closed 9 years ago

[Camera] Inconsistent messaging about multiple instances when opening camera app

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 affected, b2g-v2.2 affected)

RESOLVED DUPLICATE of bug 1102675
Tracking Status
b2g-v2.1 --- affected
b2g-v2.2 --- affected

People

(Reporter: AdamA, Unassigned)

References

()

Details

(Whiteboard: [2.2-Daily-Testing])

Attachments

(1 file)

Attached file logcat
Description:
When the user opens the camera from a share activity then opens the camera from the homescreen too sometimes the user will receive a message saying that they cant use the camera because it is open in another program. If the user then force closes the camera app and opens it again the message may not be there and be able to use the camera. this is inconsistent behavior occurring from the same action.

Repro Steps:
1) Update a Flame to 20141218040201
2) Open messages and choose to make a new message
3) Click on the attachment button and select camera
4) Return to homescreen
5) Open Camera app from homescreen
6) Observe camera app behaviour
7) Close Camera app through card view
8) Repeat steps 5-7 multiple times
9) Observe behaviour

Actual:
The ability to use the camera app is inconsistent

Expected:
it is expected that the ability to use the camera is consistent

Environmental Variables:
Device: Flame 2.2 (319mb)(Kitkat Base)(Full Flash)
Build ID: 20141218040201
Gaia: 58734e8a48157f99d5b733412b600c2e04c954fe
Gecko: 5c7a6294b82a
Gonk: e5c6b275d77ca95fb0f2051c3d2242e6e0d0e442
Version: 37.0a1 (2.2)
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0

Repro frequency: 5/5 or 2/5
See attached: video clip, logcat
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
QAWanted for branch checks.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Keywords: qawanted
Tested with Shallow Flash on 512mb using Engineering builds.

This bug repro's on Flame KK builds: Flame 2.2 KK, Flame 2.1 KK

Actual Results: Camera Unavailable message is not consitant for when it appears with multiple cameras open.

**NOTE A bug in 2.0 and v188-1 base is preventing the message from appearing and thus cannot be tested.

Repro Rate: 3/6

Environmental Variables:
Device: Flame 2.2 KK
BuildID: 20141219033106
Gaia: deb90229734e5397cda806fb11f2e001fba83399
Gecko: 021b09e92d30
Version: 37.0a1 (2.2) 
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
-----------------------------------------------------------------
Environmental Variables:
Device: Flame 2.1 KK
BuildID: 20141218131205
Gaia: 6af3d029bae3a14f400fec0926f0f8ad7b579b4b
Gecko: d41f6bd64343
Version: 34.0 (2.1) 
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmitchell)
Keywords: qawanted
NI to Camera component owner for a blocking decision / assignment
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell) → needinfo?(npark)
I cannot reproduce this issue in the latest build.  Could you check whether it's still happening?  In my case, I can access camera from both app with no error messages.
Flags: needinfo?(npark) → needinfo?(aalldredge)
I was able to get this issue to reproduce on the latest Flame KK Master build.
It does seem like the rate at which the message appears has gone down though. Out of 8 attempts I only saw the "Unable to use camera" message once.

Environmental Variables:
Device: Flame 2.2 (319mb)(Full Flash)
BuildID: 20141222040204
Gaia: ca6e91e09ef3ab417a0f6b6d6668d43597d85700
Gecko: b915a50bc6be
Gonk: e5c6b275d77ca95fb0f2051c3d2242e6e0d0e442
Version: 37.0a1 (2.2) 
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
Flags: needinfo?(aalldredge)
Hmm, looks like a timing issue.  I'll cc mikeh for more info, but I don't think it's a blocker at this stage yet.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: