GNOME Bugzilla – Bug 710485
Enhancement: Copy contact details to the clipboard
Last modified: 2018-01-24 15:10:05 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.
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.
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).
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).
(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?
*** Bug 756752 has been marked as a duplicate of this bug. ***
It would be enough if the text was selectable so you could select and then copy&paste.
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.
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 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.
I really need the ability to select and copy phone numbers to paste them into my voip client. Looking forward to the patch
(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).
-- 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.