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

Performance of TreeView is very low

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0
    • fx2.0
    • javafx
    • Windows 7 64bit, jdk1.6.0_20 32bit

      When a TreeView has many expanded nodes it rendered with lags. In the attached example you can try to expand several folders which have many subdirectories (Windows, System32...).

      Also ScrollPane does not work correctly when parent item with many children expanded (as you can see in the attached screenshots TreeView has more items but they are not displayed (1.png & 2.png), but collapse->expand parent item fixes this (3.png)).


      I've attached information from JProfiler when the application is completely hung.

        1. 1.png
          1.png
          56 kB
        2. 2.png
          2.png
          60 kB
        3. 3.png
          3.png
          60 kB
        4. All_Objects.html
          235 kB
        5. Call_Tree.html
          1.46 MB
        6. Category.java
          0.9 kB
        7. FileTreeView.java
          6 kB
        8. TestTreeView1.java
          4 kB
        9. TestTreeView1.java
          6 kB
        10. TestTreeView3.java
          2 kB
        11. TreeApp.java
          0.7 kB

            jgiles Jonathan Giles
            agulkojfx Alexander Gulko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: