Closed
Bug 903562
Opened 12 years ago
Closed 12 years ago
[B2G][Helix][Camera]The front camera preview image rotated 180 degree.
Categories
(Firefox OS Graveyard :: General, defect, P1)
Tracking
(blocking-b2g:hd+, firefox24 wontfix, firefox25 wontfix, firefox26 fixed, b2g18 wontfix, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix, b2g-v1.1hd fixed)
People
(Reporter: diego, Assigned: diego)
Details
Attachments
(2 files, 2 obsolete files)
8.29 KB,
patch
|
diego
:
review+
|
Details | Diff | Splinter Review |
8.32 KB,
patch
|
diego
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #894374 +++
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; aff-kingsoft-ciba; Zune 4.7)
Steps to reproduce:
1.Open the camera application.
2.Switch to the front camera.
Actual results:
The front camera preview image rotated 180 degree.
I found a similar bug. Bug number is 852836.
But the B2G version we used is v1.1.0hd. The bug was already fixed in the code.
Expected results:
The front camera preview image display correctly.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dwilson
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #788311 -
Attachment description: HWC m-c patch → HWC patch for m-c
Assignee | ||
Updated•12 years ago
|
Attachment #788311 -
Flags: review?(vliu)
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Mike Habicher [:mikeh] from comment #3)
> Shouldn't this bug be blocking bug 894374?
I think it already is
Assignee | ||
Comment 5•12 years ago
|
||
I should point out the the patches attached only solve the rotated preview. The snapshots are still rotated as described in bug 902298. There will have to be a different patch for that problem.
Comment 6•12 years ago
|
||
(In reply to Diego Wilson [:diego] from comment #5)
>
> I should point out the the patches attached only solve the rotated preview.
> The snapshots are still rotated as described in bug 902298. There will have
> to be a different patch for that problem.
Yeah, that looks like a combination of things: the camera is misinterpreting the orientation values it's receiving from the sensor API; and the camera has an incorrect/non-existant |ro.moz.cam.#.sensor_offset| value.
Assignee | ||
Comment 7•12 years ago
|
||
The discussion in bug 902298 seems to continue into bug 898395 (private). If that means you guys will take it from there, I'm all for it! :-)
Assignee | ||
Comment 8•12 years ago
|
||
Oh, I also forgot to mention that for Helix there's also a libhwcomposer.so patch which will be released through CAF. This libhwcomposer.so issue only affects Helix and will not have any effect on other v1.1 devices.
Assignee | ||
Updated•12 years ago
|
Attachment #788311 -
Flags: review?(ncameron)
Comment 9•12 years ago
|
||
Comment on attachment 788311 [details] [diff] [review]
HWC patch for m-c
Review of attachment 788311 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with nits fixed
::: widget/gonk/HwcComposer2D.cpp
@@ +326,5 @@
> + //Rotation (in square angles only) via the HWC_TRANSFORM_ROT_* flags
> + //Reflection (horizontal and vertical) via the HWC_TRANSFORM_FLIP_* flags
> + //
> + //A 2D transform with PreservesAxisAlignedRectangles() has all the attributes
> + //above
nit: space after // - e.g., should be '// HWC supports...'
@@ +365,5 @@
> return false;
> }
> }
> + //Buffer rotation is not to be confused with the angled rotation done by a transform matrix
> + //It's a fancy ThebesLayer feature mainly used for list scrolling
same nit
please remove 'mainly' and 'list'
Attachment #788311 -
Flags: review?(ncameron) → review+
Comment 10•12 years ago
|
||
Comment on attachment 788311 [details] [diff] [review]
HWC patch for m-c
Sorry to response lately. I think the patch is ok to me.
Attachment #788311 -
Flags: review?(vliu) → review+
Comment 12•12 years ago
|
||
(In reply to Diego Wilson [:diego] from comment #5)
> I should point out the the patches attached only solve the rotated preview.
> The snapshots are still rotated as described in bug 902298. There will have
> to be a different patch for that problem.
Does that need to be taken by OEM through an AU update as well?
Flags: needinfo?(dwilson)
Assignee | ||
Comment 13•12 years ago
|
||
Address nits from ncameron. Carry over r+
Attachment #790390 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Attachment #790390 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #790390 -
Attachment is obsolete: false
Assignee | ||
Updated•12 years ago
|
Attachment #788311 -
Attachment is obsolete: true
Assignee | ||
Comment 14•12 years ago
|
||
Addressed nits from ncameron. Carry over r+
Attachment #788312 -
Attachment is obsolete: true
Attachment #790391 -
Flags: review+
Assignee | ||
Comment 15•12 years ago
|
||
(In reply to Wayne Chang [:wchang] from comment #12)
> (In reply to Diego Wilson [:diego] from comment #5)
> > I should point out the the patches attached only solve the rotated preview.
> > The snapshots are still rotated as described in bug 902298. There will have
> > to be a different patch for that problem.
>
> Does that need to be taken by OEM through an AU update as well?
Yes, there will be a gonk update in the vendor build.
Flags: needinfo?(dwilson)
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 16•12 years ago
|
||
Keywords: checkin-needed
Comment 17•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 18•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/7cdbb45400ed
BTW, having spurious POVB's on the whiteboard is a good way to make sure that uplifts get missed...
status-b2g18:
--- → wontfix
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → wontfix
status-b2g-v1.1hd:
--- → fixed
status-firefox24:
--- → wontfix
status-firefox25:
--- → wontfix
status-firefox26:
--- → fixed
Whiteboard: [POVB]
Assignee | ||
Comment 19•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #18)
> https://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/7cdbb45400ed
>
> BTW, having spurious POVB's on the whiteboard is a good way to make sure
> that uplifts get missed...
Sorry about that Ryan. I missed it when I cloned the bug. Thanks for the uplift!
Updated•12 years ago
|
Flags: needinfo?(mchen)
![]() |
||
Comment 20•12 years ago
|
||
[2013/10/21 Helix Testing]
Gaia: c829a2042594b6c3a4899ee27979799a0f301534
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/f7c657f6d019
BuildID 20131015042201
Version 18.0
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•