Closed Bug 1165049 Opened 9 years ago Closed 6 years ago

[Task Manager] Landscape only apps such as Cut the Rope will attempt to display as portrait in landscape and appear cut off

Categories

(Firefox OS Graveyard :: Gaia::System::Task Manager, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(tracking-b2g:+, b2g-v2.1 unaffected, b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
tracking-b2g +
Tracking Status
b2g-v2.1 --- unaffected
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: dharris, Unassigned)

References

()

Details

(Keywords: polish, regression, Whiteboard: [3.0-Daily-Testing][systemsfe])

Attachments

(2 files)

Attached file Landscape App Logcat
Description:
Landscape only apps will attempt to be viewed in portrait view from task manager. This leaves them cut off at the top of the app display, and the rest of the card is filled in by black space


Repro Steps:
1) Update a Flame to 20150514010203
2) Open Markteplace> Search Cut The Rope
3) Download Cut the Rope> Open Cut the Rope
4) Long press home button to enter task manager (Card View)


Actual:
The landscape only app is trying to display in portrait and is cut off


Expected:
The app is displaying as a landscape in the cardview. (essentially a sideways app display)


Environmental Variables:
Device: Flame 3.0 (319mb)(Kitkat)(Full Flash)
Build ID: 20150514010203
Gaia: 338f66e6a96491d2f5854b188c6b141ceb690d97
Gecko: 1fab94ad196c
Gonk: 040bb1e9ac8a5b6dd756fdd696aa37a8868b5c67
Version: 41.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0


Repro frequency: 10/10
See attached: Logcat, Video - https://youtu.be/eivQNrrwHyU
This issue DOES occur on Flame 2.2

The landscape only app is trying to display in portrait and is cut off

Environmental Variables:
Device: Flame 2.2 (319mb)(Kitkat)(Full Flash)
Build ID: 20150514002501
Gaia: aac58a063e3e6acae6ba77fe4cec224fb69450bc
Gecko: 47f1ced9f1d6
Gonk: ab265fb203390c70b8f2a054f38cf4b2f2dad70a
Version: 37.0 (2.2)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0

This issue does NOT occur on Flame 2.1

The app is displaying as a landscape in the cardview. (essentially a sideways app display)

Environmental Variables:
Device: Flame 2.1 (319mb)(Kitkat)(Full Flash)
Build ID: 20150512001201
Gaia: c80865cb0bf73f1b97defbc646083b404feb3ac4
Gecko: 2fd3ef3fc14a
Gonk: ab265fb203390c70b8f2a054f38cf4b2f2dad70a
Version: 34.0 (2.1)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
We should start the regression window at the landing for bug 1120974. It should be working there? 
Cut the Rope is a slippery one to get right as it does its own orientation detection and rotates itself with a transform (from a setTimeout). See bug 1033652. So it would be good to reproduce this on other landscape apps - and not assume they all behave this way.
[Blocking Requested - why for this release]:
blocking-b2g: --- → 3.0?
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(pbylenga)
QA Contact: jmercado
QA Contact: jmercado → bzumwalt
B2G-Inbound Regression Window:

Last working B2G-Inbound build:
Device: Flame 3.0
Build ID: 20150319173039
Gaia: 00dcb9fb68752e436b81381637dc7f3ae0f119b1
Gecko: b8de1a645f82
Version: 39.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0

First broken B2G-Inbound build:
Device: Flame 3.0
Build ID: 20150319180839
Gaia: 6e24aff11fbb385a6fb1651536a97263457b6c50
Gecko: 069d3d6722ad
Version: 39.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0


Working Gaia with Broken Gecko issue does NOT reproduce:
Gaia: 00dcb9fb68752e436b81381637dc7f3ae0f119b1
Gecko: 069d3d6722ad

Working Gecko with Broken Gaia issue DOES reproduce:
Gaia: 6e24aff11fbb385a6fb1651536a97263457b6c50
Gecko: b8de1a645f82


B2G-Inbound Pushlog:
https://github.com/mozilla-b2g/gaia/compare/00dcb9fb68752e436b81381637dc7f3ae0f119b1...6e24aff11fbb385a6fb1651536a97263457b6c50


Issue appears to occur due to changes made in bug 1107139
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+?
Flags: needinfo?(ktucker)
Sam, can you take a look at this please? This might have been caused by the work done for bug 1107139.
Blocks: 1107139
QA Whiteboard: [QAnalyst-Triage+? → [QAnalyst-Triage+]
Flags: needinfo?(ktucker) → needinfo?(sfoster)
bug 1107139 changed the timing such that we dont block for as long to show the task manager. Particularly for Cut the Rope which rotates itself in a setTimeout, I can see how we might get a different screenshot. Does this issue show up in the same way for other landscape apps - as mentioned in Comment #2?
Flags: needinfo?(sfoster) → needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage-]
Flags: needinfo?(ktucker) → needinfo?(bzumwalt)
In latest 3.0 nightly, landscape apps appear to have multiple different behaviors possible. "Hex Race" app is scaled and rotated to portrait when in card view. "Ninja Turtles Donatello" app has most of screen scaled and rotated to portrait mode in card view, but the top banner is not scaled properly and appears cut off screen. "Chrono Cash" is rotated to portrait orientation in card view, but scaled improperly so that it appears anchored to top of screen. "Cut the Rope" still shows as rotated to portrait mode in card view, but is not rescaled resulting in a cut off image.

At no time while in app are any of the above apps shown in portrait orientation.

Device: Flame 3.0
Build ID: 20150518010206
Gaia: afea16de7a76c3b6d15c35fb4c37bac71c8ddc6a
Gecko: 35918b0441b4
Version: 41.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
Flags: needinfo?(bzumwalt)
(In reply to Brogan Zumwalt [:BroganZ] from comment #7)
> Created attachment 8607254 [details]
> Screenshot - Landscape app comparison
> 
> In latest 3.0 nightly, landscape apps appear to have multiple different
> behaviors possible. 

Thanks for that, its very helpful. It does appear that screenshots normally get the correct aspect ratio, so we should be able to detect and rotate to fit the task manager better. They are probably not at all synchronized with orientation changes though - fixing that would help a lot I think. I can look into this.
Assignee: nobody → sfoster
blocking-b2g: 2.5? → 2.5+
Priority: -- → P2
Removing the blocking flag since user impact is minimal. My testing showed this only happened 1 out of 10 times.
blocking-b2g: 2.5+ → ---
tracking-b2g: --- → +
Keywords: polish
Still watching this bug but not currently working on it.
Assignee: sfoster → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: