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

backup project before saving #938

Closed
CandyFace opened this Issue Apr 6, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@CandyFace
Member

CandyFace commented Apr 6, 2018

We're seeing more and more people having corrupted projects in one way or another. As a measurement to prevent this, I suggest that we backup the old project file as soon as we press save. This will not prevent all cases where the project ends up being corrupted but it should make it possible to recover to the state before the project got corrupted.

Another thing is that we shouldn't write to the project file unless we know that the data has been stored correctly.

@Kaikogf

This comment has been minimized.

Kaikogf commented Apr 6, 2018

I am too cautious about working with Pencil since it is not easy to be calm when we loose something that we have being working from a long time, and since I am using two different versions of it (last build and Pencil2D-Mypaint), it is better to be prepared.
My workflow is similar to what you have described: I always duplicate the pencil-file I will start working before opening Pencil2D and when closing Pencil I use to check the one that was saved to see if it is working.... so I am doing it manually but your idea, that I think should be implemented as soon as possible, shows the same process but automatically.

Great idea.

@chchwy

This comment has been minimized.

Member

chchwy commented Apr 9, 2018

Let's put it into the 0.6.2 todo list

@chchwy chchwy added this to the 6.2 milestone Apr 9, 2018

@chchwy

This comment has been minimized.

Member

chchwy commented Jun 5, 2018

I'll be doing it soon.

@chchwy chchwy self-assigned this Jun 5, 2018

chchwy added a commit to chchwy/pencil2d that referenced this issue Jun 5, 2018

@chchwy

This comment has been minimized.

Member

chchwy commented Jun 6, 2018

Done in the nightly build 5 June 2018

@chchwy chchwy closed this Jun 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment