Closed Bug 874737 Opened 11 years ago Closed 11 years ago

[Camera] Improper Camera preview in landscape mode for browser pick activity

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:leo+, b2g18 fixed)

RESOLVED FIXED
1.1 QE2 (6jun)
blocking-b2g leo+
Tracking Status
b2g18 --- fixed

People

(Reporter: leo.bugzilla.gaia, Assigned: alive)

References

()

Details

(Whiteboard: [TD-29919], MiniWW)

Attachments

(2 files)

1. Title : Improper Camera preview in landscape mode for browser pick activity 2. Precondition : Mobile phone should be conencted to internet 3. Tester's Action : 1. Idle > Open Browser > Twitter > Log in; 2. Select "New tweet" icon > Select camera icon; 3. Select "Camera" > Change to landscape mode; 4. Detailed Symptom (ENG.) : Once the camera is rotated to landscape mode, complete camera UI and preview buffer is getting roated which is not expected. This is happening only when the pick activity is launched from browser app. If pick activity is launched from wallpaper and email this issue is not reproducible. 5. Expected : Camera preview should work normally when orientation of phone is changed. 6.Reproducibility: Y 1)Frequency Rate : 100% 7.Gaia Master/v1-train : Reproduced 8.Gaia Revision: f2abcfcf79492ae1ef152e2d2c94ff4d25ffe5a5 9.Personal email id: gjyothiprasad@gmail.com
blocking-b2g: --- → leo?
Priority: -- → P2
Whiteboard: [TD-29919]
Attached video Video Attachment
Issue scenario
Whiteboard: [TD-29919] → [TD-29919], MiniWW
Hey gjyothiprasad Sorry I was travelling while you messaged me, I will take a look at what is causing this today, it seems like it will be the window manager and gecko not handling locked orientations inside activities properly
Comparing to lunch camera by other application and found the camera UI/menu bar won't change to landscape mode.
As discussed in San diego work week, marking this leo+
blocking-b2g: leo? → leo+
This is a missed piece in window manager. We don't lock the orientation for opened inline activity.
Assignee: nobody → alive
In order not to pollute window manager, my quick solution is to let the inline activity frame itself(camera in this case) to reqeust the orientation lock when it's opened. This is not the general solution though. Locking multi inline activities is somewhat complex.
Still try to have a general solution: lock orientation for inline activity
Attachment #755293 - Flags: review?(timdream)
Target Milestone: --- → 1.1 QE2 (6jun)
Comment on attachment 755293 [details] https://github.com/mozilla-b2g/gaia/pull/10072 That look fine to me and works well, but I'm not familiar enough with the window manager code to give a r+
Attachment #755293 - Flags: feedback+
Let me poke Tim for the review...(/poke)
Attachment #755293 - Flags: review?(timdream) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Uplifted 0c0e0f823d73318289c12187992ec1b29b6da795 to: v1-train: 8fa086b6bbc875adbf67f75061b38176814b25e4
Flags: in-moztrap?
UCID: CAMERA-007
Flags: in-moztrap? → in-moztrap+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: