On Tue, 2 Feb 2021 12:35:52 GMT, Dmitry Markov <dmar...@openjdk.org> wrote:
>> @dmarkov20 please take a look > > If I got it right the problem takes place only on MacOS. I could not > reproduce the issue on Windows. However the fix is located at common code. I > would recommend moving it to Mac specific code. I checked working behavior on Mac Catalina with Japanese IME. I tried following steps: 1. Start KeyboardWindow from Terminal 2. Type "abcefg" 3. Turn on Japanese IME, type "ao" (Japanese Hiragana is displayed) 4. Click Terminal window 5. Click between "c" and "e" by mouse on KeyboardWindow to move caret. The caret is moved but **preedit is not committed**. 6. Press Space key, caret is moved to in front of Japanese "a" Without patch, the caret is not moved. I think preedit should be committed or canceled by step 5. ------------- PR: https://git.openjdk.java.net/jdk/pull/2337