Feedback
TreeView ExpandAll can miss nodes added in Opening
- Status
- Fixed
- Fixed in
- v26.5.6
- Source discussion
- https://forum.objo.dev/d/106-treeview-doesnt-expand-all-node
- Last updated
- 2026-05-24
Public summary
Calling TreeView.ExpandAll() immediately after adding nodes in a TreeView.Opening handler can leave the tree only partially expanded. The expected behaviour is that every node added before ExpandAll() is expanded. Instead, startup can be nondeterministic: sometimes only the root Documents node is visible, and sometimes Documents is expanded but its child branches are not.