Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8301898

Input method decoration fails to honor Alignment property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx19
    • javafx
    • None

      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.

            angorya Andy Goryachev
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: