Description of problem: After setting the system's default browser to "Firefox" FF doesn't recognize it's the default browser on launching. After starting Firefox asks for setting it to the system's default browser. When answering this question the system's default browser is set to "User defined" and the command is set to "/usr/lib/firefox-3.0.4/firefox "%s"". Version-Release number of selected component (if applicable): firefox-3.0.4-1.el5.centos xulrunner-1.9.0.4-1.el5 How reproducible: allways Steps to Reproduce: 1. Open "Favorite applications" 2. Set default browser to "Firefox" 3. Start firefox Actual results: Firefox asks for setting it to the default browser Expected results: Firefox should start without this question Additional info:
Cannot reproduce here with the real RHEL 5.2 -- browser application in the Gnome is truly set to custom, but it is firefox, so it works as it should. Martin, you were saying something about bad registration? Or should I just close this as WORKSFORME?
Maybe I found the reason: On my profile the checkbox which lets firefox check on startup if it is the default browser was activated. In a new created profile this checkbox is disabled. So if you activate this checkbox you should be able to reproduce this issue. BTW: If you answer the default browser question with yes FF set the default browser to "User defined" with "/usr/lib/firefox-3.0.4/firefox %s" as command.
Reporter, you are right -- with the checking of "Check for being a default" I can reproduce the mess as well (on Rawhide). IMHO, this whole setting should be removed from Firefox on Linux entirely -- this shouldn't be done in Firefox, we have a good application for it, and the environment is not suspectible from taking default from us. But that's certainly decision on developers, so passing to them.
Created attachment 326725 [details] Proposed patch Firefox is using location of binary file (/usr/lib/firefox-3.0.5/firefox for example) to compare with string in gconf protocol handlers (like /desktop/gnome/url-handler/http). However in gconf register is not stored full path. Only 'firefox %s'. The patch is only checking 'firefox' word in gconf register instead of full path. It also fixes bug #474441.
See https://bugzilla.mozilla.org/show_bug.cgi?id=469648. Closing as upstream.