Closed Bug 796361 Opened 12 years ago Closed 12 years ago

[windowManager] Task switcher does not show correct orientation of app

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ghtobz, Unassigned)

Details

[GitHub issue by alivedise on 2012-06-11T02:59:33Z, https://github.com/mozilla-b2g/gaia/issues/1647]
STR:

1. Open Cut the rope.
2. Long press home button to let the task switcher show.
3. The orientation of cut the rope 'icon' in the tak switcher is portrait-oriented.

Should this be landscape-oriented? It set the icon's background of the moz-element to the iframe of apps just now.
[GitHub comment by vingtetun on 2012-06-11T03:00:52Z]
On 11/06/2012 04:59, Alive.Kuo wrote:
> STR:
>
> 1. Open Cut the rope.
> 2. Long press home button to let the task switcher show.
> 3. The orientation of cut the rope 'icon' in the tak switcher is portrait-oriented.
>
> Should this be landscape-oriented? It set the icon's background of the moz-element to the iframe of apps just now.


This is blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=757137
[GitHub comment by alivedise on 2012-06-11T04:09:56Z]
The orientation of cuttherope is correct when it is inited:) http://i.imgur.com/BYaN3.png

Another observation:
* When the task switcher of cuttherope is shown, the faded background is also portrait-oriented; http://i.imgur.com/obR8a.png
  When you click on the icon of cuttherope, the app in background is turned to correct orientation.
[GitHub comment by alivedise on 2012-06-11T07:24:58Z]
After investigation, I think the core cause is: window manager lock orientation to portrait mode first and then display the task switcher. So any iframe now is in portrait mode. Therefore the task icon which use app-iframe as its background(by moz-element) just show what as same as the iframe in the background.

So how about use 90 degree transform in specific task icon, distinguished by the app.manifest.orientation is whenever window manager display the task list? :)
Cut the rope is gone, but we still need to verify if the behavior of the System app is correct. @alive can you do that again?
[mass adding reproducible keyword for any open Gaia bug with the word "STR:" in comments]
Keywords: reproducible
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) from comment #4)
> Cut the rope is gone, but we still need to verify if the behavior of the
> System app is correct. @alive can you do that again?

1. Card view displays landscape app correctly now,
2. BUT switch between landscape app and portrait app using card view, leads to very strange behavior. The landscape app will disappear from cards view....
Component: Gaia → Gaia::System
Should be fixed by bug 810353, qawanted
Keywords: reproducibleqawanted
Whiteboard: [label:system]
verified
build info
2012-11-21 Unagi Daily Build
gaia : 7967ee63b77b537562d524242fe4f9dc881a39ea
releases/gecko : 372f36fb1a5d6428bcba336499abe5c2d0105433
gonk-misc : aafa9ca4d2e9e755fe9964018a9797eac4ecc7de
Keywords: qawanted
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.