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 705888 - contact list is not refreshed after changing address book
contact list is not refreshed after changing address book
Status: RESOLVED FIXED
Product: gnome-contacts
Classification: Core
Component: general
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
: 722152 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-08-13 09:46 UTC by Corentin Lecouvey
Modified: 2014-09-16 17:32 UTC
See Also:
GNOME target: ---
GNOME version: 3.7/3.8


Attachments
gnome-contacts_chgaddrbook.patch (1.11 KB, patch)
2013-10-24 09:23 UTC, manuel.BACHMANN@eurogiciel.fr
none Details | Review

Description Corentin Lecouvey 2013-08-13 09:46:40 UTC
Changing address book from the app menu has no effect on the contact list.
After restarting gnome-contacts, the contact list is correctly displayed.

I encountered this issue on Ubuntu and Fedora 19.
Comment 1 manuel.BACHMANN@eurogiciel.fr 2013-10-24 09:23:34 UTC
Created attachment 257993 [details] [review]
gnome-contacts_chgaddrbook.patch

Please find attached a preliminary patch, which allows changing the address book on-the-fly.

There's still a problem : I seem unable to clear/reset the Contacts.Store on refresh (so old contacts merge with the new ones). Tried different approaches without success ; it might be related to the asynchronous nature of IndividualAggregator callbacks. Any insight is appreciated.
Comment 2 Alexander Larsson 2013-11-07 15:14:07 UTC
I think this is a folks issue. It should send the right change events when the primary address book is changed.
Comment 3 Allan Day 2014-04-08 11:07:40 UTC
The contact list shouldn't update when you change the address book any more - we always show all the available contacts.

Do we still need this patch?
Comment 4 Erick Perez Castellanos 2014-06-02 17:58:29 UTC
*** Bug 722152 has been marked as a duplicate of this bug. ***
Comment 5 Erick Perez Castellanos 2014-06-02 18:06:11 UTC
(In reply to comment #3)
> The contact list shouldn't update when you change the address book any more -
> we always show all the available contacts.
> 
> Do we still need this patch?
Not the patch, but this is a bug, indeed
Comment 6 Erick Perez Castellanos 2014-09-16 17:32:21 UTC
Fixed in master.
Pushed here: https://git.gnome.org/browse/gnome-contacts/commit/?id=be0903e9d63f2c9136caa9ffe569f8b358c89298