Re: "Open with other application" affects the default handlers

On Fri, 04 Mar 2005 16:30:56 +0100, Christian Persch <chpe gnome org> wrote:
> Hi,
> in investigating an Epiphany bug
> ( "view source appears
> broken") I've found some serious problems with "Open with other
> application":
> Right-click a file, select "Open with other application", expand "use a
> custom command", enter "gedit --new-window", click Open. This opens the
> selected file in gedit, but it also creates a "gedit.desktop" file in
> ~/.local/share/applications/ .
> Now, if gedit was the default handler for some mime type (for example
> text/plain), using gnomve_vfs_mime_get_default_application("text/plain")
> then gnome_vfs_mime_application_launch will try to launch the handler
> using the new .desktop file. This will fail, because its Exec line
> doesn't include any argument placeholder (%U).
> I think there are really 3 bugs here:
> 1) Nautilus creates a .desktop file with a name which will clash with a
> system-installed .desktop file
> 2) The newly created .desktop file has an Exec line which makes it
> unsuitable for launch with either gnome_vfs_mime_application_launch or
> gnome_desktop_item_launch.
> []
> 3) GNOME-VFS uses the wrong .desktop file
> []
> Together, these bugs make Epiphany's "View Source" command fail.

Granted I'm biased (I filed the original bug ;) but I'm very tempted
to mark this collection of bugs a showstopper for 2.10- it must affect
other programs (that we haven't seen yet) and is totally unfixable by
the average user.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]