The latest on Firefox for Windows 8 Metro, status update 4

News and other things I find interesting


RSS Feed


Apr
22
2012

The latest on Firefox for Windows 8 Metro, status update 4

Last modified: Monday, April 23, 2012

We've made steady progress over the past 3 weeks on Firefox for Windows 8 Metro.

Platform Integration:

We have secondary tiles working, you can pin secondary tiles temporarily via a menu item. Like Internet Explorer 10, you can pin any number of sites to your start screen. When you click on the secondary tile, it will load the pinned site in Metro whether or not Firefox is already open.

We also hooked up the Windows 8 settings contract which means you can access Firefox preferences via the Windows 8 Settings charm.

Work is in progress for the Play To contract and the print contract.

Accessibility and Input:

We now support the soft keyboard which is especially important for when a keyboard is not attached and you are using a touch device.

We are also working on hooking up Windows 8 touch events, Windows 8 gestures, and W3C DOM touch events.

Core Changes:

We added support for XAML interop. This means that we can overlay XAML controls on top of our XUL / HTML rendered DirectX surface. We don't know all of the use cases for this yet but we'll probably use this for at least the app bar. The app bar is a bar of controls you can slide up from the bottom edge or your screen or popup via right click.

We also figured out PRI files in Windows 8. PRI files is an undocumented file type for storing resources.

We were using another program's PRI file until recently.

We fixed up some memory leaks on shutdown as well; these were not introduced but happened on Win32 Fennec which we are based on.

Approval for Current Plan:

We're hoping to get approval for the tentative plan which includes moving over the work to the main mozilla-central repository. The mozilla-central repository is where Nightly builds are made.

Up until now we've been developing and landing code on the elm repository.

Open Questions:

There are still several open questions, but the one we've been investigating during the period of this update most is how to handle compiling with the Visual Studio 2011 Beta tools and still have support for running those binaries on Windows XP.

To compile Firefox on Metro you have to use Visual Studio 11 Beta, but VS2011 cannot build binaries that are compatible for Windows XP. In bug 744942 we're discussing either patching the CRT, compiling a DLL with the WinRT code separately (2 compiler build process), or packaging a Windows 8 installer separate from the existing Windows installers and updates.

In any case, we will be supporting Windows XP in the same way we always have. I'm personally disappointed that VS 2011 drops XP support given that Windows XP has extended support up until April 8th, 2014.

Firefox Work Week:

Perhaps some of the most exciting work so far will happen this week coming up.

On Monday I'm heading to Toronto for the Firefox work week. One of the hacking goals during this week is to get some significant initial work done on the UI for Firefox on Metro. This work will be based on the UX work from Stephen Horlander and Yuan Wang. In the initial work we'll have the tab bar and address bar on the top and site specific options such as pin site on an app bar accessible from the bottom edge.

Tags:

Add a new comment | 7 comment(s)

Gravatar image Ahmed Nefzaoui on Monday, April 23, 2012 (06:04:45) says:

Looking forward for this :) You guys are awesome!!

Gravatar image Caspy7 on Monday, April 23, 2012 (09:04:17) says:

I take it from this update that we are sticking with Fennec as the basis for the Metro version?

You mentioned having the address bar on the top. All the Metro IE screenshots I've seen have it on the bottom. Is this an intentional deviation from the platform standard? What is our (hopefully significantly justified) motivation in that?

Gravatar image Pluto on Monday, April 23, 2012 (03:04:58) says:

Is it as simple as just double clicking FF's exe after you've built it?

Gravatar image Brian R. Bondy on Wednesday, April 25, 2012 (05:04:11) says:

> I take it from this update that we are
> sticking with Fennec as the basis for the Metro version?

Yes that's correct.

> All the Metro IE screenshots I've seen have it on the bottom.
> Is this an intentional deviation from the platform standard?

Yes this is intentional.

> What is our (hopefully significantly justified) motivation in that?

You'd have to ask someone from the UX team but I don't think there is a conflicting Metro guideline. Typically URL bars are on the top so IE is having the deviation here.

> Is it as simple as just double clicking FF's
> exe after you've built it?

Clicking the FF tile actually from the start screen. You can find more info here:
https://wiki.mozilla.org/Firefox/Windows_8_Integration

Gravatar image jalf on Sunday, April 29, 2012 (09:04:57) says:

I know you probably can't wait for Microsoft to make up their minds, but there is *a lot* of pressure on Microsoft to re-add XP support for VC11.

And some of their comments under this blog post: (http://blogs.msdn.com/b/vcblog/archive/2012/04/18/10295093.aspx) seem like they're probably going to cave.

Gravatar image Brian R. Bondy on Monday, April 30, 2012 (11:04:13) says:

Ya we have been reading that discussion and are hoping for a positive outcome.

Gravatar image Greg on Monday, July 16, 2012 (08:07:53) says:

Are there any working Firefox Metro builds available?