Bug 340027

Summary: Krita creates an extra copy of the file with ~ which doesn't get deleted after closing the program
Product: [Applications] krita Reporter: Raghavendra kamath <raghu>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: halla
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Raghavendra kamath 2014-10-16 15:59:27 UTC
If you have a file which auto saves and then hit save. Krita creates an extra copy of the file with a ~ at the end of file name. This file is hidden and may get un-noticed. Having such duplicate copies will eat up hard disk space. 

Reproducible: Always

Steps to Reproduce:
1.Create a new document and save it
2.work on it till it gets auto saved
3.after you see the autosave file in hidden items save the file. this will create a file with ~ at the end.


Expected Results:  
All backup files should be deleted after we save an unsaved document
Comment 1 Halla Rempt 2014-11-04 14:56:58 UTC
Hi!

This is actually intended behaviour
you have:

bla.kra
* change stuff
krita saves .bla.kra-autosave.kra
* you save again
Krita removes  .bla.kra-autosave.kra
Krita copies the old bla.kra to bla.kra~
Krita saves a new bla.kra