Closed Bug 1225048 Opened 9 years ago Closed 7 years ago

Set TV screen size when launching by Mulet

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jj.evelyn, Assigned: jj.evelyn)

References

Details

(Whiteboard: [ft:conndevices])

We need to set a TV window size preference so the runtime will respect to it when launching
https://github.com/evelynhung/gaia/commit/5aba30a5ba908d67e324a2162287d443637cb9d5

I try to use this way for setting a pref, but it doesn't work well on Mulet. Guess there is something wrong... Alex, any suggestion?
Flags: needinfo?(poirot.alex)
okay, I will check bug 1191951 as you suggested in mail. :)
Flags: needinfo?(poirot.alex)
See Also: → 1191951
s/Set TV screen size when launching by Mulet/Set TV screen size on Desktop/

Setting b2g.screen.size should work. If not, we should fix screen.js accordingly.
The priority order is expected to be like this:
 - default size hardcoded in screen.js (which is a phone size, 320x480)
 - preference: b2g.screen.size
 - command line: --screen

If you set the pref from gaia profile, desktop runtime (b2g-desktop and mulet) should automatically get the correct size without having to pass a command line argument manually.

Regarding mulet random behavior, this is most likely something buggy in responsive design code...
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.