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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: fx2.0.2
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported: