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

[TextField] TextInputControl TextField invalid selection onClick

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 7-pool
    • 7u15
    • javafx
    • windows 7

      Insert the text "TN-10-42-128-187TestRest" in a TextField.
      Click on the "TestRest" and the selection will be applied to "TN-10-42-128-187".

      Strange selection is applied also to the string "aaaa_7777" For example in javafx all the sentence is selected independently of the click point, while in swing JTextField the selection is splitted in "aaaa", "_" and "7777"
      depending on the point of click.

      A possible problem could be in previousWord and nextWord of the TextInputControl.

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: