Giter Club home page Giter Club logo

Comments (10)

SpartanJ avatar SpartanJ commented on June 19, 2024

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.

emeraldtip avatar emeraldtip commented on June 19, 2024

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.

SpartanJ avatar SpartanJ commented on June 19, 2024

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.

SpartanJ avatar SpartanJ commented on June 19, 2024

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.

SpartanJ avatar SpartanJ commented on June 19, 2024

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.

emeraldtip avatar emeraldtip commented on June 19, 2024

Tested it and it still happens even if I'm not in a onedrive folder

from ecode.

SpartanJ avatar SpartanJ commented on June 19, 2024

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.

emeraldtip avatar emeraldtip commented on June 19, 2024

But why would onedrive's permission management affect files outside the onedrive folder?

from ecode.

SpartanJ avatar SpartanJ commented on June 19, 2024

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.

emeraldtip avatar emeraldtip commented on June 19, 2024

Aight

from ecode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.