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

When TreeItems added lazily to selected items in tree view, blue highlight moves to last added child node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.1
    • fx2.0
    • javafx
    • Windows 7

      I lazily add tree items to my tree view when an existing tree item in the tree view is expanded for the first time. This is to prevent creating tree nodes that may never be displayed.

      Unfortunately, when I expand a node that is selected and respond to the change in the expandedProperty by added child nodes to the newly expanded tree node, it appears that the last added child node is selected. It is not selected and it shouldn't be selected, but neither should it be highlighted as if it is selected.

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: