After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 539117 - Opens files with the wrong application (gecko uses gnome-vfs instead of GIO).
Opens files with the wrong application (gecko uses gnome-vfs instead of GIO).
Product: epiphany
Classification: Core
Component: General
Other All
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 522636 552117 556517 558731 (view as bug list)
Depends on:
Reported: 2008-06-19 12:14 UTC by Sam Morris
Modified: 2009-10-30 13:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24

Get name of helper application from gnome-vfs (4.58 KB, patch)
2008-09-14 15:35 UTC, Sam Morris
none Details | Review

Description Sam Morris 2008-06-19 12:14:31 UTC
Please describe the problem:
I have configured my system to open python files with gvim. If I go to <> then Epiphany says,

 File Type: “Python script”.

 You can open “” using “GVim Text Editor” or save it.

If I press the Open button then Bluefish is launched to show the file!

Steps to reproduce:

Actual results:

Expected results:

Does this happen every time?

Other information:
Comment 1 Reinout van Schouwen 2008-06-26 22:24:03 UTC
I'm not sure this is an Epiphany problem.
What distro are you using?
What app is opened when you enter 'gnome-open' on the command line?
Comment 2 Sam Morris 2008-09-14 13:08:19 UTC
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.
Comment 3 Sam Morris 2008-09-14 13:13:08 UTC
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?
Comment 4 Sam Morris 2008-09-14 13:33:20 UTC
*** Bug 552117 has been marked as a duplicate of this bug. ***
Comment 5 Sam Morris 2008-09-14 13:37:03 UTC
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.
Comment 6 Christian Persch 2008-09-14 13:37:52 UTC
That's because it's gecko doing the opening, using gnome-vfs, not epiphany directly. gecko needs to be ported to gio.
Comment 7 Sam Morris 2008-09-14 13:47:48 UTC
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. :(
Comment 8 Sam Morris 2008-09-14 14:15:17 UTC
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...
Comment 9 Sam Morris 2008-09-14 15:22:30 UTC
*** Bug 522636 has been marked as a duplicate of this bug. ***
Comment 10 Sam Morris 2008-09-14 15:35:04 UTC
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. :)
Comment 11 Sam Morris 2008-09-14 16:13:29 UTC
FYI, I filed a bug with Mozilla about switching to gio, at <>.
Comment 12 Christian Persch 2008-09-14 18:42:11 UTC
There already was .
Comment 13 Cosimo Cecchi 2008-10-16 15:58:28 UTC
*** Bug 556517 has been marked as a duplicate of this bug. ***
Comment 14 Maciej (Matthew) Piechotka 2008-10-16 16:28:06 UTC
Could someone rename the bug? The name does not help very much (and leads to duplicates).
Comment 15 Cosimo Cecchi 2008-10-16 17:45:29 UTC
Comment 16 Reinout van Schouwen 2008-11-03 13:12:58 UTC
*** Bug 558731 has been marked as a duplicate of this bug. ***
Comment 17 Gustavo Noronha (kov) 2009-10-30 13:15:08 UTC
No longer relevant.