GNOME Bugzilla – Bug 328528
Local address book search fails after no user has been found / cannot reset search
Last modified: 2006-01-26 20:41:47 UTC
Please describe the problem: After doing a search for a contact in a local address book that returns 0 results, I can't reset the search to show all users again. Even searching for an existing user doesn't show that one any more. Steps to reproduce: 1. Open Address book 2. Create a contact in the local address book 3. Search for a string that returns no results (e.g. "whoaaaaa") 4a. Search for the contact you've just created 4b. Empty the search term box and press the find button Actual results: Nothing. Expected results: 5a. The contact is found 5b. All contacts are shown Does this happen every time? Yes Other information: Ekiga/1.99.0 on a Gentoo KDE box
Thanks for that bug report. Asking Julien to be CC'ed Julien as it is a problem of the --disable-gnome version.
I'll have a look at it.
I don't understand much of C code, but could it be that in gui/addressbook.cpp#705 doesn't keep filter on NULL when the entry text is empty? > if (strcmp (entry_text, "")) > filter = g_strdup (entry_text);
(In reply to comment #3) Sorry, that's not the error.
I fixed the fact that the contacts disappear. But the search still doesn't work :-/
I made the search a little better on two points : - perfect match works ; - the limitation of the search is now limited to a single function, which I'll now try to implement properly to get a full-featured search.
I just applied the final fix.