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

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

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: