<Swing Dev> RFR: 8260719: Input method character moves with caret
Denis Konoplev
dkonoplev at openjdk.java.net
Tue Feb 2 14:03:40 UTC 2021
On Tue, 2 Feb 2021 13:59:02 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:
>> 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.
I've reproduced this on ubuntu 20.04.1 LTS.
Also, according to https://youtrack.jetbrains.com/issue/JBR-1995 users have same problems on ubuntu 18.04.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2337
More information about the swing-dev
mailing list