-
Notifications
You must be signed in to change notification settings - Fork 13
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
Files stop saving after a while and existing files opened after that appear empty Windows 10 #85
Comments
That's really weird! Do you remember how you ended up with a file without a name? The "*" title bar indicates that the filename is basically empty for the editor which is super odd, at some point you mouse hover the tab and the path actually has a file name (converter3.py). If you move this folder outside of "OneDrive" stills happen? I suspect a read/write permissions issue that breaks everything at some point. |
So the file stops saving at first and then when you switch to another tab and switch back to the original tab the filename disappears. I'll try to see if it'll happen outside of onedrive |
In the second video when you try to save using "Save As..." alerts that cannot write the file seem to be indicative of some permissions issue. The editor is not verbose about it and it should be. But I have no idea why it can write the file, can you also try to open ecode as administrator? I'll try to simulate the issue locally by removing write permissions to the files edited inside ecode. |
Ok, on Linux if I try to save and I don't have permissions it simply never saves the file and keeps being in a modified state. Which isn't too bad. I'm clueless then. |
I was able to reproduce it. It happens with read-only files on Windows. I played a little bit with the OneDrive folder. It seems that OneDrive creates Read Only files, but the issue happens when you make a change over a read-only file, try to save that change, the file fails to save, and then you undo the changes, I have a 100% repro rate doing that. |
Tested it and it still happens even if I'm not in a onedrive folder |
Yes, it will happen with read only files, it doesn't matter its location. But it seems that the reason of those files being read only is OneDrive weird permission management. |
But why would onedrive's permission management affect files outside the onedrive folder? |
It won't. The issue is how the editor manages read only files. If you copy and paste files with read only permissions, the issue will continue. In your case what you have to do is recursively remove all read only permissions from your project folder. I'll fix the issue ASAP and it will be fixed for the next release. ecode's won't be able to change any files permissions, but it will notify the user and won't get crazy about it like is doing currently. |
Aight |
I don't know why this is happening, I don't know how to reproduce it, I just know that sooner or later it just stops working.
Using save as just fails to save anything
thing4.mp4
Also new files opened that have data inside of em appear to be empty.
thing5.mp4
Things work fine for a while after the restart, but then it happens again
The text was updated successfully, but these errors were encountered: