You can try giving a pixel ratio in your command, like: 1920x1080*@0.9*

On a Mac with retina support, the best configuration is 1.3.

On Thu, Oct 22, 2015 at 7:59 PM, Chris Mills <[email protected]> wrote:

> I’ve just worked it out - I was starting the simulator at a screen size
> too big for my monitor, and that was stopping the entire thing from working
> properly.
>
> My work monitor is 1920x1080; when I used the setting -screen 1600x900, so
> it was definitely a bit small than the entire screen, it worked fine.
>
>
> Chris Mills
>  Senior tech writer || Mozilla
> developer.mozilla.org || MDN
>  [email protected] || @chrisdavidmills
>
> > On 22 Oct 2015, at 12:46, Evelyn Hung <[email protected]> wrote:
> >
> > Chris, and you still can't see any apps?
> >
> > I got the same "checkReloadKey" error (but no TypeError) and my build
> works correctly, so I guess it doesn't hurt.
> > I use latest Gaia master running on b2g desktop nightly build downloaded
> from here.
> >
> > On Thu, Oct 22, 2015 at 7:20 PM, Chris Mills <[email protected]> wrote:
> > hi there,
> >
> > Thanks for the insight. I’ve tried it, and I’m afraid it still doesn’t
> work.
> >
> > The error when I press the home button is a bit different now:
> >
> >  -*- Shell.js: Failed to get key: [Exception... "Component returned
> failure code: 0x8000ffff (NS_ERROR_UNEXPECTED)
> [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"
> location: "JS frame :: chrome://b2g/content/shell.js :: checkReloadKey ::
> line 35"  data: no]
> > ###################################### BrowserElementCopyPaste.js loaded
> > ############################### browserElementPanningAPZDisabled.js
> loaded
> > ############################### browserElementPanning.js loaded
> > ######################## BrowserElementChildPreload.js loaded
> > ######################## extensions.js loaded
> > JavaScript error: app://smart-system.gaiamobile.org/js/app_window.js,
> line 1316: TypeError: table is undefined
> >  -*- Shell.js: Failed to get key: [Exception... "Component returned
> failure code: 0x8000ffff (NS_ERROR_UNEXPECTED)
> [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"
> location: "JS frame :: chrome://b2g/content/shell.js :: checkReloadKey ::
> line 35"  data: no]
> >
> >
> > Chris Mills
> >  Senior tech writer || Mozilla
> > developer.mozilla.org || MDN
> >  [email protected] || @chrisdavidmills
> >
> > > On 22 Oct 2015, at 12:02, Shian-Yow Wu <[email protected]> wrote:
> > >
> > > Hi Chris,
> > >
> > > I once encountered similar issue.  My case was that gaia/profile
> contained some old files, and it was fixed after doing "make clean" in
> gaia, then make again.  Please try if it works for you.
> > >
> > > Best Regards,
> > > Shian-Yow
> > >
> > >
> > > 2015-10-22 18:53 GMT+08:00 Chris Mills <[email protected]>:
> > > Hi there,
> > >
> > > I’m trying to get the FxOS TV simulator running, as detailed in
> > >
> > >
> https://developer.mozilla.org/en-US/Firefox_OS/TVs_connected_devices#Developing_TV_apps
> > >
> > > I’m sure I got this to run ok when we first documented it. I just
> tried this again, and it mostly works for me, but not completely. The
> profile builds correctly, although when I actually run
> > >
> > > > path/to/b2g-bin -screen 1920x1080 -start-debugger-server 6000
> -profile /path/to/gaia/profile
> > >
> > > It opens up the desktop simulator with a desktop background shown, but
> no apps, and when I press the home button, I get the following error in the
> console:
> > >
> > > -*- Shell.js: Failed to get key: [Exception... "Component returned
> failure code: 0x8000ffff (NS_ERROR_UNEXPECTED)
> [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"
> location: "JS frame :: chrome://b2g/content/shell.js :: checkReloadKey ::
> line 35"  data: no]
> > > JavaScript error: app://
> smart-system.gaiamobile.org/js/homescreen_window.js, line 85: TypeError:
> app is null
> > > -*- Shell.js: Failed to get key: [Exception... "Component returned
> failure code: 0x8000ffff (NS_ERROR_UNEXPECTED)
> [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"
> location: "JS frame :: chrome://b2g/content/shell.js :: checkReloadKey ::
> line 35"  data: no]
> > >
> > > Any thoughts on this?
> > >
> > > Thanks in advance.
> > >
> > > Chris Mills
> > >  Senior tech writer || Mozilla
> > > developer.mozilla.org || MDN
> > >  [email protected] || @chrisdavidmills
> > >
> > > _______________________________________________
> > > dev-fxos mailing list
> > > [email protected]
> > > https://lists.mozilla.org/listinfo/dev-fxos
> > >
> > >
> > >
> > > --
> > > Shian-Yow
> >
> > _______________________________________________
> > dev-fxos mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-fxos
> >
> >
> >
> > --
> > Evelyn Hung
> > Front-end Engineering Lead, Firefox OS Devices
> > Mozilla Corporation
>
>


-- 
Evelyn Hung
Front-end Engineering Lead, Firefox OS Devices
Mozilla Corporation
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to