Steps to reproduce:
<Include steps to reproduce the bug.>
- active input cursor on search bar.
- Type in a Korean, japanese.
ex) korean : 검색테스트
2.1. when using Japanese romaji input mode, press enter to select candidate on ime's candidate window
- press enter to search
- Notice that an additional character is inserted at the end of the word.
ex) korean: 검색테스트트
Expected behavior:
<What you expected to happen?>
- query should remain without any additional characters being inserted.
Debug info:
<Browser/OS/Active Kagi region setting/What Kagi server you connect to (found in control center, top right icon)>
Chrome Version 117.0.5938.92 (Official Build) (arm64)
macOS Ventura 13.5.1 (22G90)
ASIA-EAST
Image/Video:
<Copy/paste or drag and drop to upload images or videos (up to 20MB)>
korean:
fyi. This issue are connected the different input methods between CJK characters and English. In English, characters are committed immediately when input, while in CJK, this is not the case. The problem seems to occur when pressing enter while there are uncommitted characters present (clicking the search icon does not cause the issue).
For Korean, combining multiple alphabets forms a single character (you will notice underlines on the last character in the video).
ex) to type 글 → type ㄱ,ㅡ,ㄹ
For Japanese, when inputting pronunciation(it's call romaji input mode), candidate are displayed, and when the user selects one by pressing enter, it is committed. This results in the duplication of underlined characters(not commited) and search querying when user is not finished to type keyword
ex) to type 夏 → natsu → (no candidate ) → enter
ex) to type 神 → kami → ( 3rd candidate ) 2 spacebaror 2 tabs → enter
Please take these additional factors into consideration when investigating and resolving the issue.