Closed
Bug 690635
Opened 13 years ago
Closed 5 years ago
Issues with camera input on DroidX
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox9 fixed, fennec-)
RESOLVED
WONTFIX
Firefox 10
People
(Reporter: wesj, Assigned: fabrice)
References
Details
Attachments
(2 files)
2.84 KB,
patch
|
wesj
:
review+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
10.47 KB,
image/png
|
Details |
When I try to use camera input on my phone all I get is a black box. I've been playing with a simple Android apps and find that I basically have to call setPreviewDisplay in order to receive any frames in the PreviewCallback. AFAICT, we never call it. The docs read like the camera should not work without calling setPreviewDisplay, so I'm either surprised that camera input works on any phones, or surprised that I have the one that actually follows the spec.
Comment 1•13 years ago
|
||
Requesting tracking-firefox9 because this is a bug in a new feature in Firefox 9 (camera support, bug 659188) that appears to make it unusable on some devices. We'll want to fix this on Aurora if we can, or discuss turning off the feature for release.
Blocks: 659188
tracking-fennec: --- → ?
status-firefox9:
--- → affected
tracking-firefox9:
--- → ?
Version: Trunk → Firefox 9
Updated•13 years ago
|
Priority: -- → P2
Reporter | ||
Comment 3•13 years ago
|
||
I spent some time on Monday playing with this. Fabrice pointed me to some older patches of his which did attach a SurfaceView to the camera. I was receiving "Surface is NULL" (or something along those lines) messages in logcat.
Assignee | ||
Comment 4•13 years ago
|
||
Fix by setting up a hidden SurfaceView for the camera preview. We use a 8x16 size since some phones don't like a 1x1 preview surface (http://soledadpenades.com/2011/04/05/native-startpreview-failed-on-nexus-s-check-your-preview-size/)
Assignee: nobody → fabrice
Attachment #566094 -
Flags: review?(wjohnston)
Reporter | ||
Updated•13 years ago
|
Attachment #566094 -
Flags: review?(wjohnston) → review+
Assignee | ||
Comment 6•13 years ago
|
||
pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/f04220527e2a
Updated•13 years ago
|
tracking-firefox9:
? → ---
Comment 7•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f04220527e2a
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 10
Assignee | ||
Comment 8•13 years ago
|
||
Comment on attachment 566094 [details] [diff] [review] patch low risk patch that increases our device support for camera
Attachment #566094 -
Flags: approval-mozilla-beta?
Comment 9•13 years ago
|
||
To clarify, we are asking for approval for Firefox 9 (currently on Aurora but migrating to beta on November 8). This fixes a bug in the new camera feature in Firefox 9 that makes the camera unusable on some devices. The patch is Android-only, and has been in the nightly channel for several weeks. One regression was found in that time (bug 694795); we have a fix for it and are requesting approval for that fix too.
Comment 10•13 years ago
|
||
Comment on attachment 566094 [details] [diff] [review] patch [Triage Comment] Approving for Beta 9 to ensure camera input is working on correctly on all mobile devices.
Attachment #566094 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 12•13 years ago
|
||
I verified this on the latest Beta using www.people.mozilla.com/~fdesre/capture. On Motorola Droid Pro the bug is reproducible. When I press capture on the test page a black box is displayed where the capture should be. Also the framing of the picture box is not correct - see the attached screenshot. Tested this on some other devices and the issue is not reproducible for them.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 13•13 years ago
|
||
Comment 14•13 years ago
|
||
Bug is also reproducible on Motorola Droid 2 (Android 2.3): Build ID: Mozilla/5.0(Android; Linux arm7l; rv:9.0) Gecko/20111116 Firefox/9.0 Fennec/9.0
Comment 15•12 years ago
|
||
Tracking '-' on Native we use the OS provided camera.
tracking-fennec: + → -
Comment 16•5 years ago
|
||
Closing all opened bug in a graveyard component
Status: REOPENED → RESOLVED
Closed: 13 years ago → 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•