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

[Glass, IME] View.enableInputMethodEvents(false) does not disable IME

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: javafx
    • Environment:

      Windows 7, probably others.

      Description

      When the keyboard focus changes between nodes, the Scene class will call impl_enableInputMethodEvents(boolean). The argument will be true for text input controls and false for most other nodes. The effect of this is to control whether input method events are forwarded to the controls, allowing them to position the IM composition window and to place the caret within a composition string.

      However, regardless of whether the argument is true or false, the platform will still show a composition window when typing. This prevents fixing RT-23883 which needs to stop clear-text from showing when typing in a PasswordField. I have tested this on Windows 7 and compared native controls with FX controls. See my comment in RT-23883. The issue probably exists on Mac OS also, judging from the code, while Gtk seems to be doing the right thing in calling XSetICFocus/XUnsetICFocus.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              leifs Leif Samuelsson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Imported: