Closed
Bug 963707
Opened 12 years ago
Closed 12 years ago
[B2G][Twitter][Camera]Camera does not display properly in landscape orientation when attaching pic to tweet.
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)
Tracking
(blocking-b2g:1.3+, b2g18 unaffected, b2g-v1.2 unaffected, b2g-v1.3 fixed, b2g-v1.4 unaffected)
Tracking | Status | |
---|---|---|
b2g18 | --- | unaffected |
b2g-v1.2 | --- | unaffected |
b2g-v1.3 | --- | fixed |
b2g-v1.4 | --- | unaffected |
People
(Reporter: rkuhlman, Assigned: alive)
Details
(Keywords: regression, Whiteboard: dogfood1.3 [systemsfe])
Attachments
(3 files)
The user is posting a tweet and chooses to attach an image taken from the camera. While holding the phone in landscape orientation, the camera does not display onscreen properly. The buttons do not span the entire bottom of the screen, and the camera view is rotated 90%, so that panning the camera up/down causes the screen to pan left/right.
Repro Steps:
1) Updated Buri to BuildID: 20140122004001
2) Launch Twitter. (This issue occurs in the marketplace app AND the E.Me version of twitter)
3) Tap the 'Compose Tweet' button in the top right corner of the screen.
4) Tap the camera button in the lower left.
5) Choose to attach a picture from the camera.
6) While camera is active, hold device in landscape orientation.
Actual:
The Cancel and Camera buttons do not span the entire width of the screen. The camera image is rotated sideways such that vertical panning of the device is displayed as horizontal panning on the screen.
Expected:
Buttons are properly aligned/positioned. Camera is displayed with proper alignment.
Environmental Variables:
Device: Buri v1.3 Moz RIL
BuildID: 20140121004137
Gaia: 47049555282a9a01fb60d1e1421b57e2810c96f5
Gecko: 6f7dfe36ab6c
Version: 28.0a2
Firmware Version: v1.2-device.cfg
Notes:
Repro frequency: 100%
See attached: logcat, screenshot
Reporter | ||
Comment 1•12 years ago
|
||
Environmental Variables:
Device: Buri 1.2 MOZ
BuildID: 20131021004006
Gaia: 1fd315337d8ae891c3024e4c682c4c50797ea40e
Gecko: d585fe28cd55
Version: 26.0a2
Firmware Version: V1.2-device.cfg
Updated•12 years ago
|
Comment 2•12 years ago
|
||
Can we find out if this reproduces on 1.2 or 1.1?
Comment 3•12 years ago
|
||
This does not reproduce in 1.1 or 1.2, the camera behaves like it is still in portrait mode after rotating to what should be landscape mode. The camera icon itself rotates, but no other UI changes.
1.1 Environmental Vairables:
Device: Buri v1.1 Mozilla RIL
BuildID: 20140124041702
Gaia: c434fe9a0e823029796805e141cfa983cda2d246
Gecko: 1f6e89d119a9
Version: 18.0
Base Image: V1.2-device.cfg
1.2 Environmental Variables:
Device: Buri v1.2 Mozilla RIL
BuildID: 20140124004003
Gaia: 539a25e1887b902b8b25038c547048e691bd97f6
Gecko: da5fcd064407
Version: 26.0
Base Image: V1.2-device.cfg
Comment 4•12 years ago
|
||
Can I get a video of this bug? I'm trying to understand if this impacts the viewfinder or not.
Keywords: regressionwindow-wanted → qawanted
Comment 5•12 years ago
|
||
After doing some searching, this actually appears to be a dupe of Bug 948226, though 948226 was written for Twitter through the browser, they both list essentially the same steps and produce the same result.
I haven't actually been able to repro this issue exactly as shown in the CameraRotated.png attachment, but the steps provided on both bugs always produce the same results as Bug 948226 for me.
948226 is resolved fixed, but doesn't appear to have been uplifted yet.
Resolving as a dupe and clearing the tags.
Comment 6•12 years ago
|
||
No - not a dupe. That bug landed on 1/14/2014, where as this bug was filed on 1/21/2014. The patch from that bug is already included here during testing.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Updated•12 years ago
|
Keywords: qawanted,
regression
Comment 7•12 years ago
|
||
If that fix landed, it certainly did not work, or something rebroke the twitter camera in exactly the same way.
Following the steps for bug 948226 and for this one (963707) produce the exact same break.
Comment 8•12 years ago
|
||
To clarify, both bug 948226 and bug 963707 still reproduce on the latest 1.3 Buri build, and both reproduced before the 14th, on the 14th, and after the 14th.
The landed fix from bug 948226 didn't appear to change anything on 1.3.
Bug 948226 includes the same steps as bug 963707, but through the browser, rather than the app. The app just appears to mirror the site, and following the steps listed in Comment 0 of this bug produces the same break in the app as 948226 does in the browser.
And I'm willing to bet that both bug 948226 and bug 963707 have the same regression window, which leads me to believe that this is indeed a dupe. I'll verify that when I get in on Monday.
Comment 9•12 years ago
|
||
(In reply to J Zimbrick from comment #8)
> To clarify, both bug 948226 and bug 963707 still reproduce on the latest 1.3
> Buri build, and both reproduced before the 14th, on the 14th, and after the
> 14th.
>
> The landed fix from bug 948226 didn't appear to change anything on 1.3.
>
> Bug 948226 includes the same steps as bug 963707, but through the browser,
> rather than the app. The app just appears to mirror the site, and following
> the steps listed in Comment 0 of this bug produces the same break in the app
> as 948226 does in the browser.
>
> And I'm willing to bet that both bug 948226 and bug 963707 have the same
> regression window, which leads me to believe that this is indeed a dupe.
> I'll verify that when I get in on Monday.
It doesn't matter if that bug failed to fix the issue at this point - this bug acts as a followup to that bug. Followups do not result in reopening bugs - they result opening up a followup bug to the issue. I still need a video showcasing the bug to move forward here.
Comment 10•12 years ago
|
||
https://www.youtube.com/watch?v=hypZvuXHJBE
The issue can be seen at 0:29, putting the phone in to landscape mode breaks the look of the camera. This seems to happen 100% of the time when using the camera through Twitter (either the browser, app, or e.me versions).
Comment 11•12 years ago
|
||
Okay - the video definitely showcases that the viewfinder's orientation is incorrect when in landscape, so this is a pretty serious regression.
blocking-b2g: --- → 1.3?
Keywords: qawanted → regressionwindow-wanted
Comment 12•12 years ago
|
||
Regression Window:
Last Working Environmental Variables:
Device: Buri v1.3 Mozilla RIL
BuildID: 20131031040201
Gaia: 412fd463bcb81f0e8bebf6d32500d0c02712748d
Gecko: f0d363d72753
Version: 28.0a1
Base Image: V1.2-device.cfg
First Broken Environmental Variables:
Device: Buri v1.3 Mozilla RIL
BuildID: 20131101040203
Gaia: ccdf357ea150fc7d8b8a4b74c7adf31e7a57e465
Gecko: abe6790a5dd8
Version: 28.0a1
Base Image: V1.2-device.cfg
Keywords: regressionwindow-wanted
Comment 13•12 years ago
|
||
I'm experiencing this issue in Facebook as well, Would you like me to open a new bug or this would be the same bug?
Flags: needinfo?(jsmith)
Comment 14•12 years ago
|
||
(In reply to Salem Elkabule from comment #13)
> I'm experiencing this issue in Facebook as well, Would you like me to open a
> new bug or this would be the same bug?
Probably the same bug.
Flags: needinfo?(jsmith)
Comment 15•12 years ago
|
||
mikeh: could you please take this one and see whats going on
Assignee: nobody → mhabicher
blocking-b2g: 1.3? → 1.3+
Comment 16•12 years ago
|
||
This is a window management problem when using orientation-locked apps to service activities.
Assignee: mhabicher → alive
Comment 17•12 years ago
|
||
Gregor,
Alive and Tim are probably out for new years. Is there anyone from the systems frontend team who can help look into this issue. There are similar bugs that alive fixed (https://bugzilla.mozilla.org/show_bug.cgi?id=948226 and https://bugzilla.mozilla.org/show_bug.cgi?id=874737)
Flags: needinfo?(timdream)
Flags: needinfo?(anygregor)
Updated•12 years ago
|
Component: Gaia::Camera → Gaia::System::Window Mgmt
Comment 18•12 years ago
|
||
I can take a look at this, unless anyone wants to steal it from me
Assignee: alive → dale
Comment 19•12 years ago
|
||
doesnt reproduce on master, building 1.3 now
Updated•12 years ago
|
Whiteboard: dogfood1.3 → dogfood1.3 [systemsfe]
Target Milestone: --- → 1.3 C3/1.4 S3(31jan)
Comment 20•12 years ago
|
||
Actually my keon doesnt do orientation, handy, filed https://bugzilla.mozilla.org/show_bug.cgi?id=965585 and trying on peak now
Comment 21•12 years ago
|
||
reproduced on 1.3 peak, but not nightly
Assignee | ||
Comment 22•12 years ago
|
||
Dale let me know if you need my help to review.
(In reply to Dale Harvey (:daleharvey) from comment #21)
> reproduced on 1.3 peak, but not nightly
Do you mean not reproducible on master?
Flags: needinfo?(timdream)
Assignee | ||
Comment 23•12 years ago
|
||
Not reproducible on master with ev.me twitter or twitter app. Something wrong with v1.3 uplift?
Assignee | ||
Updated•12 years ago
|
Assignee: dale → alive
status-b2g-v1.4:
--- → unaffected
Assignee | ||
Comment 24•12 years ago
|
||
Shame on me :/
The root cause is the transition control is totally different for v1.4 and v1.3
In v1.4 all windows are inherited from appWindow and has a appTransitionController as submodule to control the transitions. Since the orientation is locked after the open transition is done in AppTransitionController, we don't need to worry about window type. But in v1.3 appWindow is not finetune so activitiyWindow has its own transition control, and don't know why I forgot to lock orientation after the activity window is opened.
Attachment #8367804 -
Flags: review?(etienne)
Comment 25•12 years ago
|
||
Comment on attachment 8367804 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/15828
All good!
Tested it one last time just to be sure :)
Attachment #8367804 -
Flags: review?(etienne) → review+
Assignee | ||
Comment 26•12 years ago
|
||
Achievement: Land v1.3+ on lunar new year's eve!
https://github.com/mozilla-b2g/gaia/commit/14ce5cb2f1becd436976315eede1f63760000b9d
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Flags: needinfo?(anygregor)
Resolution: --- → FIXED
Comment 27•12 years ago
|
||
Hah good work, mostly got myself familiar yesterday and was starting to get to the issue, but good to have it fixed, have a good holiday
Assignee | ||
Comment 28•12 years ago
|
||
(In reply to Dale Harvey (:daleharvey) from comment #27)
> Hah good work, mostly got myself familiar yesterday and was starting to get
> to the issue, but good to have it fixed, have a good holiday
Thanks for your effort! See ya in Paris!
You need to log in
before you can comment on or make changes to this bug.
Description
•