First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 75064
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Aron Griffis (RETIRED) <agriffis@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Fabio Rossi <rossi.f@inwind.it>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mozilla-launcher.patch mozilla-launcher.patch patch Fabio Rossi 2005-01-18 15:05 0000 586 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 75064 depends on: Show dependency tree
Bug 75064 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-20 08:21 0000
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

------- Comment #1 From Fabio Rossi 2005-01-08 08:58:03 0000 -------
--- /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.

------- Comment #2 From Fabio Rossi 2005-01-18 15:05:23 0000 -------
Created an attachment (id=48896) [edit]
mozilla-launcher.patch

------- Comment #3 From Aron Griffis (RETIRED) 2005-03-15 06:17:15 0000 -------
Thanks!  Committed to cvs, will be available in the next mozilla-launcher
release

------- Comment #4 From Aron Griffis (RETIRED) 2005-03-16 05:35:52 0000 -------
Fixed in mozilla-launcher-1.26

First Last Prev Next    No search results available      Search page      Enter new bug