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 669720 - Please add an option to ignore contact groups
Please add an option to ignore contact groups
Status: RESOLVED DUPLICATE of bug 627658
Product: empathy
Classification: Core
Component: Contact List
3.3.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2012-02-09 00:36 UTC by Dylan McCall
Modified: 2012-02-09 12:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch adding a gsettings property to show or hide all contact groups. (2.65 KB, patch)
2012-02-09 05:59 UTC, Dylan McCall
none Details | Review

Description Dylan McCall 2012-02-09 00:36:05 UTC
With Empathy connected to many different accounts, contact groups easily become unwieldy. This is because different services have very different ideas of what contact groups are, and they really don't cooperate:

 - Facebook contact groups correspond to friend lists, which are used more as a privacy control mechanism than a way to categorize people.
 - Facebook's default contact group is "Facebook Friends"
 - Facebook's default contact group ends up with a lot of contacts unless users are especially picky. The chat interface on Facebook.com makes such pickiness unnecessary, as contact groups are not visible.
 - Android creates a Google Talk contact group called "Starred in Android."
 - Telepathy doesn't seem to handle changing contact groups very well.

This becomes especially troublesome with meta-contacts. I have a meta-contact that is regularly listed three times because he appears in Facebook Friends, Starred in Android and Personal. If I starred this contact in Empathy, he would appear four times.

In other words, contact groups can hinder more than they help. So, for these situations, it would be helpful to include an option to completely ignore contact groups and display contacts in a flat list. It would be nice if the Favourite Contacts feature continued to work in this case.
Comment 1 Dylan McCall 2012-02-09 05:59:55 UTC
Created attachment 207158 [details] [review]
Patch adding a gsettings property to show or hide all contact groups.
Comment 2 Dylan McCall 2012-02-09 06:00:05 UTC
Oooh, this is already implemented in empathy-individual-store, so it's really easy. Cool!
(Good thing: I've been using a lot of Javascript lately, so my C is worse than usual).

Here's a patch that adds a new property to gsettings: empathy/ui/show-groups, and some some code in roster-window to handle that appropriately.
I have not added any UI stuff.

In its current state, this does not show the Favourite People group. I can probably take care of that without too much worry, if there's interest in this feature in the first place :)
Comment 3 Dylan McCall 2012-02-09 06:17:36 UTC
And (sorry about all the extra messages!) here's a branch on github:
https://github.com/DylanMcCall/Empathy---Hide-contact-groups
Comment 4 Guillaume Desmottes 2012-02-09 12:05:44 UTC
Thanks for your patch Dylan but I already wrote one waiting for review. :)

*** This bug has been marked as a duplicate of bug 627658 ***