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

TreeView: shows wrong selection

    Details

      Description

      If an item is selected by the code:
          treeView.getSelectionModel().select(selected);
      and the selected item is hidden, then a wrong item is shown as selected.

      A simple test is attached,
      1) starting the test
      2) click on any free space of the tree view, a RuntimeException is thrown telling wrong selection
      3) open the first child "child1-0" which contains the selected item "child2-0", click on any free space of the tree view, this time OK because the selected item is not hidden.

        Attachments

          Activity

            People

            • Assignee:
              jgiles Jonathan Giles
              Reporter:
              sjiang Shanliang Jiang (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: