Opening one node in TreeView queries all nodes that have children

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • fx2.1
    • Affects Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      Windows 7 64-bit, JavaFX 2.1

      In debugging another problem with TreeView I've found that when a child node of the (hidden) root node is clicked open (to display some grandchildren of root), all nodes that indicated that they have grand children (whether displayed or not and even when never shown before) are queried about their children.

      In my case that was only a small number of nodes (30 orso, of which 25 aren't even visible), but I think this could be a major performance issue if those nodes are backed by something with a bit more latency, like say a directory structure on a local filesystem. In fact, even if my case there's some noticable delay (0.5 seconds) when opening the first node like this due to 30 nodes being queried for their children.

            Assignee:
            Jonathan Giles
            Reporter:
            John Hendrikx
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: