Closed Bug 867149 Opened 11 years ago Closed 11 years ago

landscape or landscape-secondary orientation locked apps render portrait in the task manager, which breaks the view of the app

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.1 verified)

RESOLVED FIXED
blocking-b2g tef+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.1 --- verified

People

(Reporter: jsmith, Assigned: crdlc)

References

Details

Attachments

(1 file)

Followup on bug 861846. We fixed the bug for the landscape-primary use case, but we didn't fix it for the landscape or landscape-secondary use cases. As a result, gaming apps will still render badly that use either of those orientations (e.g. Poppit uses landscape, so it will still render badly).
Blocks: 861846
blocking-b2g: --- → tef?
Assignee: nobody → crdlc
Status: NEW → ASSIGNED
Attached file Patch v1
Attachment #743619 - Flags: review?(21)
When we will have the r+ and tef+, I gonna implement it for v1.0.1 because right now to uplift this one is impossible.
blocking-b2g: tef? → tef+
Comment on attachment 743619 [details]
Patch v1

Hi, Alive, do you want to take a look to this tef+ bug? It is very simple. Thanks a lot my friend!
Attachment #743619 - Flags: review?(21) → review?(alive)
Comment on attachment 743619 [details]
Patch v1

The logic makes sense, r=me.
Attachment #743619 - Flags: review?(alive) → review+
Perfect!! I am going to review lint issues, I have some errors. Thanks Alive

----- FILE  :  /home/travis/build/mozilla-b2g/gaia/apps/system/test/unit/cards_view_test.js -----
Line 181, E:0110: Line too long (81 characters).
Line 187, E:0110: Line too long (81 characters).
Waiting for Travis results again...
https://github.com/mozilla-b2g/gaia/commit/1683b36b1e5b488a9b0e95679141a0019a4e37fb
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Keywords: verifyme
QA Contact: jsmith
I was not able to uplift this bug to v1-train and v1.0.1.  If this bug has dependencies which are not marked in this bug, please comment on this bug.  If this bug depends on patches that aren't approved for v1-train and v1.0.1, we need to re-evaluate the approval.  Otherwise, if this is just a merge conflict, you might be able to resolve it with:

  git checkout v1-train
  git cherry-pick -x -m1 1683b36b1e5b488a9b0e95679141a0019a4e37fb
  <RESOLVE MERGE CONFLICTS>
  git commit
  git checkout v1.0.1
  git cherry-pick -x $(git log -n1 v1-train --pretty=%H)
I was trying to resolve the conflicts but currently it is impossible. The patch without tests is very easy to merge but the problem is due to the unit test. They are based on mockups implemented in other bugs like bug 847241 non uplifted. The first alternative is to resolve conflicts without unit tests or... add more mockup files that don't belong to my bug. What can we do here? Thanks
Flags: needinfo?(jhford)
Uplifting this without the tests that depend on a feature that'll not be uplifted seems logical to me, but I'd like to get confirmation that from tef+'er.

Daniel, what are your thoughts on the risk of uplifting this without these tests?
Flags: needinfo?(jhford) → needinfo?(dcoloma)
(In reply to John Ford [:jhford] -- If you expect a reply from me, use needsinfo? instead of CC from comment #10)
> Uplifting this without the tests that depend on a feature that'll not be
> uplifted seems logical to me, but I'd like to get confirmation that from
> tef+'er.
> 
> Daniel, what are your thoughts on the risk of uplifting this without these
> tests?

It seems also logical to me not including the tests in the uplift if this is the easier solution.
Flags: needinfo?(dcoloma)
(In reply to Daniel Coloma:dcoloma from comment #11)
> (In reply to John Ford [:jhford] -- If you expect a reply from me, use
> needsinfo? instead of CC from comment #10)
> > Uplifting this without the tests that depend on a feature that'll not be
> > uplifted seems logical to me, but I'd like to get confirmation that from
> > tef+'er.
> > 
> > Daniel, what are your thoughts on the risk of uplifting this without these
> > tests?
> 
> It seems also logical to me not including the tests in the uplift if this is
> the easier solution.

Sounds OK to me too
v1-train

abebb008a5da85a31ed935a07542d419047e83fc
v1.0.1

9358da03e0437b328ac73bd39174b4e89441cabd
Verified with a landscape, landscape-primary, and landscape-secondary locked app. 5/15 1.01 build.
Can you please provide steps to verify this fix - as we will blackbox test from the UI?
(In reply to Deepa Subramanian from comment #16)
> Can you please provide steps to verify this fix - as we will blackbox test
> from the UI?

I already verified this fix on 1.01 in full.

For 1.1, you would need to install the Poppit app from https://marketplace.firefox.com/app/poppit/, open the task manager, and verify the orientation of the app in the card view is in landscape.
(In reply to Jason Smith [:jsmith] from comment #17)
> (In reply to Deepa Subramanian from comment #16)
> > Can you please provide steps to verify this fix - as we will blackbox test
> > from the UI?
> 
> I already verified this fix on 1.01 in full.
> 
> For 1.1, you would need to install the Poppit app from
> https://marketplace.firefox.com/app/poppit/, open the task manager, and
> verify the orientation of the app in the card view is in landscape.

Note - you need to launch the app after install too.
App is seen on the homescreen (greyedout. When tried to launch prompted with restart download msg. Tapping on download gave "Poppit download stopped" msg on the home screen bottom.

Tested on Unagi
Build Id: 201300515070208
Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/d06cfe7d67c2
Gaia   0ddb515f15cbc6b74fc2742b7599d6ae74c6413f

Also, Unable to open https://marketplace.firefox.com/app/poppit/ 
Got a msg as "server not found".
Leo Build ID: 20130515070208  
Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/d06cfe7d67c2
Gaia   0ddb515f15cbc6b74fc2742b7599d6ae74c6413f
That's a known that the app can't be downloaded. Fix will be pushed on Thursday.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: