DefaultTreeModel does not properly synchronize deselection state

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 5.0.8
    • Affects Version/s: 5.0.7.1
    • Component/s: Components
    • Environment:

      Windows 7

    • None

      using tree component like

      <tree checkmark="true" multiple="true" model="@

      {win$composer.model}

      "/>

      tree does not properly synchronize de-selection of tree nodes into tree model (if clicking on checkboxes)

      Reproduce:

      • create a tree using DefaultTreeModel
      • select 2 nodes via browser
        -> ((Selectable)tree.getModel()).getSelection() returns 2 nodes
      • unselect 1 node by clicking on checkbox
        -> ((Selectable)tree.getModel()).getSelection() returns 2 nodes

      please see also attached example code

            Assignee:
            benbai
            Reporter:
            fse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: