Bug 479420 - 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
Summary: accidental delete of unsave file tried to recover from %temp% but all the aut...
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: File formats (other bugs)
Version First Reported In: 5.2.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-05 06:39 UTC by frisnan712
Modified: 2024-01-11 19:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
this is all the file that should saved as .kra but didnt (20.82 KB, image/png)
2024-01-05 06:39 UTC, frisnan712
Details

Note You need to log in before you can comment on or make changes to this bug.
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