Closed Bug 888363 Opened 11 years ago Closed 11 years ago

[MP] Defect - unable to make Nightly my default browser if a different Firefox installation exists

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 26

People

(Reporter: jbecerra, Assigned: bbondy)

References

Details

(Whiteboard: [preview] feature=defect c=Other_charms_and_integration u=metro_firefox_user p=3 [steps to test in comment 8])

Attachments

(1 file)

Tested on 2013-0-28 using latest nightly. A user wasn't able to set Nightly as the default browser as manifested by the fact that they couldn't go into Metro mode. Setting its defaults in the program defaults dialog didn't change it. The user had an existing installation of Firefox 22.

I was able to reproduce this with the following steps:

1. On a clean Windows 8 machine (remove all previous Firefox installations) install Firefox 22 (www.mozilla.com)
2. Set it as your default browser when prompted by the browser and the system.
3. Go to nightly.mozilla.org and download an installer
4. Run the installer and at the end make Nightly your default browser when prompted by the browser and the system prompt

Expected: At this point Nightly should be your default browser and the Nightly tile on the Start page should launch the Nightly in Metro mode.

Actual: Nightly launches in desktop mode. The only way to make it launch in Metro mode is by going to the Options/Advanced/ and clicking on the "Check if it is the default browser" button, and going through that process, or by setting IE as the default first and then setting Nightly as the default again.

Also, if you go to the default programs dialog so that you set Nightly as the default, you will see that its icon is the official Firefox as opposed to the dark blue one.

Additional note from bbdondy: "If you have a different firefox as default, install new build of nightly to a new location, set Nightly as default from control panel, shotcut on start screen never updates.  I think we can maybe do some one time detection after firefox is started and is the default to make sure the start menu tile is updated to the new default.  (Which is what happens when you set the default from within Desktop Firefox."
Priority: -- → P1
Priority: P1 → P2
Summary: defect - unable to make Nightly my default browser if a different Firefox installation exists → defect - unable to make Nightly my default browser through control panel if a different Firefox installation exists
Summary: defect - unable to make Nightly my default browser through control panel if a different Firefox installation exists → Defect - unable to make Nightly my default browser through control panel if a different Firefox installation exists
Whiteboard: [metrotestday-20130628] → [metrotestday-20130628] feature=defect c=Other_charms_and_integration u=metro_firefox_user p=0
Whiteboard: [metrotestday-20130628] feature=defect c=Other_charms_and_integration u=metro_firefox_user p=0 → feature=defect c=Other_charms_and_integration u=metro_firefox_user p=0 [metrotestday-20130628]
Whiteboard: feature=defect c=Other_charms_and_integration u=metro_firefox_user p=0 [metrotestday-20130628] → [preview] feature=defect c=Other_charms_and_integration u=metro_firefox_user p=0 [metrotestday-20130628]
Summary: Defect - unable to make Nightly my default browser through control panel if a different Firefox installation exists → MP Defect - unable to make Nightly my default browser through control panel if a different Firefox installation exists
Whiteboard: [preview] feature=defect c=Other_charms_and_integration u=metro_firefox_user p=0 [metrotestday-20130628] → [preview] feature=defect c=Other_charms_and_integration u=metro_firefox_user p=0
Summary: MP Defect - unable to make Nightly my default browser through control panel if a different Firefox installation exists → [MP] Defect - unable to make Nightly my default browser through control panel if a different Firefox installation exists
Blocks: metrov1backlog
No longer blocks: metrov1defect&change
Attached patch Patch rev1 (deleted) — Splinter Review
See comments at the top of the patch for more info about the fixes
Assignee: nobody → netzen
Attachment #790438 - Flags: review?(jmathies)
Blocks: metrov1it13
No longer blocks: metrov1backlog
Whiteboard: [preview] feature=defect c=Other_charms_and_integration u=metro_firefox_user p=0 → [preview] feature=defect c=Other_charms_and_integration u=metro_firefox_user p=3
Status: NEW → ASSIGNED
QA Contact: jbecerra
Comment on attachment 790438 [details] [diff] [review]
Patch rev1

Went through a bunch of link/file assoc tests plus launching from the start tile - no issues. Code looks good.
Attachment #790438 - Flags: review?(jmathies) → review+
https://hg.mozilla.org/integration/fx-team/rev/60bf438fa2f2
Target Milestone: --- → Firefox 26
https://hg.mozilla.org/mozilla-central/rev/60bf438fa2f2
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Unfortunatelly this issue is still reproducible, while testing this today, for iteration #13.

Please take a look at the following observations:

1) While going through the STR from comment 0, after step 1, I installed Firefox 23.0.1, not 22. Also, at step 4, I was never prompted to make Nightly (which I installed in the standard folder) my default browser (neither by the browser, nor by the system). So I went to Default Programs and set it manually, and I was able to see that Nightly had there the Firefox icon, and that Firefox wasn't present in that list at all. Even though the icon from the start screen is the Metro one (and not the Nightly one), Nightly still launches in desktop mode, and what is even more alarming is that Firefox 23.0.1 is the one opening and not Nightly. 

2) I also tried the other suggested scenario: " "If you have a different firefox as default, install new build of nightly to a new location, set Nightly as default from control panel, shotcut on start screen never updates.", and I got the same results as 1)

Does anyone have any suggestions/thoughts? Thanks!
Flags: needinfo?
Flags: needinfo?
Summary: [MP] Defect - unable to make Nightly my default browser through control panel if a different Firefox installation exists → [MP] Defect - unable to make Nightly my default browser if a different Firefox installation exists
Please post new issues for that.

What this bug fixes is:
1) Other installation won't open firefox.exe anywhere when you launch it.
2) You are able to set a different default browser now through Firefox if another instance exists.

Going directly through control panel and bypassing Firefox set as default isn't covered here.  I updated the title to reflect that now too.
After discussing with bbondy, we agreed that I post here the STR, for future reference and taking into consideration only comment 6, part 2), since part 1) is verified in bug 841610.

-- on Win 8 64bit

STR

1. Install one version/release of Firefox (in my case 22)
2. Install a Nightly (in my case, latest one - build ID: 20130905030206)
3. Go to Control Panel -> Default Programs, and make both programs default ones, consecutively 

Expected results: You should be able to make the first Firefox the default browser, and then imediatelly the other one, without setting a different browser (Chrome, IE, etc.) as default in between. This works for me.

Note: this can also be applied with 2 Nightly versions (in my case, I installed the latest Nightly in 2 locations: the standard one and a custom one)


I have a question regarding what I found in comment 5 part 1): I didn't retry that, since I tested with the STR posted in this comment. Should I retry and log a bug if I can still reproduce, or can I mark this as verified, based on the results from this comment?

Thanks!
Flags: needinfo?
Whiteboard: [preview] feature=defect c=Other_charms_and_integration u=metro_firefox_user p=3 → [preview] feature=defect c=Other_charms_and_integration u=metro_firefox_user p=3 [steps to test in comment 8]
Flags: needinfo? → needinfo?(netzen)
>  So I went to Default Programs and set it manually, and I was able to see that Nightly had there the Firefox icon, and that Firefox wasn't present in that list at all. 

Please post this if you can find steps to reproduce. It isn't related to this bug though so please post it in a new bug.

Also if there isn't a bug about Metro Firefox not working if you go directly to the control panel and not within Firefox to set default, you can post that as a new bug as well.  Please CC me on any new bugs along those lines.
Flags: needinfo?(netzen)
(In reply to Brian R. Bondy [:bbondy] from comment #9)
> >  So I went to Default Programs and set it manually, and I was able to see that Nightly had there the Firefox icon, and that Firefox wasn't present in that list at all. 
> 
> Please post this if you can find steps to reproduce. It isn't related to
> this bug though so please post it in a new bug.

I can't reproduce that issue anymore.
 
> Also if there isn't a bug about Metro Firefox not working if you go directly
> to the control panel and not within Firefox to set default, you can post
> that as a new bug as well.  Please CC me on any new bugs along those lines.

I've logged and CC'ed you in bug 918253 and 918287. Thanks!
Verified on latest nightly (build ID:20131003030203) using the STR from comment 8, I got the expected results.

Installing the release version of FF + setting as default and installing the nightly afterwards will result in showing only nightly in Control Panel(which I think is expected due to the fact that Firefox is already set as default).

Marking this issue as verified because Nightly can be set as default browser even if another FF installation exists.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: