Closed Bug 988632 Opened 10 years ago Closed 10 years ago

[Camera][Madai] More frequent instances of "Picture not saved" when tapping shutter button

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
blocker

Tracking

(b2g-v1.3T affected, b2g-v1.4 verified, b2g-v2.0 verified)

RESOLVED FIXED
1.4 S5 (11apr)
Tracking Status
b2g-v1.3T --- affected
b2g-v1.4 --- verified
b2g-v2.0 --- verified

People

(Reporter: marcia, Assigned: justindarc)

References

Details

(Keywords: regression)

Attachments

(4 files)

Buri, while running with the latest master.

Gaia   5ae2df02e30bda2ae04830d6e181ecf31ff38817
SourceStamp c69c55582faa
BuildID 20140326040202
Version 31.0a1

STR:

1. Take a rapid succession of pictures with the camera.
2. Observe the attached screenshot
Here is the logcat while rapidly tapping the shutter button.
Can we confirm we can't reproduce this on 1.4 with the old camera implementation?
Keywords: qawanted
Looking at the logcat, I see several occurrences of:

E/GeckoConsole(  514): [JavaScript Error: "NS_ERROR_FAILURE: " {file: "app://camera.gaiamobile.org/js/main.js" line: 3960}]
Flags: needinfo?(jdarcangelo)
I'm able to reproduce this on 1.4 with the old Camera as well. Looking into the JS error that Mike mentioned now.
Confirmed with Mike that the JS error in the logcat is thrown when `takePicture()` is called while another `takePicture()` is already in progress.
Flags: needinfo?(jdarcangelo)
Assignee: nobody → jdarcangelo
Okay - leaving qawanted to see if this happens on 1.3.
Blocks: 983405
Severity: critical → blocker
QA Contact: lmauritson
Unable to reproduce.

This would be a result of controls UI becoming tappable when the camera hardware is still busy. I think this has since stabalised.

marcia, justindarc: can you still reproduce?
Flags: needinfo?(mozillamarcia.knous)
Flags: needinfo?(jdarcangelo)
I am still able to reproduce on Hamachi. I have a feeling it is something related to it being a camera without auto-focus capabilities. Looking into it now.
Flags: needinfo?(jdarcangelo)
Definitely still happening for me on Buri using:

Gaia   874fe42b82e8d819d592690e74db91c07179e68c
SourceStamp 1417d180a1d8
BuildID 20140401040202
Version 31.0a1
Flags: needinfo?(mozillamarcia.knous)
QA Contact: lmauritson → jschmitt
I am unable to repro on 1.3 Buri build

Environmental Variables:
Device: Buri 1.3 MOZ
BuildID: 20140401004003
Gaia: 24f562fce468fc948ac9e6185e002c23350cb9ee
Gecko: 0adf24a785f2
Version: 28.0
Firmware Version: V1.2-device.cfg
Keywords: qawanted
Attached file pull-request (master)
Attachment #8400791 - Flags: review?(dmarcos)
Created alternative pull request to ignore the camera control error when there's a picture in progress and a new capture is requested
Attachment #8400832 - Flags: review?(jdarcangelo)
Attachment #8400832 - Flags: review?(jdarcangelo) → review+
Landed on master:

https://github.com/mozilla-b2g/gaia/commit/4f8805198e6b5f79bf4b2f4f5e14d6c9c276b180
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Do we need this on 1.4? Or will this automatically be included in 1.4 once the camera new features branch goes to 1.4?
jsmith: We plan on uplifting all the 1.4 patches on master to 1.4 tomorrow morning.
Attachment #8400791 - Flags: review?(dmarcos)
Bulk edit for camera bugs.

If earlier comments do not show how this bug landed to master, it probably landed as part of https://github.com/mozilla-b2g/gaia/pull/17599 which merged the camera-new-features branch into master.

This bug was uplifted from master to v1.4 as part of https://github.com/mozilla-b2g/gaia/commit/a8190d08e61316a86bba572ba8d894d081a20530
Target Milestone: --- → 1.4 S5 (11apr)
The bug is no longer reproduces on the latest Buri 1.4 and master builds
"Picture not saved" message didn't appear when tapping the "shutter" icon


1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140408000202
Gaia: 26983f356ecb1bcf30e862d334b5de790071803e
Gecko: 70b076fc7558
Version: 30.0a2
Firmware Version: v1.2-device.cfg

1.5 Environmental Variables:
Device: Buri Master 
BuildID: 20140408040204
Gaia: 1958454595b1fa0e061f0652ae965629993f5708
Gecko: 8883360b1edb
Version: 31.0a1
Firmware Version: v1.2-device.cfg
See Also: → 1116092
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: