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 328528 - Local address book search fails after no user has been found / cannot reset search
Local address book search fails after no user has been found / cannot reset s...
Status: RESOLVED FIXED
Product: ekiga
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Snark
Ekiga maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-25 06:37 UTC by Christian Weiske
Modified: 2006-01-26 20:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Weiske 2006-01-25 06:37:26 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
Comment 1 Damien Sandras 2006-01-25 12:18:08 UTC
Thanks for that bug report. Asking Julien to be CC'ed Julien as it is a problem of the --disable-gnome version.
Comment 2 Snark 2006-01-25 12:25:38 UTC
I'll have a look at it.
Comment 3 Christian Weiske 2006-01-26 07:18:42 UTC
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);
Comment 4 Christian Weiske 2006-01-26 07:41:08 UTC
(In reply to comment #3) 
Sorry, that's not the error.
Comment 5 Snark 2006-01-26 16:44:01 UTC
I fixed the fact that the contacts disappear. But the search still doesn't work :-/
Comment 6 Snark 2006-01-26 20:17:44 UTC
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.
Comment 7 Snark 2006-01-26 20:41:47 UTC
I just applied the final fix.