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

TextField should scroll to the beginning on focus exit, and select all with caretPosition at 0 on focus enter

XMLWordPrintable

      The TextField should make sure that when focus leaves the text field, the caret position is reset to 0 (and selection is cleared). When the control gains focus, it should select all, but position the caret at position 0. Interestingly, on mac at least, if you do a cmd-a, then everything is selected but the caret position is outside the view -- the UI doesn't scroll to the end. So whatever text you were looking at before cmd-a you are still looking at. This issue won't address this.

            rbair Richard Bair (Inactive)
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: