Closed
Bug 984730
Opened 11 years ago
Closed 11 years ago
Camcorder starts with flash light by default
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(blocking-b2g:1.4+, b2g-v1.4 verified, b2g-v2.0 verified)
People
(Reporter: bhargavg1, Assigned: dmarcos)
References
()
Details
(Whiteboard: [caf priority: p2][CR 634446] [landed-on-master])
Attachments
(1 file)
when ever camcorder is started for the first time on the v1.4 for KK, see that it starts with the "SetFlashMode" as "torch" and enables flash light till user disables that.
can we make the default value as "none" instead of torch
Updated•11 years ago
|
blocking-b2g: 1.4? → 1.4+
Comment 2•11 years ago
|
||
Mike,
If this is quick, please take care of it. If not, we will need to have Joe get help from those working on kit-kat in Taipei.
Thanks
Hema
Flags: needinfo?(hkoka) → needinfo?(mhabicher)
Comment 3•11 years ago
|
||
I've confirmed that (on the Nexus 4, at least) the flash defaults to 'off'. When we bring the camera up in picture mode, the Camera app sets the flash mode to 'auto', and when we switch to video mode, it sets the flash mode to 'torch'.
Swapping the order of the flashModesVideo items in app.js doesn't seem to affect whether or not the flash is on, so whatever it setting this is doing it intentionally.
Flags: needinfo?(mhabicher)
Comment 5•11 years ago
|
||
jcheng - anyone available to pick this up from folks working on kitkat/camera...
Flags: needinfo?(jcheng)
Updated•11 years ago
|
Flags: needinfo?(dmarcos)
Assignee | ||
Comment 6•11 years ago
|
||
I don't think this is KK specific. In the branch I can see that the default value for flash is on but it should be auto. This is why video recording starts in torch mode. Investigating the reason.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dmarcos
Updated•11 years ago
|
Flags: needinfo?(jcheng)
Updated•11 years ago
|
Severity: normal → blocker
Comment 7•11 years ago
|
||
diego, please update with your investigation
thanks
hema
Flags: needinfo?(dmarcos)
Assignee | ||
Comment 9•11 years ago
|
||
ETA 03/21/2014
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #8394512 -
Flags: review?(jdarcangelo)
Assignee | ||
Comment 11•11 years ago
|
||
Should we create a flag default for the options in the configuration file? Now the default value is the last option of the list.
Comment 12•11 years ago
|
||
Diego: See comments on PR. I'm pretty sure we have the ability to specify the default in the config/app.js file using the `selected` key. Can you try setting that to see if that works instead of re-ordering?
Flags: needinfo?(dmarcos)
Updated•11 years ago
|
Attachment #8394512 -
Flags: review?(jdarcangelo) → review+
Flags: needinfo?(jdarcangelo)
Flags: needinfo?(dmarcos)
Updated•11 years ago
|
Whiteboard: [CR 634446] → [CR 634446] [branch-camera-new-features in-code-review]
Updated•11 years ago
|
Whiteboard: [CR 634446] [branch-camera-new-features in-code-review] → [CR 634446] [branch-camera-new-features reviewed-ready-to-land]
Comment 14•11 years ago
|
||
Hema: this is a one line patch. Can we please land it in 1.4 as well. This is marked as a blocker by test teams.
Flags: needinfo?(hkoka)
Assignee | ||
Comment 15•11 years ago
|
||
Landed in camera-new-features:
https://github.com/mozilla-b2g/gaia/commit/20e3128a651cd28970e53469a1d61f8cf754c42a
Flags: needinfo?(hkoka)
Comment 16•11 years ago
|
||
Diego -- can you please land it on gaia/v1.4 as well?
Assignee | ||
Updated•11 years ago
|
QA Whiteboard: [branch-camera-new-features fixed]
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 17•11 years ago
|
||
This isn't landed on 1.4 in the mainline branch yet.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 18•11 years ago
|
||
Please keep this closed. It's going to be landed in 1.4 when we merge camerea-new-features after fixing all the blockers. Partner requirement.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 19•11 years ago
|
||
(In reply to Diego Marcos [:dmarcos] from comment #18)
> Please keep this closed. It's going to be landed in 1.4 when we merge
> camerea-new-features after fixing all the blockers. Partner requirement.
A landing process has nothing to do with a partner requirement - this is about being able to track what's currently present in the mainline branches. The camera-new-features branch isn't considered a mainline branch, so bugs fixed there aren't considered resolved in a mainline branch. What's even worse here is deciding to close this early will cause confusion to others filing bugs, as they'll see the bug closed, even though the bug is still present in the mainline branch. This can also screw up tree managers, as they could potentially think the patch is landed on trunk, when in reality it's not.
Feel free to use the whiteboards to track landings in the custom branch. However, if the problem is present in the mainline Gaia branches, then an issue isn't considered resolved if it doesn't land there.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•11 years ago
|
QA Whiteboard: [branch-camera-new-features fixed]
Updated•11 years ago
|
Whiteboard: [CR 634446] [branch-camera-new-features reviewed-ready-to-land] → [CR 634446] [branch-camera-new-features fixed]
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Whiteboard: [CR 634446] [branch-camera-new-features fixed] → [CR 634446] [landed-on-master]
Comment 20•11 years ago
|
||
sorry, reopening it until we land on 1.4
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 21•11 years ago
|
||
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
Comment 22•11 years ago
|
||
The bug is fixed on 1.4 and master build
The camcorder flash is off by default
1.4 Environmental Variables:
Device: Leo 1.4 MOZ
BuildID: 20140411000202
Gaia: 6c50349f41d40ba175ea0fc0c2c2cbd739ba7170
Gecko: 28b419f0e857
Version: 30.0a2
Firmware Version: v10d
1.5 Environmental Variables:
Device: Leo 1.5 MOZ
BuildID: 20140407040202
Gaia: f1a98bfaa3ab2480945bd7018831fd56c61cdc24
Gecko: 5405d6f4e3c6
Version: 31.0a1
Firmware Version: v10d
Updated•10 years ago
|
Whiteboard: [CR 634446] [landed-on-master] → [caf priority: p2][CR 634446] [landed-on-master]
Updated•10 years ago
|
Flags: in-moztrap?(ychung)
Comment 23•10 years ago
|
||
Found Test Case: https://moztrap.mozilla.org/manage/case/1858/
STR needs to added to verify this bug to the existing test case.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Comment 24•10 years ago
|
||
Test case updated to check that flash is off by default for video and set to auto by default for camera:
https://moztrap.mozilla.org/manage/case/1858/
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Flags: in-moztrap?(ychung)
Flags: in-moztrap+
You need to log in
before you can comment on or make changes to this bug.
Description
•