Closed Bug 912925 Opened 12 years ago Closed 12 years ago

Fresh install on a new tablet doesn't offer firefox as a default option

Categories

(Firefox for Metro Graveyard :: Install/Update, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jimm, Unassigned)

Details

Attachments

(1 file)

We still have this problem for fresh installs after click yes on the first default browser prompt.
Attached image Screenshot (1).png
If I click off the dialog the default programs window opens. From there I can choose firefox (which is listed). The program has 6 out of 8 defaults. Selecting firefox there and setting it as the default completes successfully and I'm able to launch metrofx from the start screen.
To test fixes I think we'll have to invest some time in wiping win8 and reinstalling fx to confirm.
Flags: in-moztrap?
I remember you reporting this before as well but I couldn't reproduce with fresh installs. I think it's an intermittent problem. Just a thought, but maybe we launch the flyout before helper.exe has a chance to finish registering itself intermittently.
Summary: Fresh install on a new tablet doesn't offer firefox as a default option → Defect - Fresh install on a new tablet doesn't offer firefox as a default option
Whiteboard: [preview-triage] → [preview-triage] feature=defect c=tbd u=tbd p=0
Summary: Defect - Fresh install on a new tablet doesn't offer firefox as a default option → [MP] Defect - Fresh install on a new tablet doesn't offer firefox as a default option
Whiteboard: [preview-triage] feature=defect c=tbd u=tbd p=0 → [preview] feature=defect c=tbd u=tbd p=0
So I suspect if you would have clicked on the Windows initiated prompt for defaults instead of the Firefox one, Nightly wouldn't be listed there either. I think the installer is not setting up the StartMenuInternet keys properly or something like that. These keys get re-fixed when you click yes to default from within Firefox. But helper.exe is launched without waiting for it to finish, so for that one time you'll not see Nightly listed but the next time you do it you would. To half fix the problem, i.e. fix from within Firefox's prompt and not the Windows prompt, you can change this code: > nsresult > LaunchHelper(nsAutoString& aPath) > { > STARTUPINFOW si = {sizeof(si), 0}; > PROCESS_INFORMATION pi = {0}; > > if (!CreateProcessW(nullptr, (LPWSTR)aPath.get(), nullptr, nullptr, FALSE, > 0, nullptr, nullptr, &si, &pi)) { > return NS_ERROR_FAILURE; > } > > CloseHandle(pi.hProcess); > CloseHandle(pi.hThread); > return NS_OK; > } To instead be launched in another thread and have it wait for helper.exe to finish before launching the defaults http flyout. I think a better fix would be to reproduce this problem via going directly to control panel's http default prompt. Then once you can reproduce consistently after an install check the registry around StartMenuInternet keys and see what's missing. Unfortunately I can't reproduce it though.
The particular case here with my screen shot doesn't involve the installer. The install location is T on my surface pro, so it's either a local build or zip build I've unpacked. Sounds like your guess might be right.
oh! if you weren't using an installer then there is no bug with the installer and we should go ahead with the mentioned fixed in Comment 5.
Note that this shouldn't be critical if it wasn't from an installer too because the installer itself sets the keys correctly. So once you go into Firefox the keys will already be set and you can run helper.exe and not wait for the result without a problem. If you are sure it wasn't from an installer originally I'd boot this into v2.
No longer blocks: MetroPreviewRelease
Summary: [MP] Defect - Fresh install on a new tablet doesn't offer firefox as a default option → Defect - Fresh install on a new tablet doesn't offer firefox as a default option
Whiteboard: [preview] feature=defect c=tbd u=tbd p=0 → feature=defect c=tbd u=tbd p=0
Blocks: metrobacklog
No longer blocks: metrov1backlog
Blocks: 935467
Summary: Defect - Fresh install on a new tablet doesn't offer firefox as a default option → Fresh install on a new tablet doesn't offer firefox as a default option
Whiteboard: feature=defect c=tbd u=tbd p=0 → [defect] p=0
No longer blocks: 935467
Whiteboard: [defect] p=0 → [defect] p=8
Target Milestone: --- → Firefox 30
Whiteboard: [defect] p=8 → p=8 r=ff30
Target Milestone: Firefox 30 → ---
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
No longer blocks: metrobacklog
Whiteboard: p=8 r=ff30
OS: Windows 8 Metro → Windows 8.1
Flags: in-moztrap?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: