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

[ListView] Perfomance issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: fx2.0.2
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:
    • Environment:

      2.0.2b04

      Description

      See attached application.

      Launch main.java
      you will see an application with ListView and TextArea (which plays a role of logger)

      In project you can find customly implemented multi selection model (it is very simple and buggy in many cases, but mostly working). It writes all log in TextArea, if you press button "flush logger".

      Don't do anything with list. Just press that button.

      You can see, that method isSelected(int i) was called 20 times there. Even if there is empty list of items in list. This make bad impact on performance.

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: