WebView: twkGetInsertPositionOffset could be changed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported: