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)
Tracking
(blocking-b2g:leo+, b2g18 fixed)
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
Updated•11 years ago
|
Whiteboard: [TD-29919] → [TD-29919], MiniWW
Comment 2•11 years ago
|
||
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
Comment 3•11 years ago
|
||
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+
Assignee | ||
Comment 5•11 years ago
|
||
This is a missed piece in window manager.
We don't lock the orientation for opened inline activity.
Assignee: nobody → alive
Assignee | ||
Comment 6•11 years ago
|
||
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.
Assignee | ||
Comment 7•11 years ago
|
||
Still try to have a general solution: lock orientation for inline activity
Attachment #755293 -
Flags: review?(timdream)
Updated•11 years ago
|
Target Milestone: --- → 1.1 QE2 (6jun)
Comment 8•11 years ago
|
||
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+
Assignee | ||
Comment 9•11 years ago
|
||
Let me poke Tim for the review...(/poke)
Updated•11 years ago
|
Attachment #755293 -
Flags: review?(timdream) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
Uplifted 0c0e0f823d73318289c12187992ec1b29b6da795 to:
v1-train: 8fa086b6bbc875adbf67f75061b38176814b25e4
Updated•11 years ago
|
Flags: in-moztrap?
You need to log in
before you can comment on or make changes to this bug.
Description
•