qingxiang-jia / full-cloud-pinyin

An attempt to use Google Input Tools as the backend for input methods on Linux
GNU General Public License v3.0
7 stars 0 forks source link

Sometimes the last character of preedit is not registered #3

Closed qingxiang-jia closed 1 year ago

qingxiang-jia commented 1 year ago

This happens randomly. The IBus UI only shows the candidates based on preedit without the last character.

qingxiang-jia commented 1 year ago

Close as it's actually not a bug. It happens, when typing very fast, and the candidates haven't been delivered from the server; the user then hits commit button and the intermediate candidates are committed. So, the solution is, don't commit so fast, and commit only when you actually see the desired candidates show up - after all, that's why we have a lookup UI for.