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

WebView: twkGetInsertPositionOffset could be changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None
    • web

      After enabling the InputMethods in JFXPanel the twkGetInsertPositionOffset is needed.
      Currently it returns the offset of the insert position in the text and this offset includes the uncommitted text. However, the JDK IM implementation expects it to return the offset of the insert position excluding the uncommitted text.

      As this method is only used for InputMethod support in the JFXPanel I propose to change it to return the value needed by JDK. The possible patch is attached. I could not check the patch as I cannot build WebView.

            peterz Peter Zhelezniakov
            pchelko Petr Pchelko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: