ListView selection problem after clearing and populating items

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • fx2.0
    • Affects Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      JavaFX 2.0 b32

      A test case on a ListView shows that after clearing and updating items:

      When the previous selected index is 0 it becomes 1 and the selectedObject is null.
      When the previous selected index is 1 it becomes -1 and the selectedObject is null.

      So the index is not correct when its value come from 0.

            Assignee:
            Jonathan Giles
            Reporter:
            alex (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: