-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web socket disconnection: file explorer progress bar issue #13216
Comments
I think the issue is in the "refresh" method of the TreeImpl class (packages/core/src/browser/tree/tree.ts). |
Here's a scenario which I think could explain this:
I think the fix would be to check @safisa would you have time to give this a try? |
Hi @tsmaeder This fix is not enough, I had to move the onCancellationRequested to be before the timeout:
After this change, the problem is resolved, the user needs to expand the node again after the connection is back online, and then the node's busy state is reset (if we don't try to expand it, it will stay in a busy state, but I think this is the wanted behavior). |
Hi @tsmaeder If the code change above is good enough, do you want me to apply a PR? or you are doing it? |
@safisa please open a PR. |
Bug Description:
Hi,
In the latest Theia 1.45, with the new web socket management and the front-end connection timeout, once I have a disconnection and try to expand a folder in the file explorer, the spinner on the folder keeps going also the progress bar in the file explorer keeps visible (although after getting connected back within the timeout period).
See the attached screenshot:
Thanks
Steps to Reproduce:
Thanks
Additional Information
The text was updated successfully, but these errors were encountered: