This is a problem caused by the interaction of xulrunner and Gnome VFS.
Using the test files in Savvas' thread in the forums
(http://ubuntuforums.org/showthread.php?p=5369513) a *successful*
handling of the PDF file looks like this:

nsMIMEInfoUnix::GetHasDefaultHandler()
Using vfs
return NS_OK

nsMIMEInfoUnix::GetHasDefaultHandler()
Using vfs
return NS_OK

nsMIMEInfoBase::LaunchWithFile()
mPreferredAction=4
mPreferredAction==useSystemDefault
calling LaunchDefaultWithFile()

nsMIMEInfoUnix::LaunchDefaultWithFile()
nativePath=/tmp/test5-5.pdf
Using vfs
vfs->GetAppForMimeType()=1
app->Launch()

Whereas trying either of the text files (with or without spaces in
names) gives this:

nsMIMEInfoUnix::GetHasDefaultHandler()
Using vfs
fallback to nsMIMEInfoImpl::GetHasDefaultHandler()

nsMIMEInfoBase::LaunchWithFile()
mPreferredAction=4
mPreferredAction==useSystemDefault
calling LaunchDefaultWithFile()

nsMIMEInfoUnix::LaunchDefaultWithFile()
nativePath=/tmp/test4 with space-4.txt
Using vfs
vfs->GetAppForMimeType()=1
mDefaultApplication=0
!mDefaultApplication NS_ERROR_FILE_NOT_FOUND

... and...

nsMIMEInfoUnix::GetHasDefaultHandler()
Using vfs
fallback to nsMIMEInfoImpl::GetHasDefaultHandler()

nsMIMEInfoBase::LaunchWithFile()
mPreferredAction=4
mPreferredAction==useSystemDefault
calling LaunchDefaultWithFile()

nsMIMEInfoUnix::LaunchDefaultWithFile()
nativePath=/tmp/test3nospace-1.txt
Using vfs
vfs->GetAppForMimeType()=1
mDefaultApplication=0
!mDefaultApplication NS_ERROR_FILE_NOT_FOUND

-- 
firefox - the associated helper application does not exist
https://bugs.launchpad.net/bugs/239952
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to epiphany-browser in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to