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

TextField selection changes and cursor is placed wrong when switching between applications

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • Windows 7 x64, Java 7u7, JavaFX 2.2

      When the user types in a TextField(and maybe also TextArea - didn't check it), switches to another application and back again, the TextField shows the following strange behaviour:
      - all text is selected - even if no text was selected before
      - the cursor is positioned before the first character

      The selection and cursor position should stay the same. At least, the cursor should be positioned at the end of the text.

      To reproduce, start JavaFX Ensemble(or another app...), type something in a textbox, give focus to another application and back to Ensemble.

            leifs Leif Samuelsson (Inactive)
            dweberjfx David Weber (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: