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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Windows 7 x64, Java 7u7, JavaFX 2.2

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: