Bug 340027 - Krita creates an extra copy of the file with ~ which doesn't get deleted after closing the program
Summary: Krita creates an extra copy of the file with ~ which doesn't get deleted afte...
Status: RESOLVED INTENTIONAL
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-16 15:59 UTC by Raghavendra kamath
Modified: 2014-11-04 14:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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