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)


FS#7 - layer list not cleared when closing drawing

Attached to Project: QCAD
Opened by Anonymous Submitter - Tuesday, 12 April 2011, 16:05 GMT+2
Last edited by Andrew (andrew) - Wednesday, 13 April 2011, 16:03 GMT+2
Task Type Bug Report
Category QCAD (main)
Status Closed
Assigned To Andrew (andrew)
Operating System All
Severity High
Priority High
Reported Version Development
Due in Version 3.0.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


  1. new drawing
  2. add layer named “layer 1”
  3. close drawing

the layer list still shows 2 layers, “0” and “layer 1”, but should be empty

This task depends upon

Closed by  Andrew (andrew)
Wednesday, 13 April 2011, 16:03 GMT+2
Reason for closing:  Fixed
Comment by Anonymous Submitter - Tuesday, 12 April 2011, 16:09 GMT+2

in this state, the application crashes if it loses the focus:

Thread [1] (Suspended: Signal 'SIGSEGV' received. Description: Segmentation fault.)	
	59 RStorage::setCurrentLayer()  0x08be6fac	
	58 RDocument::setCurrentLayer() /home/martin/workspace/rsframework/src/core/RDocument.cpp:256 0x08d7553f	
	57 RDocumentInterface::setCurrentLayer() /home/martin/workspace/rsframework/src/core/RDocumentInterface.cpp:1912 0x08d7cee4	
	56 REcmaDocumentInterface::setCurrentLayer() /home/martin/workspace/rsframework/src/scripting/ecmaapi/REcmaDocumentInterface.cpp:5207 0x08875305