I found the problem in 7.04. Here it is:

GNOME settings: set Firefox as default, sets the command line to

firefox %s

Firefox does not recognize this string as the default browser, so it
sets up:

/usr/lib/firefox/firefox "%s"

as the default browser. However, this is broken, not only due to lack of
integration with GNOME. With Firefox's setting, ubuntu-bug breaks. If I
call it with Firefox settings, the folloing URL fails to be opened:

file:///home/fabio/%22https://launchpad.net/ubuntu/+filebug/3ZJdXVjcYM2DH4kDR7Is7BHgz5e?%22

It works fine with GNOME setting, not containing the local path leading
the URL. Some way, calling Firefox by /usr/lib/firefox/firefox breaks
opening URLs on the command line.

Also, GNOME settings for Firefox to open in new window and new tab are
broken. When one of this is set

firefox -remote "openurl(%s,new-window)"
firefox -remote "openurl(%s,new-tab)"

No new Firefox is opened. It only works if a Firefox is already running.
For new tab and no Firefox opened, this error comes to the console:

Error: No running window found

The temporary solution is to use GNOME's setting with no new window /
new tab option and hack Firefox settings to get the desired behavior.

-- 
Firefox cant cope with default browser setting
https://bugs.launchpad.net/bugs/78204
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to