swingx
  1. swingx
  2. SWINGX-1195

SortManager: remove last row produces incorrect selection

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.3
    • Component/s: Sort/filter
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,195

      Description

      happens if

      • table/list unsorted but with RowSorter
      • last row selected
      • remove last row

      most obvious if there are other rows selected above, and removing all selected starting
      from first: then the last is not removed. If the last is the single selected, the lead/anchor
      is reset to -1

      reported in core forum:
      http://forums.java.net/jive/thread.jspa?threadID=68361&tstart=0

      same in swingx - as we rely on core. Sigh, and I had hoped to never again have to cope
      with low-level sorting side-effects

      Jeanette

        Activity

          People

          • Assignee:
            kleopatra
            Reporter:
            kleopatra
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: