User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2a1pre) Gecko/20081214 Minefield/3.2a1pre Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2a1pre) Gecko/20081214 Minefield/3.2a1pre "Check now" function in Edit/Preferences/Advanced/Default browser fails to recognize that Gnome has Firefox set as default browser. Reproducible: Always Steps to Reproduce: 1. Open "Preferred applications" (command gnome-default-applications-properties) 2. Set web browser to "Firefox" 3. Start Firefox and go to Edit/Preferences/Advanced tab. 4. Click on "Check now" button 5. Click on "Yes" button Actual Results: Firefox wrongly detect that it is not a default browser for Gnome and it set the default browser in Gnome Preferred Applications to Custom with command "/usr/lib/firefox-3.0.4/firefox "%s"". Expected Results: The Firefox should detect that it is already the default browser. However if it is not default browser the preferred application should be set to "firefox "%s"" instead of full path. In my experience this bug occurs in RHEL5 and Fedora 10.
Created attachment 353048 [details] [diff] [review] 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 searching for 'firefox' word in gconf register to check if Firefox is default browser. If it is confirmed to use Firefox as default browser the Gnome preferred application web browser is set to "firefox %s". This assure that next time Gnome preferred application is executed it shows Firefox browser as selected from drop down menu (no Custom).
I am interested to work on this bug and I would I like to know more details about this bug. I would also like to know where I should get started.