TreeDataProvider is called even if view is not visible #39340
Labels
bug
Issue identified by VS Code Team member as probable bug
important
Issue identified as high-priority
perf
tree-views
Extension tree view issues
verified
Verification succeeded
Milestone
Observe:
I would expect that TreeDataProvider.getChildren is only called if the view is (or becomes) visible.
If this cannot be achieved we need an new event that tells us when the view is not visible so that we can stop firing _onDidChangeTreeData.
Without this it is not possible to have a view that consumes no cpu cycles when not being visible.
The text was updated successfully, but these errors were encountered: