Input method decorations (dashed and solid lines) are painted on the left side, regardless of the TextField alignment property value.
To reproduce on Mac:
- add a Japanese keyboard in Settings -> Keyboard -> Text Input -> Input Sources (Japanese - Romaji)
- run the attached application
- click on the text field
- switch to Japanese keyboard and type "arigatou"
Expected:
-- the candidate replacement text is underlined with a dashed (candidate) or solid (committed) underline
Observed:
-- the dashed/solid line appear at the left of the text field, rather than under the text.
Also fails for other Pos values where text is not on the left.
I suspect this bug is not limited to Mac.
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 text field
- switch to Japanese keyboard and type "arigatou"
Expected:
-- the candidate replacement text is underlined with a dashed (candidate) or solid (committed) underline
Observed:
-- the dashed/solid line appear at the left of the text field, rather than under the text.
Also fails for other Pos values where text is not on the left.
I suspect this bug is not limited to Mac.
Can be seen as early as openjfx19.0.2.1, and probably earlier.
- relates to
-
JDK-8178368 Right alignment of text fields and alignment of prompt text works incorrectly
- Resolved