Open chamangurjardev opened 3 days ago
@tsmaeder
@chamangurjardev that you have to reload the window after a period of inactivity is normal behavior in the browser version of Theia. Are you saying this is happening even though your're actively developing in the window? You are speaking of "network disconnection". How do you know the network disconnected and why does it disconnect? You also say this is happening in Theia > 1.45.0. How do you get to this exact version number? Did you try this out locally?
@tsmaeder ,
How do you get to this exact version number? Did you try this out locally? - Yes i tried this locally, with help of this doc :- https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md Here i am running yarn in theia and then brower start I first tried with latest version then checked with previous versions as well till 1.45.0
Are you saying this is happening even though your're actively developing in the window? - Yes it is happening then as well. For example i am running theia in browser and then i added a java file and writing code in that java file. After some time it disconnect and connects again and then it stucks in plugin reloading. This is visible at the bottom of theia in blue bar where it shows that it is activating a plugin and does not move ahead for a long time.
Also @tsmaeder I am assuming this inactive time for which i need to refresh will be a bit longer time like 20-30 minutes. But for me its happening within very sort span of 2-3 minutes. For example
I am attaching screenshot for the same to verify.
Screenshot 1 - With yellow bottom bar with text OFFLINE. Screenshot 2 - It change to blue bottom bar automatically and start activating the plugins where it gets stuck.
Now the bigger problem here is that if i refresh the page all my code that i wrote after theia idea behaved unexpectadly, all that code get's reverted. It means once i came back at that window and if i wrote some code, then that code is not getting saved/synced. So refreshing the page is not helping me here because my code gets lost.
I'm facing following issue in theia with after network disconnection above version 1.45.0
When i'm using Once theia after some time theia disconnect and connects again. After that theia is not working it stuck in reloading the plugins. Then i am facing following issues :-
In kind of a way i am totally stuck and the only option that works in reload. It's hard to reload again and again because this issue is happening very frequently.
Additional Information :-
Theia - >=1.45.0 Node :- v18.20.4 and v20.18.1 - Issue on both node versions.
Same issue can be replicated on https://theia-ide.org/ as well.
Steps :-