GNOME Bugzilla – Bug 700235
Only shows the first of multiple GMail contacts with the same email address
Last modified: 2018-09-21 16:02:21 UTC
Note: I am unsure about where to file this bug, as it might be instead a bug of GNOME contacts, or libgdata instead. folks sounded the more plausible culprit, but please feel free to move this bug where it pertains if it's wrong. To reproduce this bug, please create two Google contacts inside GMail. Set different names to them, and some extra info to be able to distinguish them (for instance, a different birthday), but use the *same e-mail address* for both. This is not an uncommon scenario; a lot of families have one unique address for both spouses + children — which is exactly my scenario. Now, if you wait for the system to sync with Google's server, and open the GNOME Contacts application, try searching for both names: only one of them will be in the list (usually, the first in alphabetical order). I found out of this issue by using gnome-shell search capabilities: I needed the street address of the second contact, and wasn't able to search for it. It should be noted that opening evolution's address book, selecting the GMail source, and searching for both contacts behaves correctly (e.g. both contacts are found and shown separately, as expected).
This is an expected behaviour of libfolks, because it implicitly links contacts which have the same e-mail address (because an e-mail address is almost always unique). We did consider the case where several members of the same family share an e-mail address, but decided it was uncommon enough to not require special support. If you open GNOME Contacts and search for the single contact with this e-mail address, the right-hand pane should list all the personas which form it. Try clicking ‘Unlink’ next to each of them. That should fix things. If that doesn’t work, then there’s actually a bug.
Thanks Philip; I understand. However, using "unlink" does not work; I can see only one of the (in this case) two accounts that concur to all displayed information. Thus, I cannot unlink the second one, because it isn't there. I am reopening this bug so that it's possible to unlink incorrectly merged contacts.
(In reply to comment #2) > However, using "unlink" does not work; I can see only one of the (in this case) > two accounts that concur to all displayed information. Thus, I cannot unlink > the second one, because it isn't there. Hmm. That’s unexpected. Can you run gnome-contacts with the following command: G_MESSAGES_DEBUG=all FOLKS_DEBUG=all gnome-contacts &> contacts.log and e-mail contacts.log to me (bugzilla@tecnocode.co.uk) please, along with the e-mail address/other identifying information of the contact which is showing the problem? Feel free to remove other personal information from the log. Could you also e-mail me a screenshot of the erroneous contact as shown in gnome-contacts please? Again, feel free to black out any other personal information. Thanks.
-- 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/folks/issues/62.