pixeledit icon indicating copy to clipboard operation
pixeledit copied to clipboard

Auto Saving

Open MrTopom opened this issue 5 years ago • 5 comments

The way to use the app on mobile could be just to launch it and start working without needing to create a new document and not to have to save it.

Auto Saving could then save with a defined interval.

User can then save with explicit name later but not loosing the modifications.

MrTopom avatar Jul 28 '20 07:07 MrTopom

I guess this is really 2 things...

*) Auto-save *) Save to a temporary if this is a new image not yet saved

Is that correct?

andydotxyz avatar Jul 28 '20 20:07 andydotxyz

Yes this would be 2 things.

If a new project is started, without specifying a file name, then Auto Save will save a version of the project each N minutes. If the user does not manage the saving aspect, he will be able to get it back in the last modified projects.

If a project is based on a named file, then the Auto Save will save at same frequency in a Auto Save file. Not replacing the initial named file. If user get back to load the initial file, then a message should notify there is a more recent file and ask to get the last version and erase the older named file.

MrTopom avatar Jul 28 '20 21:07 MrTopom

Most editors I work with autosave into the original file - why would we not do that?

andydotxyz avatar Jul 28 '20 21:07 andydotxyz

Could be done but need to save the Undo/Redo stack in it.

MrTopom avatar Jul 29 '20 06:07 MrTopom

Why do you need to save undo stack into a file? Autosave will retain the stack in memory until the application closes. I don't think that it's common for user to expect open a file 2 months later and undo the previous action..?

andydotxyz avatar Jul 29 '20 09:07 andydotxyz