I have installed firefox and set the variable MOZILLA_NEWTYPE=tab for mozilla-launcher. If I try to load a HTML file, giving its absolute path on the command line, nothing happens. Setting MOZILLA_NEWTYPE=window instead, the file is correctly loaded. Reproducible: Always Steps to Reproduce: 1. Set MOZILLA_NEWTYPE=tab 2. Load a file giving its absolute path on the command line 3. Actual Results: Nothing Expected Results: Load the file
--- /usr/libexec/mozilla-launcher 2005-01-08 17:52:00.000000000 +0100 +++ /usr/libexec/mozilla-launcher.new 2005-01-08 17:53:19.558005008 +0100 I have used this patch and now it works correctly: @@ -228,6 +228,9 @@ elif [[ $1 != *://* && $1 != /* && -e $1 ]]; then # relative path to a file, transform to absolute path urls=("${urls[@]}" "file://$PWD/$1") + elif [[ $1 != *://* && $1 == /* && -e $1 ]]; then + # absolute path to a file + urls=("${urls[@]}" "file://$1") elif [[ $1 != *:* && $1 == *@* ]]; then # looks like an email address, prefix with mailto: so we can # recognize it later.
Created attachment 48896 [details, diff] mozilla-launcher.patch
Thanks! Committed to cvs, will be available in the next mozilla-launcher release
Fixed in mozilla-launcher-1.26