GNOME Bugzilla – Bug 539117
Opens files with the wrong application (gecko uses gnome-vfs instead of GIO).
Last modified: 2009-10-30 13:15:08 UTC
Please describe the problem: I have configured my system to open python files with gvim. If I go to <http://alldunn.com/python/fcgi.py> then Epiphany says, File Type: “Python script”. You can open “fcgi.py” using “GVim Text Editor” or save it. If I press the Open button then Bluefish is launched to show the file! Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
I'm not sure this is an Epiphany problem. What distro are you using? What app is opened when you enter 'gnome-open fcgi.py' on the command line?
Debian testing. If I download the file and then run 'gnome-open' on it then Bluefish is also launched. However double-clicking the file in Nautilus opens gvim.
Another data point... gvfs-open launches Gvim. So maybe this is just because Epiphany still uses gnome-vfs, and there is no longer any interface for adjusting gnome-vfs preferred applications?
*** Bug 552117 has been marked as a duplicate of this bug. ***
Actually, it is rather odd that Epiphany uses gio to display which application that it will use to open the file, but then uses gnome-vfs to actually open it. That, at least, should be changed.
That's because it's gecko doing the opening, using gnome-vfs, not epiphany directly. gecko needs to be ported to gio.
And until it does so, Epiphany needs to display the right helper application when it prompts the user whether to open a downloaded file or save it. Also, users have no way to edit the gnome-vfs file associations any more, now that Nautilus uses gio. :(
Alternatively, is there no way to ask gecko what application will handler the file? Firefox seems to be able to do so, since it correctly indicates that it will open the file with seq24. But it might just be calling into gnome-vfs to do so as epiphany does, rather than asking gecko to do so...
*** Bug 522636 has been marked as a duplicate of this bug. ***
Created attachment 118698 [details] [review] Get name of helper application from gnome-vfs This seems to work... I know you are focussed on the webkit backend at the moment, so I don't expect this to be applied... but I would like to apply it to the Debian package (as we are going to ship Epiphany 2.22 in the forthcoming stable release), so I would appreciate any comments. :)
FYI, I filed a bug with Mozilla about switching to gio, at <https://bugzilla.mozilla.org/show_bug.cgi?id=455231>.
There already was https://bugzilla.mozilla.org/show_bug.cgi?id=402892 .
*** Bug 556517 has been marked as a duplicate of this bug. ***
Could someone rename the bug? The name does not help very much (and leads to duplicates).
Done.
*** Bug 558731 has been marked as a duplicate of this bug. ***
No longer relevant.