When one search in the search bar, the search is only started if more or equal than 3 "characters" are entered. While this seems reasonnable in English and other western language, it is not convenient for japanese and perhaps other CJK. In Japanese, for example, name are often of length 2 (2 characters) and therefore it makes search by name not possible. Reproducible: Always Steps to Reproduce: 1.Search for a word (in japanese or else) with a length <3 2.The search does not start 3.Pressing enter does not work too Actual Results: The search does not start Expected Results: The search is automatically triggered or can be forced start by pressing enter or a search button (not available). Perhaps a good way would be to check for the length in bytes and not character as the problem should mainly concern complex language where each character is 2 bytes. I don't know if it possible or not, just an idea. I remember that Eike Hein blogged about improving KDE support for CJK, but I don't know how to cc him.
https://blogs.kde.org/2015/01/17/improving-kdes-support-korean-and-other-cjk-languages The blog post I was referencing.
Found me :)
Nice :) You are fast! I hope someone will be able to fix this. It is kind of a stopper for CJK users.
For Korean it's a fairly easy fix by normalizing to Unicode NFD (decomposing blocks into combining characters) and checking the length again. I'm still mulling what a good way to handle the Japanese syllabaries might be. Additionally, this is a problem pattern that's common across KDE, so it would be good to place a solution in one of our lower-level framework libraries.
I've started to pursue a solution for this, you can follow our dev discussion here: http://mail.kde.org/pipermail/kde-frameworks-devel/2015-February/022141.html
Still no filtering for less than 3 characters in KMail 5.4.3.