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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u40
    • 8u25, 8u40
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported: