Bug #51
Autocomplete when entering addresses
| Status: | Closed | Start date: | 02/24/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Sylpheed | Spent 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 <abcde@fg.hi>"):
joh -> match
ohn -> no match
doe -> no match
abc -> match
bcde -> no match
fg.hi -> no match
Desired behaviour (example name "John Doe <abcde@fg.hi>"):
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
Updated by Georg Schmalhofer over 1 year 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
Updated by Hiroyuki Yamamoto about 1 year 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.
Updated by Georg Schmalhofer about 1 year ago
That's great news, thank you!
Best wishes,
Georg
Updated by Hiroyuki Yamamoto about 1 year ago
- Status changed from Resolved to Closed