[Kde-pim] KMail addressee completion

Milian Wolff mail at milianw.de
Thu Nov 3 12:04:55 GMT 2011


On Wednesday 02 November 2011 22:01:10 Ingo =?ISO-8859-1?Q?Kl=F6cker?= wrote:
> On Monday 31 October 2011, Milian Wolff wrote:
> > Also note, that apparently the current code matches only beginning
> > from a word boundary. E.g.:
> > 
> > 
> > fooasdf at barqwer.com
> > 
> > -> "foo" "bar" all match, but neither asdf nor qwer or anything else
> > after the beginning of a word.
> 
> AFAIK this is by design. The disadvantages of arbitrary substring
> matches (e.g. a long list of mostly irrelevant matches) outnumber the
> advantages. Many KDE applications behave similarly. If you want to use
> substring matching with KLineEdit then you have to press Ctrl+E. This
> also used to work in KMail1's addressee line edit.

Wow, so much for discoverability ;-)  Can I change this setting somewhere? 
Esp. since if I hit CTRL+E and type some more chars to narrow the result list, 
I have to hit CTRL+E again to activate subpattern matching again.

One suggestion to improve the situation imo would be to copy the behavior we 
use in KDevelop's QuickOpen: Always do substring matches, but show the results 
sorted. I.e.:

- If a full word is matched, prefer that item
- if a word is matched at the start, prefer that item (if you really need 
that, I see no advantage of that)
- ...

bye

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20111103/496ad7a5/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list