Closed Bug 1208266 Opened 9 years ago Closed 9 years ago

Going home when launching camera causes a non functional camera

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.5?, b2g-v2.2 unaffected, b2g-master affected)

RESOLVED DUPLICATE of bug 1196177
blocking-b2g 2.5?
Tracking Status
b2g-v2.2 --- unaffected
b2g-master --- affected

People

(Reporter: KTucker, Unassigned)

References

()

Details

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

Attachments

(1 file)

If the user taps the home button as soon as the camera app is launching and goes back to the app, they will notice a non functional camera app. 

Repro Steps:
1) Update a Aries to 20150924111215
2) Tap on the messages app.
3) Tap on the compose icon and then the attachment icon.
4) Tap on the camera option and immediately tap the home button on the device.
5) Tap on the messaging app again and observe.

Actual:
The user will be taken to a non functioning camera and will have to force close the app to regain functionality.

Expected:
The camera opens properly and is full functional.

Environmental Variables:
Device: Aries 2.5
Build ID: 20150924111215
Gaia: 4bb17b24620818cbda0ba0c0d69e0ce3f914e1b7
Gecko: 001942e4617b2324bfa6cdfb1155581cbc3f0cc4
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 44.0a1 (2.5)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0

Repro frequency: 5/5 100%
See attached: Video, Logcat
This issue does not occur the same way on Flame 2.5  

The camera functions fine but the viewfinder is frozen. 

Device: Flame 2.5
BuildID: 20150924030228
Gaia: 4bb17b24620818cbda0ba0c0d69e0ce3f914e1b7
Gecko: bf2bc1aa78c0b72d9b6b13f7a8c6ae61c60a51dc
Gonk: c4779d6da0f85894b1f78f0351b43f2949e8decd
Version: 44.0a1 (2.5) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0


------------------------------


This issue does not occur on Flame 2.2

The camera app functions properly after going home right as the app is launching.

Device: Flame 2.2 (Full Flash)(KK)(319mb)
Build ID: 20150112010228
Gaia: f5e481d4caf9ffa561720a6fc9cf521a28bd8439
Gecko: bb8d6034f5f2
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 37.0a1 (2.2)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
blocking-b2g: --- → 2.5?
QA Whiteboard: [QAnalyst-Triage?]
No longer depends on: 1208212
Flags: needinfo?(jmercado)
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmercado)
QA Contact: yi.zou
This current bug is a little bit similar to Bug 1196177. 
The similarity is: while camera is launching, immediately/quickly tapping the Home button, then reopening camera view will cause black viewfinder or malfunction of camera.
b2g-inbound Regression Window:

Last Working Environmental Variables:
Device: Flame KK v2.5
Build ID               20150818080432
Gaia Revision          ebd099a608587e205426143f5ac195034df28bbe
Gaia Date              2015-08-18 12:06:29
Gecko Revision         https://hg.mozilla.org/integration/b2g-inbound/rev/cbb9511b450096f948bdfc8cc80fa1535727a99f
Gecko Version          43.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150819.202112
Firmware Date          Wed Aug 19 20:21:24 EDT 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

First Broken Environmental Variables:
Device: Flame KK v2.5
Build ID               20150818080933
Gaia Revision          370c1bcf726f9ed3cabe8ce84e61998a5fa0e141
Gaia Date              2015-08-18 14:29:31
Gecko Revision         https://hg.mozilla.org/integration/b2g-inbound/rev/a5ddf01fe7c71ca3f47d77d76e8fb7131cae281f
Gecko Version          43.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150819.202112
Firmware Date          Wed Aug 19 20:21:24 EDT 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

First Broken Gaia & Last Working Gecko - issue DOES repro
Gaia Rev          370c1bcf726f9ed3cabe8ce84e61998a5fa0e141
Gecko Rev        https://hg.mozilla.org/integration/b2g-inbound/rev/cbb9511b450096f948bdfc8cc80fa1535727a99f

First Broken Gecko & Last Working Gaia – issue DOES NOT repro
Gaia Rev          ebd099a608587e205426143f5ac195034df28bbe
Gecko Rev         https://hg.mozilla.org/integration/b2g-inbound/rev/a5ddf01fe7c71ca3f47d77d76e8fb7131cae281f

Gaia pushlog:
https://github.com/mozilla-b2g/gaia/compare/ebd099a608587e205426143f5ac195034df28bbe...370c1bcf726f9ed3cabe8ce84e61998a5fa0e141


The Bug 1208266 seems to be duplicated with Bug 1196177, because the two bug's first broken&last Working are the same build ID.
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][MGSEI-Triage+]
Saw 1196177 but looked like it only occurred with button mashing plus it was written over a month ago so this should be resolved. This happens when going home only once while the camera is launching. Plus, on bug 1196177, it says Flame 2.5 affected but I am seeing a functional camera on Flame 2.5 but the viewfinder is frozen. Adding qawanted to double check the window on both issues to confirm they are indeed the same. If they are the same, we will dupe out but this issue is serious and needs to be fixed asap.
Keywords: qawanted
I reproduce this issue on the last working build in Comment 4 so the window appears to be incorrect. Adding back regressionwindow-wanted.
Flags: needinfo?(augustin.trancart)
QA Contact: yi.zou → sleedavid
QA Contact: sleedavid → pcheng
I've confirmed that the window on comment 4 is correct. Note that the first broken behavior shows a working viewfinder, but none of the buttons on the bottom works (the 'X' button, the shutter button, and switch to video button), this behavior is a little different than current broken behavior, which shows a black viewfinder and nothing works.
QA Whiteboard: [QAnalyst-Triage+][MGSEI-Triage+] → [QAnalyst-Triage?][MGSEI-Triage+]
Flags: needinfo?(jmercado)
QA Whiteboard: [QAnalyst-Triage?][MGSEI-Triage+] → [QAnalyst-Triage+][MGSEI-Triage+]
Flags: needinfo?(jmercado)
While my commit is in the regression window, I don't think it is related (only touches callscreen). The only commit that touches camera is https://github.com/mozilla-b2g/gaia/commit/e66589d4f7626f2a84dff4c6568ee7fcdc6028fd. So NI aosmond: do you think this bug is a dup of https://bugzilla.mozilla.org/show_bug.cgi?id=1196177 or somehow related to this commit?
Flags: needinfo?(augustin.trancart) → needinfo?(aosmond)
Yes this is a duplicate; I did not when creating the patch that bug 1189105 introduced the regression, but it is the same problem.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(aosmond)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: