[plug-in] TreeView should be created on registering a TreeDataProvider #3907
Labels
bug
bugs found in the application
plug-in system
issues related to the plug-in system
Team: Che-Editors
issues regarding the che-editors team
vscode
issues related to VSCode compatibility
Currently, Theia adds a TreeView for each registered TreeDataProvider only once - as soon as the frontend app is reached a
ready
state. It's not correct behavior for two reasons:TreeDataProvider
at any time but not only fromstart
entrypointTreeDataProvider
later than the frontend app goes into aready
stateIn any of the cases, plugin's tree isn't shown in a contributed view.
It works perfectly in standalone Theia but the problem is stable reproducible on some slow environment. For example, try the following steps:
tree-view-sample-plugin
on development hostcomments
view is emptyWhen I add some delay before the front app goes into a
ready
state then tree is shown in the view. To add such delay open several files and reload the browser's page.The text was updated successfully, but these errors were encountered: