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 688166 - mailto: links are copied with the mailto: intact
mailto: links are copied with the mailto: intact
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
3.6.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-12 13:27 UTC by Alexander van Loon
Modified: 2013-01-04 20:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
popup-commands: omit mailto: when copying links (834 bytes, patch)
2012-12-10 14:24 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
e-window: add a smarter CopyEmailAddress action (3.72 KB, patch)
2012-12-10 14:49 UTC, Diego Escalante Urrelo (not reading bugmail)
committed Details | Review

Description Alexander van Loon 2012-11-12 13:27:49 UTC
Navigate to any website which has e-mail addresses formatted mailto: links, for example http://www.gnome.org/contact/ with Epiphany. Right click the e-mail addresses and choose "Copy Link Address". Then paste the address and note that it's copied as mailto:gnome-press-contact@gnome.org with the "mailto:" prefix of the link still intact. This is reproducible in the most recent stable release, Epiphany 3.6.1.

Should this not be seen as a bug but a feature, I urge the developers to reconsider. This behavior was very annoying if you have to copy a lot of e-mail addresses, every time you need to remove the "mailto:" part. Also, other browsers like Firefox do not include it in the pasted e-mail address.
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2012-12-10 14:24:06 UTC
Created attachment 231146 [details] [review]
popup-commands: omit mailto: when copying links
Comment 2 Diego Escalante Urrelo (not reading bugmail) 2012-12-10 14:49:25 UTC
Created attachment 231149 [details] [review]
e-window: add a smarter CopyEmailAddress action

It omits the mailto: in mail links and has a different string in the
context menu, to make this clear.

--

Improved to consider Bastien's suggestion of using a different text in
the menu.
Comment 3 Xan Lopez 2013-01-03 17:46:26 UTC
Review of attachment 231149 [details] [review]:

Looks good to me!
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2013-01-04 20:39:25 UTC
Attachment 231149 [details] pushed as 997b046 - e-window: add a smarter CopyEmailAddress action