Committing a candidate text with ENTER key in a Japanese IME window results in a new line inserted in the text.
To reproduce on Mac:
- add a Japanese keyboard in Settings -> Keyboard -> Text Input -> Input Sources (Japanese - Romaji)
- run the attached application
- click on the beginning of the text (before "<insert text here")
- switch to Japanese keyboard and type "arigatou"
- pick a candidate (ありがとう) and press ENTER to commit
Expected:
-- the candidate replacement text should be inserted on the same line
Observed:
-- the candidate text is inserted along with an extra new line
This may or may not be a Mac-only issue.
Can be seen as early as openjfx19.0.2.1, and probably earlier.
To reproduce on Mac:
- add a Japanese keyboard in Settings -> Keyboard -> Text Input -> Input Sources (Japanese - Romaji)
- run the attached application
- click on the beginning of the text (before "<insert text here")
- switch to Japanese keyboard and type "arigatou"
- pick a candidate (ありがとう) and press ENTER to commit
Expected:
-- the candidate replacement text should be inserted on the same line
Observed:
-- the candidate text is inserted along with an extra new line
This may or may not be a Mac-only issue.
Can be seen as early as openjfx19.0.2.1, and probably earlier.
- duplicates
-
JDK-8089803 [Mac, TextArea] Japanese IME, caret moves to the next line when pressing Return to select a candidate.
- Resolved
- relates to
-
JDK-8087477 [Mac, WebView] Japanese IME, not able to commit converted text after candidate window popping up.
- Open
-
JDK-8088172 Mac: On German keyboard, pressing <+><q> inserts two apostrophes instead of one
- Resolved
- links to
-
Commit openjdk/jfx/d9263ab2
-
Review(master) openjdk/jfx/1351