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 627176 - Do not spawn other process when clicking mailto: uri
Do not spawn other process when clicking mailto: uri
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.30.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-08-17 15:58 UTC by Pablo Rodríguez
Modified: 2010-12-02 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (717 bytes, patch)
2010-12-02 12:11 UTC, Milan Crha
committed Details | Review

Description Pablo Rodríguez 2010-08-17 15:58:42 UTC
Hi there,

I'm experiencing a weird bug (from version 2.30, there was no bug in previous versions):

When I try to click on the email address in the "From:" field on a displayed message, a new message is composed with the selected address as recipient of this new message.

This works fine as long as the name before the email address has no ASCII character. That means, it works with "Jens Miller <jens@miller.com>", but it doesn't with "Jörg Müller <joerg@mueller.de>".

Just in case it helps, I'm using evolution-2.30.2-4.fc13.i686.

Thanks for your help,


Pablo
Comment 1 Matthew Barnes 2010-08-19 16:00:43 UTC
Problem seems to lie deeper than Evolution, as we handle those address clicking by simply calling gtk_show_uri(<<escaped-mailto-uri>>).  The GVFS machinery is supposed to spawn another Evolution process, which then hands the mailto URI back to the first process by way of libunique.

It's exactly the same as running

   evolution "<<escaped-mailto-uri>>"

with an Evolution window already open.
Comment 2 Pablo Rodríguez 2010-08-21 11:46:12 UTC
I also experience another error when clicking on:

    From: "John Doe" <john@doe.com>

only copies the email address and not the name in the new message, while clicking on:

    From: John Doe <john@doe.com>

copies both name and email address on the new message.

Just in case it helps,


Pablo
Comment 3 Milan Crha 2010-12-02 09:36:30 UTC
(In reply to comment #1)
> Problem seems to lie deeper than Evolution, as we handle those address clicking
> by simply calling gtk_show_uri(<<escaped-mailto-uri>>).  The GVFS machinery is
> supposed to spawn another Evolution process, which then hands the mailto URI
> back to the first process by way of libunique.

And it's completely wrong way of doing this.
a) why to run another process when you are in the mailer already?
b) you are loosing folder information, in which the message was requested,
   thus the new composer sets default account, though it could use a different
   one.

I do not know why or whom did this, but I really consider it a bad decision, thus I'm changing this.
Comment 4 Milan Crha 2010-12-02 12:11:49 UTC
Created attachment 175703 [details] [review]
evo patch

for evolution;

By the way, I'm using glib master at commit 50a8b03 and gvfs git master at commit 63ba8c7 and before this patch I only got an error message "Could not open the link.\n\nThe specified location is not supported" for the mailto: url. http(s) works fine.
Comment 5 Milan Crha 2010-12-02 12:20:44 UTC
Created commit cda5e54 in evo master (2.91.4+)
Created commit 0e29a48 in evo gnome-2-32 (2.32.2+)