QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)

Tasklist

FS#19 - Drawing recovery in case file saving fails

Attached to Project: QCAD
Opened by Martin (martin) - Wednesday, 20 April 2011, 08:14 GMT
Last edited by Martin (martin) - Wednesday, 20 April 2011, 09:38 GMT
Task Type Feature Request
Category Main
Status Assigned
Assigned To Andrew (andrew)
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

  1. before save: copy existing file (drawing.dxf) to temporary file, e.g. “drawing.bak”
  2. save()
    • no crash → remove recovery file
    • crash → file has size of 0 byte now
      1. restore recovery files on next start
for each file in recent files
  if file size == 0
    rename temporary file to actual file name
end
This task depends upon

Loading...