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

IME should commit on focus change

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx23
    • jfx21
    • javafx
    • None
    • b04
    • os_x

      Click on another TextInput control in the middle of an IME conversion in the TextInput control to move the focus.

      Issue:

      IME conversion candidate popup moves to the clicked destination,
      locked into an input disabled state in the original TextInput.

      Expected Behavior:

      The conversion is committed.
      The IME conversion candidate popup is closed.


      Steps to reproduce:
      - run the attached program
      - switch to Japanese input
      - type "a"
      - observe IME window appear and あ symbol in the text field
      - click on another field
      - type "ri"

      Notice multiple issues:

      1. "あ" remains in the first input field, "あり" (ari) appearing in the second. The IME should commit existing candidate on focus change (per original bug reporter @yosbits).
      2. The candidate decoration (dashed underline) still remains in the first input field.
      3. The candidate decoration is not cleared even after the text is cleared (see the second screenshot)

      Tested on macOS, these scenarios should also be checked on Windows and Linux.

            mfox Martin Fox
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: