Comment 4 for bug 123044

Revision history for this message
In , Peter (peter-redhat-bugs) wrote :

Some applications installs .desktop files with mime types and an Exec line which
contains options. For example, nautilus-cd-burner installs
/usr/share/applications/nautilus-cd-burner-open-iso.desktop, which contains:

MimeType=application/x-cd-image;
Exec=nautilus-cd-burner --source-iso=%f

Firefox picks this up, so that when Firefox gets an ISO file, it presents a
dialog which allows the user to open the ISO file with Nautilus. However, the
*first* time after starting Firefox, it calls the external application with the
file as the first argument, without options:

astrand 32016 2.2 3.3 107640 34532 pts/10 S 14:33 0:00
/usr/bin/nautilus-cd-burner /tmp/tl-1.6.0-clientcd.iso

In this case, the applications gives an error. If you try again, the application
is called correctly:

astrand 32030 3.5 3.3 107604 34268 pts/10 S 14:33 0:00
nautilus-cd-burner --source-iso=/tmp/tl-1.6.0-clientcd-1.iso

and things works as expected.

Version-Release number of selected component (if applicable):
firefox-2.0.0.4-2.fc7 as well as firefox-1.5.0.12-1.fc6. I've verified the
problem both on FC6 and F7.

How reproducible:
Start Firefox. Go to http://www.cendio.com/downloads/clients and click on
"Client CD".