Bug 363971

Summary: Autosave file for the original document not deleted when saving as another file
Product: [Applications] krita Reporter: Alvin Wong <alvin>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: dobrokot, halla
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alvin Wong 2016-06-05 08:34:13 UTC
Typically, the autosave file appears to be deleted when the file is closed normally or saved. However, when the file is being saved as another file, the autosave file for the original document is not deleted, and since the original document is not opened anymore, closing the saved-as document would not cause the said autosave file to be deleted.

Reproducible: Always

Steps to Reproduce:
1. Open a .kra file.
2. Make changes.
3. Wait for an autosave file to be created.
4. "Save As" a new file.
5. Close the file (or close Krita.)

Actual Results:  
The autosave file remains.

Expected Results:  
The autosave file should be deleted as soon as "Save As" is completed.
Comment 1 Halla Rempt 2018-09-06 14:44:36 UTC
*** Bug 359686 has been marked as a duplicate of this bug. ***