GNOME Bugzilla – Bug 727741
When a contact name isn't set, use another piece of information as the name
Last modified: 2018-01-07 11:57:28 UTC
I have quite a few contacts that are just a phone number or email address. These appear blank in the contact list. If there isn't a name assigned to the contact, we should use a contact detail as the name in the list and the contact pane (this data shouldn't be inserted into these fields, and should be used for display only). The following details can be used as stand-in contact names. They are listed roughly in order of preference, so we can select one if there are multiple details but no name: * Nickname * Email * Website * Phone number * Address
*** Bug 675650 has been marked as a duplicate of this bug. ***
The interface we have for adding Contacts don work for Company, eg: when I want to add a Contact for Apple Inc. the same way the the iPhone does. Today, I realized some contacts handlers has a "File as" combo when you set if the contact youŕe entering is a Company, or a person or something else. Maybe we can have something like this.
(In reply to comment #0) > I have quite a few contacts that are just a phone number or email address. > These appear blank in the contact list. > > If there isn't a name assigned to the contact, we should use a contact detail > as the name in the list and the contact pane (this data shouldn't be inserted > into these fields, and should be used for display only). > > The following details can be used as stand-in contact names. They are listed > roughly in order of preference, so we can select one if there are multiple > details but no name: > > * Nickname > * Email > * Website > * Phone number > * Address This should work, we use those details as name for a contact. I will need some testing on 3.12.x and some data if it still happens The contact data could be get using 'folks-inspect' command.
We now use the Individual's `display_name`-property, which is automatically kept up to date (and is cached as well). This also includes the alias-property that Erick mentioned. Originally, it did not include the phone number, but I made bug 792198 to add that in folks (which has already landed on master).