xuetianweng created this revision.
xuetianweng added reviewers: hein, broulik.
Restricted Application added a project: Plasma.

REVISION SUMMARY
  Composing CJK character requires a lot more key comparing to latin
  characters. The raw length check does not make much sense for query string
  in CJK characters. Here we use a simple algorithm to query the character
  script property in unicode. If they are belong to CJK, use length 2 instead
  of 1 for the character.

TEST PLAN
  Search "系" (normally requires three key press "x + i + 1" under pinyin) under
  zh_CN in krunner and get some result instead of nothing.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D8771

AFFECTED FILES
  runners/services/servicerunner.cpp

To: xuetianweng, hein, broulik
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, 
abetts, sebas, apol, mart

Reply via email to