Bug 479420

Summary: accidental delete of unsave file tried to recover from %temp% but all the auto save temp file didnt even saved as .kra and cannot be opened using krita steam
Product: [Applications] krita Reporter: frisnan712
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: ghevan
Priority: NOR    
Version First Reported In: 5.2.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: this is all the file that should saved as .kra but didnt

Description frisnan712 2024-01-05 06:39:30 UTC
Created attachment 164686 [details]
this is all the file that should saved as .kra but didnt

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. says no to save file
2. look for it in %temp% 
3. the temporary saved file isnt saved as .kra but as normal file

OBSERVED RESULT
because it isnt saved as .kra i cant opened it and save it and if i try to rename it it will says not valid file

EXPECTED RESULT
it should saved as .kra so we can just open it.

SOFTWARE/OS VERSIONS
Windows: windows 11
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
its krita from steam, in windows 11
Comment 1 vanyossi 2024-01-11 19:14:04 UTC
If you chose to close krita without saving the file, the recovery "backup" in %TEMP% is deleted, quoting from the docs: "If Krita doesn’t crash, and you close Krita without saving your work, Krita will remove the AutoSave file: your work will be gone and cannot be retrieved." Remember that any file in TEMP is only for recovery purposes, and if the file has never been saved (file->save and given a name and location), autosave will only keep a copy on the untitled file inside TEMP. The files in your screenshot are SWAP files used by different parts of krita and are not in anyway related to any file in particular.

This is not a bug in krita, if you need support please visit https://krita-artists.org