[TableView] TableView selection performance (regression in 8u20)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8u40
    • Affects Version/s: 8u25, 8u40
    • Component/s: javafx

      The selection in a TableView takes an incredible long time.

      In Swing, the selection occurs almost instantly.

      Example Code:
      http://pastebin.com/A0hpTxjh

      Steps to reproduce:
      1. Compile and run example, a TableView with 8 columns and 10.000 rows will appear
      2. Select the first cell (column "Data 0")
      3. Scroll to the bottom of the table
      4. Press shift and select the last cell (column "Data 7")
      5. UI will block for a long time

      When selecting only 1.000 rows, for me the UI blocks ~80ms which is also too much in my opinion. When implementing a custom mouse selection, the delay is noticeable even with a very small amount of data.

            Assignee:
            Jonathan Giles
            Reporter:
            Steffen Czymmeck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: