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

ListView selection problem after clearing and populating items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0
    • fx2.0
    • javafx
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported: