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

TreeView item selection shifts to wrong item on expand and collapse, protential fix provided

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • fx2.0.2
    • javafx

      Item selection changes affected by expanding or collapsing items. Testing source from: http://docs.oracle.com/javafx/2/ui_controls/tree-view.htm#BABJGGGF.

      1, Expand "IT Support"
      2. Select "Mike Graham"
      3. Expand "Sales Department".

      You can see the focus is shifted to "Emma Jones", instead of the original "Mike Graham".

      Sorry I cannot attach screen images to show the effect.

      The problem is in MultipleSelectionModelBase class. See following comment for suggested fix marked by tony_lai.

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

              Created:
              Updated:
              Resolved:
              Imported: