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

When TableView sorting changes the SelectionModel selectedObject is changed to null temporarily

XMLWordPrintable

      May be a result of the index-based selection (which I dislike immensely but would tolerate if it worked)

      The selected object should not change as a result of sorting, even though the selected index does change. Currently listeners on the Selection model's selectedObject are fired twice. Once indicating a null selection, then again in an attempt to restore the selection (which is often incorrect after unsorting)

      See also RT-36352

        1. rt-36353_sortedlist.diff
          0.6 kB
          Martin Sládeček
        2. rt36353.patch
          7 kB
          Jonathan Giles

            jgiles Jonathan Giles
            swpalmer Scott Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: