<Swing Dev> RFR: 8260719: Input method character moves with caret
Ichiroh Takiguchi
itakiguchi at openjdk.java.net
Tue Feb 2 14:03:39 UTC 2021
On Tue, 2 Feb 2021 12:35:52 GMT, Dmitry Markov <dmarkov at 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
More information about the swing-dev
mailing list