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

Clicking on a non-focusable list view makes the other control lose focus

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx1.3
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:

      Description

      I have a list view and a button both of them are initially focusable. On clicking the button, I am setting ListView.focusTraversable to false. Now list view is not part of focus traversal cycle and focus stays with the button. However, when I click on one of the items in the list view, the button loses focus and listview does not gain it. Now the keyboard accessibility of the app is broken until I go click on the button using mouse.

      This is an incorrect behavior. When clicking a non-focusable item, current focus owner should not lose focus.

      I reproduced it on Soma-integration-363 (b29), WinXP.

        Attachments

          Activity

            People

            • Assignee:
              jgiles Jonathan Giles
              Reporter:
              pmohan Praveen Mohan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: