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 710485 - Enhancement: Copy contact details to the clipboard
Enhancement: Copy contact details to the clipboard
Status: RESOLVED OBSOLETE
Product: gnome-contacts
Classification: Core
Component: general
3.10.x
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
available
: 756752 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-10-19 00:36 UTC by Michael Gratton
Modified: 2018-01-24 15:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make labels in contact-sheet selectable patch (1.48 KB, patch)
2017-08-15 15:40 UTC, Jeena
committed Details | Review

Description Michael Gratton 2013-10-19 00:36:59 UTC
It would be really handy to be able to copy specific contact details (phone, address, email) to the clipboard without having to go into edit mode first.
Comment 1 Erick Perez Castellanos 2014-02-12 19:04:55 UTC
Yes, I would. I think maybe Allan can come up with some way to add a clipboard button like Github does almost everywhere these days.
Comment 2 Allan Day 2014-04-08 10:02:20 UTC
I think we want the primary action to be to use the contact detail (eg. open an email when you click on an email address). That implies that this needs to be a secondary action - perhaps the easiest way would be to display a context menu when right clicking on the contact detail. This could contain options for the item (eg. create email, copy email address).
Comment 3 Erick Perez Castellanos 2014-08-11 13:17:43 UTC
I've made a try at this and I realize there's some details that will have an one-line menu, e.g. address, nickname.

I think it's better to add an action to copy all the details like as a text.
This could be on the ActionBar below, but I feel that is getting to crowded.

(In reply to comment #2)
> I think we want the primary action to be to use the contact detail (eg. open an
> email when you click on an email address). That implies that this needs to be a
> secondary action - perhaps the easiest way would be to display a context menu
> when right clicking on the contact detail. This could contain options for the
> item (eg. create email, copy email address).
Comment 4 Michael Gratton 2014-08-12 00:27:38 UTC
(In reply to comment #3)
> I think it's better to add an action to copy all the details like as a text.
> This could be on the ActionBar below, but I feel that is getting to crowded.

Copying all contact details together to the clipboard is a bit suboptimal, especially for example copying a phone number into a web form, but better than nothing.

Would putting it on the action bar imply it's a three-click process still however? I.e. Edit > Copy > Done? Wouldn't be better to be a header/toolbar button so it's a one-click process?
Comment 5 Erick Perez Castellanos 2015-10-17 16:35:31 UTC
*** Bug 756752 has been marked as a duplicate of this bug. ***
Comment 6 Jeena 2016-04-11 07:49:28 UTC
It would be enough if the text was selectable so you could select and then copy&paste.
Comment 7 Jeena 2017-08-15 15:40:14 UTC
Created attachment 357642 [details] [review]
Make labels in contact-sheet selectable patch

As the last comment mentioned it would be enough to make the labels selectable which my patch does. The buttons like email are still not selectable, so one can't copy them, but that might still be ok because they already do the action.
Comment 8 Philip Withnall 2017-08-16 13:14:23 UTC
Review of attachment 357642 [details] [review]:

This looks reasonable. If the designers want a different approach to be used for the UI, this can be reverted at a later date. However, for now, it’s an obvious improvement.
Comment 9 Philip Withnall 2017-08-16 13:16:47 UTC
Comment on attachment 357642 [details] [review]
Make labels in contact-sheet selectable patch

Pushed to master. I’ll leave the bug open, since this only fixes a couple of the properties; the other properties need some design work to be done.
Comment 10 Johannes Rohr 2017-09-25 19:09:54 UTC
I really need the ability to select and copy phone numbers to paste them into my voip client. Looking forward to the patch
Comment 11 Philip Withnall 2017-09-27 11:51:49 UTC
(In reply to Johannes Rohr from comment #10)
> I really need the ability to select and copy phone numbers to paste them
> into my voip client. Looking forward to the patch

The patch which has already been committed should make phone numbers selectable, and is included in all releases since 3.25.92 (inclusive).
Comment 12 GNOME Infrastructure Team 2018-01-24 15:10:05 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-contacts/issues/40.