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

[TableView] TableView Column Reordering sometimes fails and often doesn't match the visual feedback

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • emb-8u6, 8u20
    • 8
    • javafx
    • Windows 7 64-bit
      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-b120)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b62, mixed mode)

    Description

      Dragging table column headrs to reorder the columns results in a vertical line being drawn between columns at the destination of the drop as the column is dragged. However when the mouse button is released, the column is not always moved to the position indicated by the vertical line. It is often placed in an earlier position (i.e. to the left) if it is moved at all. In many cases the column in not moved at all. This is related to having some columns hidden.

      For example with Columns A, B, C, where B is hidden so only A and C show:
      I can drag C to be before A, but I can't drag A to be after C (even though the result would be the same visually)
      Once the position is flipped to be C, A.. it is now C that can't move to the right to be after A, but A can now be dragged back to it's original position.
      I.e. I can drag columns to the left past hidden columns, but I can't drag columns to the right past hidden columns.
      An interesting side effect is that if I am back at the A, B, C case, with B hidden. When I drag C to be before A and then use the Table Menu to show B, I find that the order is now C,B,A not C,A,B.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: