Closed Bug 983290 Opened 7 years ago Closed 7 years ago
[B2G][Marketplace] When entering a landscape app that is open in the background, the first launching frame is abnormal
Description: When an app with a landscape layout is running in the background and the user tries to reenter it, the first frame that is seen will be abnormally displayed clipped off-screen. Takes around two seconds for the app landscape view to be displayed correctly. Repro Steps: 1) Updated buri to BuildID: 20140312040203 2) Open a landscape app (Zombie Lines used in test) 3) Tap the home button 4) Reenter Zombie Lines 5) Observe app display in landscape mode while user is still viewing portrait mode Actual: First frame when reentering a landscape app is displayed abnormally. Expected: Landscape apps open in landscape mode correctly. Environmental Variables: Device: buri v1.4 MOZ ril BuildID: 20140312040203 Gaia: 3005269d4dcabcc7d27eaf72bda44a969873af8c Gecko: 23005b395ae8 Version: 30.0a1 Firmware Version: v1.2-device.cfg Notes: Similar to resolved bug https://bugzilla.mozilla.org/show_bug.cgi?id=899445 Repro frequency: 100% See attached: Screenshot
What happens on 1.3?
Component: General → Gaia::System::Window Mgmt
This issue does not reproduce in 1.3 1.3 Environmental Variables: Device: Buri 1.3 MOZ BuildID: 20140314004002 Gaia: 932789749406a79c5630c27c724f1856bd3c3f10 Gecko: 0479f5480378 Version: 28.0 Firmware Version: v1.2-device.cfg
Yuck. That looks ugly. That's going to be a problem for all landscape-locked apps (common for games).
blocking-b2g: --- → 1.4?
This issue started reproducing on the 12/11/13 1.4 build. - Last Working - Device: Buri v1.4 MOZ RIL BuildID: 20131210040206 Gaia: c952e2756c03eceb4de6a3eba15651741a62f9e8 Gecko: df82be9d89a5 Version: 29.0a1 Firmware Version: V1.2-device.cfg - First Broken - Device: Buri v1.4 MOZ RIL BuildID: 20131211040203 Gaia: 6415b8b44068596404c10365394544e94edd5ce5 Gecko: 12ea03a70243 Version: 29.0a1 Firmware Version: V1.2-device.cfg **This looks to be a gaia issue** last working gaia/first broken gecko = NO REPRO Gaia: c952e2756c03eceb4de6a3eba15651741a62f9e8 Gecko: 12ea03a70243 first broken gaia/last working gecko = REPRO Gaia: 6415b8b44068596404c10365394544e94edd5ce5 Gecko: df82be9d89a5 Push log: https://github.com/mozilla-b2g/gaia/compare/c952e2756c03eceb4de6a3eba15651741a62f9e8...6415b8b44068596404c10365394544e94edd5ce5
QA Contact: jharvey → mvaughan
Might be a regression from the work Alive did in bug 907013. Alive - What do you think?
https://bugzilla.mozilla.org/show_bug.cgi?id=840126 It's a gecko bug indeed...what we could do now is avoid to show the app before screen orientation is locked.
(In reply to Alive Kuo [:alive][NEEDINFO!][:艾莉芙] from comment #8) > https://bugzilla.mozilla.org/show_bug.cgi?id=840126 > It's a gecko bug indeed...what we could do now is avoid to show the app > before screen orientation is locked. The regression range here shows that this is a Gaia bug, not a Gecko bug. It looks like you did try to workaround this problem in 1.2 & 1.3 - https://bugzilla.mozilla.org/show_bug.cgi?id=840126#c5. Maybe the workaround regressed here?
(In reply to Jason Smith [:jsmith] from comment #9) > (In reply to Alive Kuo [:alive][NEEDINFO!][:艾莉芙] from comment #8) > > https://bugzilla.mozilla.org/show_bug.cgi?id=840126 > > It's a gecko bug indeed...what we could do now is avoid to show the app > > before screen orientation is locked. > > The regression range here shows that this is a Gaia bug, not a Gecko bug. It > looks like you did try to workaround this problem in 1.2 & 1.3 - > https://bugzilla.mozilla.org/show_bug.cgi?id=840126#c5. Maybe the workaround > regressed here? Might be, but I cannot repro this issue on bubble-tea. I will test it later in v1.4 branch.
Confirmed on v1.4 reproducible.
Assignee: nobody → alive
Triage: need to fix this regression in v1.4.
blocking-b2g: 1.4? → 1.4+
Let's figure out a perfect solution in v1.5 but keep this in v1.4
Attachment #8393974 - Flags: review?(timdream)
Filed https://bugzilla.mozilla.org/show_bug.cgi?id=985843 for correct implementation.
Comment on attachment 8393974 [details] [review] https://github.com/mozilla-b2g/gaia/pull/17362 Could you recap our discussion yesterday in the bug here to make the argument that this 1.4-release fix is justified?
Attachment #8393974 - Flags: review?(timdream) → review+
Yesterday I tried out to fix this issue by do transforming the perpendicular appWindow before it's opened. 1. The transform could not be easily done because of portrait app and landscape app's size doesn't match. For example, portrait app which is not fullscreen is 460x320 and landscape app is 300x480. We need to move statusbar into appWindow to correct the size but it's too complex to fix it in the bug. 2. We still have bug 840126 to block us from having correct opening transition to rotated appWindow. So for v1.4 the best way is just hide the perpendicular window before it's opened and at the same time accelerate the opening transition for it.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.