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 674392 - Gnome Contacts does not show contact information which Empathy used to
Gnome Contacts does not show contact information which Empathy used to
Status: RESOLVED FIXED
Product: gnome-contacts
Classification: Core
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
Depends on: 675131
Blocks: 674456
 
 
Reported: 2012-04-19 13:35 UTC by Will Thompson
Modified: 2012-05-10 11:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Right-clicking Jonny on my Contact List and picking Information shows this. (82.43 KB, image/png)
2012-04-19 13:35 UTC, Will Thompson
  Details
Right-clicking jonnylamb in a chat room and picking Information shows me this. (41.03 KB, image/png)
2012-04-19 13:36 UTC, Will Thompson
  Details
Add Contact.fetch_contact_info() (1.07 KB, patch)
2012-04-30 11:49 UTC, Guillaume Desmottes
committed Details | Review
fetch contact info of selected contact (802 bytes, patch)
2012-04-30 11:49 UTC, Guillaume Desmottes
none Details | Review
fetch contact info of selected contact (831 bytes, patch)
2012-04-30 14:37 UTC, Guillaume Desmottes
committed Details | Review

Description Will Thompson 2012-04-19 13:35:18 UTC
Previously, right-clicking a contact in your contact list and picking Information would show some information about a contact. (For instance, I could see Jonny's birthday.) Similarly, right-clicking a contact in the sidebar for an IRC channel would show me /whois information, such as their real name and what other channels they are on.

Now, Gnome Contacts pops up in both cases.

(The first time I did this, I got a “what address book do you want to use?” window, which was a bit surprising. Once I chose to use a local address book, I seem to have three contacts: Cosimo Alfarano, Thomas Thurman, and my own SIP phone number. I don't know why I only have these three. This is someone else's bug.)

Right-clicking Jonny and picking Information pops up Gnome Contacts with a card for Jonny, which shows me just his avatar, name and JID, and then shows me his avatar again and asks “Do these details belong to Jonny Lamb?”. (Screenshot to follow.)

Right-clicking “jonnylamb” in the sidebar of an IRC channel pops up Gnome Contacts with a dialog box saying:

  ==================  Contact not found ===========================

  No contact with id 2dee829b5529d3a70d3714ba6b09083e5d04bd5a found

                                                          [ Close ]

(Screenshot also to follow.)

I get the same result in an XMPP MUC.
Comment 1 Will Thompson 2012-04-19 13:35:50 UTC
Created attachment 212357 [details]
Right-clicking Jonny on my Contact List and picking Information shows this.
Comment 2 Will Thompson 2012-04-19 13:36:28 UTC
Created attachment 212358 [details]
Right-clicking jonnylamb in a chat room and picking Information shows me this.
Comment 3 Will Thompson 2012-04-19 13:36:50 UTC
I should be honest: I am using Empathy 3.3.90.2 from Debian experimental, not 3.4.0.
Comment 4 Guillaume Desmottes 2012-04-19 15:03:26 UTC
The IRC/muc case is bug #671884 which has been fixed in 3.3.92

So this bug is "gnome-contacts should display all the contact information that Empathy's dialog use to".

The missing information is basically contact info from Telepathy right?
Comment 5 Will Thompson 2012-04-19 15:24:51 UTC
(In reply to comment #4)
> The IRC/muc case is bug #671884 which has been fixed in 3.3.92
> 
> So this bug is "gnome-contacts should display all the contact information that
> Empathy's dialog use to".
> 
> The missing information is basically contact info from Telepathy right?

Yep, I guess so. It would also be nice if it didn't ask “Do these details belong to Jonny Lamb?”—I really don't understand that bar. Also, the “Add to My Contacts” button seems strange to me. He's already a contact. I just clicked on him in my Contact List…
Comment 6 Guillaume Desmottes 2012-04-20 07:19:32 UTC
the "Do these detaisl" question is the UI suggesting you to link contacts together. If that wasn't clear to you and/or if you think gnome-contacts could do a better job on this regard I suggest you to open another bug about it.

The 'Add to my contacts' button has been added because now gnome-contacts only display contacts which are in your address book (so not the TP ones if they are not linked with an EDS persona). Hitting this button will add the contact to your EDS abook. I agree that sucks but I'm not the one to convinced as I disagree with the "only local contacts" change since it has been done.
Comment 7 Will Thompson 2012-04-20 08:49:44 UTC
Okay. So retitling. Empathy used to show the following bits of information:

http://git.gnome.org/browse/empathy/tree/libempathy-gtk/empathy-contactinfo-utils.c?id=fed480fa086cba30816a5345499ceeb00ddd6d6c#n103

I guess the IRC-related stuff is not applicable in Gnome Contacts, but grabbing phone numbers, email addresses, websites and birthdays seems worthwhile.
Comment 8 Alexander Larsson 2012-04-27 09:56:06 UTC
Are these available via folks? I think we show all the data that it gives use for a persona. Maybe this is a folks-telepathy issue?
Comment 9 Guillaume Desmottes 2012-04-30 10:29:34 UTC
Folks does support getting ContactInfo from Telepathy but it misses API to let user (Contacts) request them: bug #675131
Comment 10 Guillaume Desmottes 2012-04-30 11:49:03 UTC
Created attachment 213097 [details] [review]
Add Contact.fetch_contact_info()
Comment 11 Guillaume Desmottes 2012-04-30 11:49:05 UTC
Created attachment 213098 [details] [review]
fetch contact info of selected contact

This ensures we'll display as much information as possible about the contact.
Comment 12 Guillaume Desmottes 2012-04-30 11:49:50 UTC
Here is an easy fix allowing us to fix this issue without blocking on having proper support for this in Folks.
Comment 13 Xavier Claessens 2012-04-30 11:54:46 UTC
If we don't want to indicate info are being fetched, then +1. Otherwise, fetch_contact_info() should be made async and yield tp.contact.request_contact_info_async().
Comment 14 Allan Day 2012-04-30 11:58:27 UTC
Can someone explain what information you want adding to the contact pane, please?
Comment 15 Guillaume Desmottes 2012-04-30 12:03:46 UTC
It doesn't really add any information, it just asks Telepathy to fetch as many information as possible: phone numbers, websites, birthday, etc.

All these info are already supported by Contacts and displayed with EDS contact but were not with Telepathy contacts because of this bug.
Comment 16 Guillaume Desmottes 2012-04-30 14:37:55 UTC
Created attachment 213108 [details] [review]
fetch contact info of selected contact

This ensures we'll display as much information as possible about the contact.
Comment 17 Guillaume Desmottes 2012-05-10 11:56:22 UTC
Attachment 213097 [details] pushed as 5f0a9b2 - Add Contact.fetch_contact_info()
Attachment 213108 [details] pushed as 951cd42 - fetch contact info of selected contact