Comments (10)
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.
from ecode.
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
from ecode.
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.
from 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.
from ecode.
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.
from ecode.
Tested it and it still happens even if I'm not in a onedrive folder
from ecode.
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.
from ecode.
But why would onedrive's permission management affect files outside the onedrive folder?
from ecode.
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.
from ecode.
Aight
from ecode.
Related Issues (20)
- Newly created file is not included in Recent Files HOT 1
- FR: Support registering custom file extensions for syntax highlighting HOT 1
- FR: UI for editing default language for file extensions with multiple languages supported HOT 8
- Discussion: ctags and code completion HOT 1
- FR: Support for displaying a symbols table like Geany HOT 2
- FR: tree view XML editor HOT 1
- Discussion: TextMate bundles translator HOT 1
- FR: syntax highlighting for Xtend
- FR: syntax highlighting for Fantom
- [BUG][WINDOWS] Crashes on writing (LangHealth) HOT 3
- [FEATURE-REQUEST] Multi Linebreak Columns HOT 2
- [SUGGESTION] Char/Line-based Resize HOT 2
- Build Configuration -> del is not run in windows(workaround) HOT 1
- Vue codes in <script> doesn't have syntax highlight HOT 4
- FR: Shift-JIS support HOT 1
- powershell is being opened externally on windows HOT 3
- [Discussion] Build and Run HOT 1
- Allow opening `ecode` with a blank document (bypass welcome tab) HOT 3
- [SUGGESTION] (Java) Formatter-Support: Add clangd-format HOT 3
- [SUGGESTION] $FILEPATH etc. in LSP Client HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecode.