Closed
Bug 1134105
Opened 10 years ago
Closed 10 years ago
don't ask me again default browser checkbox is ignored when Firefox is not able to set the default browser
Categories
(Firefox :: Shell Integration, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: bgoodr, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150122214805
Steps to reproduce:
Reproduce the bug as follows:
1. Install 32-bit version of Firefox on a 64-bit Linux platform locally relative to your $HOME directory, not installed by package installers (e.g., not yum, apt, etc.).
3. Create a new profile called "newprofile".
4. Invoke firefox -no-remote -P "newprofile"
5. See the prompt for default browser.
6. Put a checkbox beside Don't ask me again.
7. Click on Use Firefox as my default browser.
8. Exit Firefox.
9. Invoke firefox again with firefox -no-remote -P "newprofile"
10. See the dialog box show up again.
The workaround I found was:
1. Create a new profile called "newprofile".
2. Invoke firefox -no-remote -P "newprofile"
3. See the prompt for default browser
4. Put a checkbox beside Don't ask me again.
5. Click on Use Firefox as my default browser.
6. Go into about:config
7. Change the browser.shell.checkDefaultBrowser configuration option from true to false.
8. Exit Firefox.
9. Invoke firefox again with firefox -no-remote -P "newprofile"
10. See that the dialog box is not shown as expected.
Version info:
Mozilla/5.0 (X11; Linux i686 on x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Actual results:
Dialog box keeps popping up and should not.
Expected results:
Dialog should not keep popping up once I selected the "Don't ask me again" checkbox.
Reporter | ||
Comment 1•10 years ago
|
||
There is no step 2. It was missing and didn't notice it until I posted it. How does one correct mistakes when there is no Edit button?
Reporter | ||
Comment 2•10 years ago
|
||
Prior attempts at diagnosing: http://forums.mozillazine.org/viewtopic.php?f=38&t=2913719
Gavin, could it be related to bug 1041516?
Component: Untriaged → Shell Integration
Flags: needinfo?(gavin.sharp)
Comment 4•10 years ago
|
||
(In reply to Brent Goodrick from comment #0)
> User Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:35.0) Gecko/20100101
> Firefox/35.0
> Build ID: 20150122214805
>
> Steps to reproduce:
>
> Reproduce the bug as follows:
>
> 1. Install 32-bit version of Firefox on a 64-bit Linux platform locally
> relative to your $HOME directory, not installed by package installers (e.g.,
> not yum, apt, etc.).
> 3. Create a new profile called "newprofile".
> 4. Invoke firefox -no-remote -P "newprofile"
> 5. See the prompt for default browser.
> 6. Put a checkbox beside Don't ask me again.
> 7. Click on Use Firefox as my default browser.
> 8. Exit Firefox.
> 9. Invoke firefox again with firefox -no-remote -P "newprofile"
> 10. See the dialog box show up again.
I guess I'm confused as to why the dialog box would show up again if Firefox is already your default browser (after step 7). Are you missing a step where you change your default back to something else? Or is the Linux default browser support just broken somehow?
In any case, bug 1041516 does seem likely to be related.
Flags: needinfo?(gavin.sharp)
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to :Gavin Sharp [email: gavin@gavinsharp.com] from comment #4)
> I guess I'm confused as to why the dialog box would show up again if Firefox
> is already your default browser (after step 7). Are you missing a step where
> you change your default back to something else? Or is the Linux default
> browser support just broken somehow?
I am not missing a step; I have not changed my default anywhere other than in that profile. The bug is that, in step 6, I put a checkbox beside Don't ask me again, and it still asks me again.
Comment 6•10 years ago
|
||
(In reply to Brent Goodrick from comment #5)
> I am not missing a step; I have not changed my default anywhere other than
> in that profile.
The default browser is a system-wide setting, it is not per-profile. But it's possible that Linux default browser setting is broken in your environment (e.g. if you're not using Gnome), or that the use of -no-remote/-P is making the "Set as default browser" function fail somehow.
> I put a checkbox beside Don't ask me again, and it still asks me again.
This was an intentional behavior change from bug 1041516 - clicking "set as default browser" effectively unchecks the checkbox. When things are working correctly, no dialog box appears if Firefox is already your default anyways. The behavior change was introduced so that it is not possible to get into a state where you want Firefox to be your default browser, but some other app changes that and then Firefox never checks again (see details in bug 1041516).
Reporter | ||
Comment 7•10 years ago
|
||
Thanks for that explanation, Gavin.
In my case, I am not using Gnome. I am using a the StumpWM window manager.
This is my interpretation: No corresponding "system-wide" setting really means that there is a setting expected to be stored on a per-Gnome-configuration basis. Firefox may, in fact, be correctly updating the Gnome configuration, but I would not see this effect until I run Gnome. I suspect this is true for most other mainstream window managers (e.g., KDE).
In my particular use of this profile, I can live with the workaround involving changing the browser.shell.checkDefaultBrowser firefox option to false. Therefore, we can resolve this as "works as designed" or similar.
Comment 8•10 years ago
|
||
Thanks for following up, Brent.
Probably what is happening is that Firefox is failing to properly set itself as default, or subsequently failing to detect that it did. Otherwise, it would be avoiding prompting you again after your step 5.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Summary: Don't ask me again default browser checkbox is ignored → don't ask me again default browser checkbox is ignored when Firefox is not able to set the default browser
You need to log in
before you can comment on or make changes to this bug.
Description
•