Last Comment Bug 760729 - Investigate what triggers the Windows 8 'display web pages' application popup
: Investigate what triggers the Windows 8 'display web pages' application popup
Status: RESOLVED FIXED
:
Product: Firefox
Classification: Client Software
Component: General (show other bugs)
: Trunk
: x86_64 Windows 8
: -- normal (vote)
: ---
Assigned To: Brian R. Bondy [:bbondy]
:
:
Mentors:
Depends on:
Blocks: 760023
  Show dependency treegraph
 
Reported: 2012-06-01 16:13 PDT by Jim Mathies [:jimm]
Modified: 2013-12-27 14:23 PST (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Screenshot of default browser selection window (192.85 KB, image/png)
2012-06-01 16:28 PDT, Brian R. Bondy [:bbondy]
no flags Details

Description Jim Mathies [:jimm] 2012-06-01 16:13:25 PDT
Windows 8 brings up a popup on the first install of an "application that displays web pages" and offers the user the chance to set it as the default. We should dig into this UI and try to understand what triggers it, and whether we can retrigger it under certain circumstances.
Comment 1 Brian R. Bondy [:bbondy] 2012-06-01 16:28:20 PDT
Created attachment 629390 [details]
Screenshot of default browser selection window
Comment 2 Brian R. Bondy [:bbondy] 2012-06-04 18:47:16 PDT
Gideon mentioned that this should work with the SHOpenWithDialog API. I confirmed just now that it works on Windows 8 with the following code: 

OPENASINFO info;
info.pcszFile = L"http";
info.pcszClass = NULL;
info.oaifInFlags = OAIF_FORCE_REGISTRATION |  OAIF_URL_PROTOCOL | OAIF_REGISTER_EXT;
HRESULT hr = SHOpenWithDialog(NULL, &info);

Note You need to log in before you can comment on or make changes to this bug.