-
-
Notifications
You must be signed in to change notification settings - Fork 328
Abnormal IDE state in which files are blank when opened #1551
Comments
Thanks for the report, I'll look into it. |
I know how this happens. Just open several files, about 15 to 20 and it should happen. VID-20231216-WA0001.mp4 |
Thanks, I was able to reproduce this issue after opening 35 files. When a file is opened, we make the editor non-editable while the file is being read. Once the contents of the file has been read, we make the editor editable again. I'll look into the issue and fix it soon. However, I'm also thinking of imposing a restriction to the number of files that can be opened simultaneously. |
I understood. I remember this started to happen when you did some rework in the editor. after a few commits before you have to stop messing with the IDE |
Are you sure it has something to do with the number of files open? As a test, I was trying to repeatedy open and close a single file and it happened in less than 2 minutes. The logs repeatedly showed this
Nothing unusual right? |
I was able to reproduce the issue this way as well. After a few hours of debugging, I found that the The issue should have been fixed now. If not, please reopen this bug report. |
I'm not exactly sure what might cause the IDE to enter this abnormal state. In this state, all files are opened with no content. Every opened file is blank. It really scared me the first time I encountered this, thinking "Oh no, all my work is gone!" :) However, closing down the project and restarting the IDE would reset the abnormal state. The files still have their contents. I'm not sure about unsaved files though.
When closing these blank files, we see this
log message,
This bug is not that rare. Just actively close and open files and it'll happen.
The text was updated successfully, but these errors were encountered: