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 728598 - Search provider not working anymore
Search provider not working anymore
Status: RESOLVED DUPLICATE of bug 685227
Product: gnome-contacts
Classification: Core
Component: general
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-04-20 10:14 UTC by Michael Heyns
Modified: 2014-09-19 15:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screencast of contacts search results not appearing in shell. (313.75 KB, video/webm)
2014-06-03 04:39 UTC, Michael Heyns
Details
Output of "journalctl --user -f | grep -i contact" (4.04 KB, text/plain)
2014-06-09 15:17 UTC, Michael Heyns
Details
Output of "journalctl --user -f | grep -i dbus" (7.29 KB, text/plain)
2014-06-09 15:17 UTC, Michael Heyns
Details
Archlinux package and its sources (1.00 MB, application/zip)
2014-06-19 16:05 UTC, Erick Perez Castellanos
Details
New updated Archlinux package (1.00 MB, application/zip)
2014-06-23 15:49 UTC, Erick Perez Castellanos
Details

Description Michael Heyns 2014-04-20 10:14:33 UTC
Since upgrading to 3.12 I have noticed no contacts in shell search results even with search provider turned on in settings.
Comment 1 Michael Heyns 2014-04-21 00:49:06 UTC
It turns out that the search provider works for the local address book but not online accounts. I have tested Google and ownCloud accounts. The contacts load successfully in gnome-contacts but they do not appear in shell search.
Comment 2 Allan Day 2014-04-22 11:06:59 UTC
Thanks for the report Michael. I'm unable to reproduce here, but I'll believe you. :)

Just to check - you can successfully search in the contacts app with an online account?
Comment 3 Michael Heyns 2014-06-03 04:37:40 UTC
Hi, Allan. Thanks for the response. I have been busy with exams so I apologise for the delay. I'll attach a screencast of the behaviour. I will be doing a fresh install on a new laptop drive and report back if it occurs again.

I'll be relieved if I am the only one experiencing this. I have a suspicion this may have been caused by an upgrade from 3.10. (Running Arch)
Comment 4 Michael Heyns 2014-06-03 04:39:00 UTC
Created attachment 277778 [details]
Screencast of contacts search results not appearing in shell.
Comment 5 Michael Heyns 2014-06-03 07:16:39 UTC
Okay, I have a fresh, clean installation of GNOME 3.12.2 on a fresh, clean installation of Arch Linux. The search provider still doesn't work as expected. It's just plain misbehaving. I can view and search contacts using the gnome-contacts application just fine but when using the shell, multiple unexpected things can happen:

 - No results.
 - An empty search provider block with just the contacts icon.
 - Partial and/or incorrect results. i.e. 'Chris' will list Chad and Christine but not Chris.
 - The correct search results.

These things can happen for every letter entered and for every letter deleted. I will attach a screencast of me typing the same search term over and over, displaying the wonky behaviour.

This is a minor inconvenience for me as I have been getting used to not using the shell for searching contacts. But if this is an indication of a flaw in the code somewhere, I would love to be able to help pinpoint it.
Comment 6 Michael Heyns 2014-06-03 07:42:29 UTC
Please see http://youtu.be/pKJpENfNJEE
Comment 7 Erick Perez Castellanos 2014-06-09 14:36:06 UTC
Hi,
I would like for you to try something.
Can you open a terminal and type in there: "journalctl --user -f | grep -i contact" after that try to search in the overview and attach the output of the terminal command
Comment 8 Michael Heyns 2014-06-09 15:16:25 UTC
Hi, Erick. I get a number of dbus related error messages. 

If I follow the journal messages for 'dbus' instead, for each 

"org.gnome.Contacts.SearchProvider[565]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting."

message it is immediately followed by at least one of the following messages:

"org.gnome.Photos[565]: ** (gnome-photos:5110): WARNING **: Unable to fetch the list of available renderers: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name com.intel.dleyna-renderer was not provided by any .service files"

Both attatched.
Comment 9 Michael Heyns 2014-06-09 15:17:27 UTC
Created attachment 278148 [details]
Output of "journalctl --user -f | grep -i contact"
Comment 10 Michael Heyns 2014-06-09 15:17:52 UTC
Created attachment 278149 [details]
Output of "journalctl --user -f | grep -i dbus"
Comment 11 Erick Perez Castellanos 2014-06-09 19:09:15 UTC
(In reply to comment #9)
> Created an attachment (id=278148) [details]
> Output of "journalctl --user -f | grep -i contact"

Thxs, can I give you a patch for contacts to try, or should I package it for you to test it ?
Comment 12 Michael Heyns 2014-06-19 03:26:52 UTC
I'm glad to help out where ever I can. I am willing to try the patch.
Comment 13 Erick Perez Castellanos 2014-06-19 16:05:55 UTC
Created attachment 278779 [details]
Archlinux package and its sources

@Michael, here is the Archlinux package with the patch. There's another bunch of changes but you don't need to worry about it.
Comment 14 Michael Heyns 2014-06-20 10:17:08 UTC
@Erik, thank you. I have tried it but now it's actually not working at all.

The same journalctl output from previous attachments and now Contacts is missing from the Search settings in control-center.
Comment 15 Erick Perez Castellanos 2014-06-23 15:27:41 UTC
That's indeed not the best package.
I'll update the package. Can you first uninstall contacts with "pacman -Rdn gnome-contacts" and then install the package I provided you.
After that relogin into your session and please attach the journalctl output.
I'm added some login I would like to check on that output.
Thxs
Comment 16 Erick Perez Castellanos 2014-06-23 15:49:39 UTC
Created attachment 279047 [details]
New updated Archlinux package
Comment 17 Erick Perez Castellanos 2014-09-19 15:16:24 UTC
It's not actually a duplicate, but the fix will fix both bugs

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