Bug 76739 - Partial string search for contacts in address fields
Summary: Partial string search for contacts in address fields
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: addressbook (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-04 17:07 UTC by Carsten Schlipf
Modified: 2007-09-14 12:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Schlipf 2004-03-04 17:07:02 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
OS:          Linux

Currently the address fields only seem to search for the beginning of the display field. E.g. if the display of a contact is "Carsten Schlipf", entering "Car" will find it, entering "Schli" not.

The problem in our corporate environment is that my local address book displays contacts as "<first name> <last name>", while the LDAP server displays it as "<LAST NAME>, <FIRST NAME>". So depending on the source I have to either start with the first or the last name.

E.g. Mozilla solves this by searching for any part in the name, e.g. "lip" would also find "Carsten Schlipf".
Comment 1 Ingo Klöcker 2004-03-04 19:08:59 UTC
Simply press Ctrl+t to get all partial string matches.

It's not done be default because usually the user doesn't enter a random part of a name but starts with the first letter of the last name or first name. We currently only check whether the formatted name or the email address begins with the entered string. We should probably check whether any part of the name (i.e. first name or last name) starts with the entered string. Therefore I don't close this wish.
Comment 2 Szokovacs Robert 2004-03-12 17:25:57 UTC
In my experience, kmail _does not_ check the formatted name in the lookup. Kmail 1.6.1

br

Szo
Comment 3 Christian Schaarschmidt 2006-11-07 19:50:03 UTC
SVN commit 603074 by schaarsc:

address completion redesign
 - lookup: nickname, first/lastname, email, domain
 - disable unsupported completion modes
 - select first item in popup, pick with return

CCBUG: 98691, 76739, 77342, 109798, 107945, 82699


 M  +1 -1      branches/work/kdepim-3.5.5+/libkdepim/Makefile.am  
 M  +174 -70   branches/work/kdepim-3.5.5+/libkdepim/addresseelineedit.cpp  
 M  +21 -3     branches/work/kdepim-3.5.5+/libkdepim/addresseelineedit.h  
 A             branches/work/kdepim-3.5.5+/libkdepim/kmailcompletion.cpp   [License: LGPL (v2+)]
 A             branches/work/kdepim-3.5.5+/libkdepim/kmailcompletion.h   [License: LGPL (v2+)]
Comment 4 Christian Schaarschmidt 2006-11-25 22:55:56 UTC
SVN commit 607833 by schaarsc:

port of revsion 603074, 605966

address completion redesign
 - lookup: nickname, first/lastname, email, domain
 - disable unsupported completion modes
 - select first item in popup, pick with return

BUG: 98691, 76739, 77342, 109798, 107945, 82699


 M  +6 -1      kdelibs/kabc/scripts/addressee.src.cpp  
 M  +1 -1      kdepim/libkdepim/Makefile.am  
 M  +174 -70   kdepim/libkdepim/addresseelineedit.cpp  
 M  +21 -3     kdepim/libkdepim/addresseelineedit.h  
 A             kdepim/libkdepim/kmailcompletion.cpp   branches/work/kdepim-3.5.5+/libkdepim/kmailcompletion.cpp#603074 [License: LGPL (v2+)]
 A             kdepim/libkdepim/kmailcompletion.h   branches/work/kdepim-3.5.5+/libkdepim/kmailcompletion.h#603074 [License: LGPL (v2+)]