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 559483 - running gnome-open 'mailto:user@acme.com' opens mail to ///user@acme.com
running gnome-open 'mailto:user@acme.com' opens mail to ///user@acme.com
Status: RESOLVED FIXED
Product: libgnome
Classification: Deprecated
Component: general
2.24.x
Other Linux
: Normal normal
: ---
Assigned To: libgnome maintainer
libgnome maintainer
: 571441 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-05 18:22 UTC by Pedro Villavicencio
Modified: 2009-05-04 22:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Patch to avoid passing mailto URIs through GFile (587 bytes, patch)
2009-03-10 12:04 UTC, Chris Jones
none Details | Review

Description Pedro Villavicencio 2008-11-05 18:22:01 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/libgnome/+bug/294233

"if you execute from a terminal gnome-open mailto:user@acme.com a evolution/thunderbird window is shown with ///user@acme.com in his To field

this doesn't happens if you execute gvfs-open mailto:user@acme.com"

Thanks,
Comment 1 Christian Persch 2008-11-05 19:00:17 UTC
Confirmed. gvfs-open has special code for this. Bug 530752 would have fixed this by just making gnome-open a symlink to gvfs-open.
Comment 2 Eric Piel 2008-12-09 12:17:46 UTC
Indeed, I'm hit by the same problem. What's the fix? Reopening Bug 530752 and this time really linking gnome-open to gvfs-open, or keeping both codes while fixing gnome-open?
Comment 3 Christian Persch 2008-12-09 12:20:22 UTC
I guess importing the gvfs-open code to gnome-open.c would make sense for now... or just remove it and have libgnome install the symlink instead of waiting for gvfs to do that.
Comment 4 Eric Piel 2008-12-09 12:48:44 UTC
Actually in libgnome, I see there is special code for windows. It expect "gnome-open.exe". IIRC, there is no symlinks on windows so that's quite inconvenient. I could change the code to just call gvfs-open with the same arguments, or I could drop the support of gnome-open in windows (until Microsoft adds the symlinks to their OS). What is best?
Comment 5 Pedro Villavicencio 2009-02-19 12:55:13 UTC
*** Bug 571441 has been marked as a duplicate of this bug. ***
Comment 6 Pedro Villavicencio 2009-02-19 12:57:45 UTC
bug 571441 has a patch for this, may someone have a look to it? 

patch: http://bugzilla.gnome.org/attachment.cgi?id=128548&action=view
Comment 7 Chris Jones 2009-03-10 12:04:05 UTC
Created attachment 130395 [details] [review]
Patch to avoid passing mailto URIs through GFile

This is the same patch I attached to the other bug. Just moving it over here for completeness and goodness of metadata.
Comment 8 Luca Bruno 2009-03-26 22:57:45 UTC
This has been fixed in libgnome 2.26.
Comment 9 Kjartan Maraas 2009-05-04 22:14:38 UTC
Closing then.