← All bug reports

FS#25Autosave

Type
Feature Request
Status
Closed
Resolution
Implemented
Category
QCAD (main)
Severity
Medium
Priority
Low
Reported version
Development
Target version
3 Beta
Operating system
All
Reported
2011-04-21 by anonymous
Closed
2011-08-15 by andrew

Autosave

Make interval configurable
Enable / disable
Path (?)

Comments (2)

deleted user 2011-08-15

if we can get the process ID of the current process somehow, it would be good to add that to the temporary auto save name (2 users, same machine, same drawing name -> boom) I know, unlikely, but at least under Linux is common to add the process ID to have a really unique name, e.g. Eclipse Test NG:

drwxr-xr-x  2 martin users      4096 Aug 12 17:03 testng-eclipse--997698732
drwxr-xr-x  2 martin users      4096 Aug 12 17:03 testng-eclipse-984534180
drwxr-xr-x  2 martin users      4096 Aug 12 17:03 testng-eclipse-955130154
drwxr-xr-x  2 martin users      4096 Aug 12 17:03 testng-eclipse-931383515

SVN (uses some kind of a hash code, I guess):

-rw-r--r--  1 martin users      7422 Jul 15 09:33 svn7752206384143690697.cpp
-rw-r--r--  1 martin users      7422 Jul 15 09:33 svn2949626584155793624.cpp
-rw-r--r--  1 martin users    143161 Jul 15 09:34 jna4064532926219941792.tmp
-rw-r--r--  1 martin users     29514 Jul 15 10:01 svn4702788292027033402.cpp
-rw-r--r--  1 martin users     29514 Jul 15 10:01 svn6455917479870799831.cpp
andrew 2011-08-15

good point.
there are some other issues (files are never cleaned up, there is no history, just the last auto save state)