QCAD Bugtracker

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.20.1
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
    • CVH (13.06.2018)
  • Private
Attached to Project: QCAD Bugtracker
Opened by CVH - 13.06.2018
Last edited by Andrew - 13.06.2018

FS#1768 - Draw > Polyline > Create From Segments: segments deleted even if no polyline can be added

‘Create From Segments’ ‘OG’ includes and admits selection of segments on locked layers.

-When selecting a segment on a not locked layer it can include segments on locked layers that connect to the string. (Assumed wrong)
-A copy of the segments on the locked layer(s) are included in the polyline. (Assumed wrong)
These segments are not removed from the locked layer(s) because of their locked nature. (Intended behaviour)
eg. ‘OG’ & selecting the arc at point A in the example file. The arc is on a not locked layer.

-When selecting a segment on a locked layer it will fully remove segments that connect to the string on not locked layers. (Assumed very wrong)
-Connecting segments on the locked layer(s) will not be converted to a polyline because of their locked nature. (Intended behaviour)
eg. ‘OG’ & selecting the line at point B in the example file. The cyan lines are on a locked Layer.

Both A & B can be undone.

The example is a part of the ‘Skewing project’.


Closed by  Andrew
13.06.2018 09:15
Reason for closing:  Fixed
Andrew commented on 13.06.2018 08:38

A) is intended behavior. Note that 'locked' is defined as 'cannot be modified'. It does not mean that the entities should be ignored or cannot be used as basis for new geometry. Locked layers can also be used as base for offsets, for snapping, etc.

B) is indeed unfortunate. I'll look into a way to interrupt the transaction in that case.

CVH commented on 13.06.2018 09:20

I see, I have to reset my mind on Locked as 'cannot be modified'.
And not as 'don't include','do not use'. That's why I stated 'Assumed'.
Should be clearly documented to anyone that uses QCAD.

Locked as 'cannot be modified' should then be used constistent throughout QCAD.
If I find an exception I will simply report it.

Fairly obvious now that B can't cast the created poly on the layer of the first segment and trows the poly and all away.

Again obvious now is that the 'Transaction failed' error message means that:
A) It can't remove from the locked layer.
B) It can't cast to a locked layer.

The message 'Polyline created' should not occur for B.


Available keyboard shortcuts


Task Details

Task Editing