Bug #51

Autocomplete when entering addresses

Added by Georg Schmalhofer over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:02/24/2012
Priority:NormalDue date:
Assignee:Hiroyuki Yamamoto% Done:

0%

Category:SylpheedSpent time:1.00 hour
Target version:3.2

Description

The autocomplete function seems to find matches only if e-mail address or name begin with the search string.

This effectively prevents looking for contacts by family name if the display name order is [first name] [family name] (which applies to all of my non-asian contacts). Therefore, it could be more convenient if matches would also be found when e-mail address or name contain the search string.

Current behaviour (example name "John Doe <>"):

joh -> match
ohn -> no match
doe -> no match
abc -> match
bcde -> no match
fg.hi -> no match

Desired behaviour (example name "John Doe <>"):

joh -> match
ohn -> match
doe -> match
abc -> match
bcde -> match
fg.hi -> match

Alternative solution: All name components divided by spaces or hyphens are searched separatedly

joh -> match
ohn -> no match
doe -> match
abc -> match
bcde -> no match
fg.hi -> no match

This behaviour was observed both on 3.2.0beta5 (Windows 7) and 3.2.0beta3 (Ubuntu 11.10).

Note:
I have entered this as a bug. However, if the current behaviour is intended and therefore this issue belongs in the category "Feature Request", please feel free to move it there. Thank you!

History

#1 Updated by Georg Schmalhofer over 2 years ago

I think that my second suggestion how this issue might be fixed was not precise enough.

Update:
Alternative solution: If the "begins with" search behaviour is preferred, the issue that search by family name is not possible could be fixed if all relevant fields (display name, family name, user name...) were taken into account in the search. Also, searching all name elements that are separated by spaces or hyphens separatedly could be convenient (e.g. for names like "Rainer Maria M├╝ller-L├╝denscheid").

Desired result:

joh -> match
ohn -> no match
doe -> match
abc -> match
bcde -> no match
fg.hi -> no match

#2 Updated by Hiroyuki Yamamoto over 2 years ago

  • Status changed from New to Resolved

I have improved the autocompletion by following your alternative solution.
(since simple partial match can be annoying)

Committed in svn r3038.

#3 Updated by Georg Schmalhofer over 2 years ago

That's great news, thank you!

Best wishes,
Georg

#4 Updated by Hiroyuki Yamamoto over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF