Aid for idiotic mistake of making a large mistake in an unsaved file, saving it, and accidentally closing krita

i very much realize this is a very very very weird mistake to have made, but this occured to about two hours of work and i am Extremely unwilling to restart….. is there Any way to recover it ? like timelapse or??? something similar?

very sorry if i am using this wrong, first post here!

If it was a destructive change and you don’t have a backup of the file in a previous version your either invent time travel or wait for someone else to do it.

If you’re lucky there’s a “kra~” file still around. It should be next to your normal file.

there unfortunately is not a kra~………. bangs head into wall Thank you very much for your help anyways

Time to take a break perhaps :frowning:… when you feel ready to start again or continue some other piece of work, look over the options available for saving your work. Save frequently, and be careful when multiple files are open.

One mistake you can make is opening a file, editing it for some time, then doing save as. If you did no saves inbetween opening, and doing save as the original file will remain as it initially was and the new file will have all the changes.

Another common mistake is saving the file in a format other than .kra format like jpg or png, where things like layers and transparency can be lost.

Losing work is infuriating but this is an opportunity to learn, and hopefully avoid repeated frustration.

If you create a new document, do work in it then Save it, there will be no .kra~ file because there is no previous work to use as a backup file.
If you open an existing .kra file then do work in it and Save it, there should be a .kra~ backup file in accordance with the Settings → Configure Krita → General → File Handling → Create a Backup File on Saving option.

I may be wrong but I think that with the Windows File Explorer, a file name ending in ‘~’ is regarded as a ‘Hidden’ file and will not be listed unless the option for ‘Show Hidden Files’ is enabled. (Or I may be getting confused with what some Linux File Managers do about ‘~’ on the end.)