QCAD Bugtracker

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)

IDCategory  descTask TypeSeveritySummaryStatusProgress
 178 QCAD (main)Bug ReportMedium add layer from property editor got uncaught exception Closed
Task Description
  1. new drawing
  2. draw line
  3. select it
  4. choose “+” in property editor to add a new layer → the layer dialog pops up
  5. press cancel
  6. move the mouse back into the drawing area
 177 QCAD (main)Bug ReportLow generate example drawings: uncaught exception Closed
Task Description
  • Type: Property Overview → Colors
Uncaught exception at /home/martin/workspace/rsframework/scripts/Developer/ExampleDrawings/ExampleDrawings.js:332:
Error: :-1:-1: self is NULL
<native>(RColor(ByLayer) ) at -1
<anonymous>(argCols = 0, argRows = 0, argProp = RColor(ByLayer) , 'colors') at
<anonymous>(argType = 'colors') at
<anonymous>() at
<native>() at -1
main() at scripts/autostart.js:501
<global>() at scripts/autostart.js:520
332	        entity.setColor(argProp);

qsdb> entity

qsdb> objs

qsdb> .backtrace
#0  <anonymous>(argCols = 0, argRows = 0, argProp = RColor(ByLayer) , 'colors') at
#1  <anonymous>(argType = 'colors') at
#2  <anonymous>() at
#3  <native>() at -1
#4  main() at scripts/autostart.js:501
#5  <global>() at scripts/autostart.js:520
 176 QCAD (main)Feature RequestLow Demo Version Closed
Task Description
  • Save drawings on exit
  • 10min time limit
  • markers in
    • PDF export
    • BMP export
    • SVG export
    • printing
 175 QCAD (main)Bug ReportMedium Trim.js: uncaught exception for ellipse / ellipse arcs Closed
Task Description
  1. draw line as limiting entity
  2. draw ellipse and ellipse arc, both intersecting
  3. modify → trim
  4. select the diagonal line as limiting entity
  5. move around with the mouse over ellipse or ellipse arc → crash
Uncaught exception at scripts/Modify/Trim/Trim.js:267: TypeError: Result of expression
'trimmed1.trimStartPoint' [undefined] is not a function.
267	        trimmed1.trimStartPoint(is);
qsdb> .backtrace
#0  <anonymous>(op = RMixedOperation(0xc37b998), limitingEntity = RLineEntityPointer(0xc20c098),
limitingShape = RLine(RShape(address: "0xc217bd8"), startPoint: RVector(40, 36, 0) ,
endPoint:  RVector(-3, -3, 0) ) , limitingPos = RVector(2.81463, 1.47073, 0) ,
trimEntity = REllipseEntityPointer(0xc3775f8), trimPos = RVector(12.4488, 5.03537, 0) ,
trimBoth = false, preview = true) at scripts/Modify/Trim/Trim.js:267
#1  <anonymous>(preview = true) at scripts/Modify/Trim/Trim.js:167
#2  <anonymous>() at /home/martin/workspace/rsframework/scripts/Modify/../EAction.js:1150
#3  <anonymous>(event = REntityPickEvent(0xbfffd3c8), preview = true) at scripts/Modify/Trim/Trim.js:147
#4  <anonymous>(event = REntityPickEvent(0xbfffd3c8)) at /home/martin/workspace/rsframework/scripts/Modify/../EAction.js:1225
#5  <global>() at -1
 174 QCAD (main)Feature RequestLow edit block from insert Closed
Task Description


173QCAD (main)Feature RequestLowexplode text to lettersAssigned
Task Description


 172 QCAD (main)Feature RequestMedium send to back / to front Closed
Task Description


 171 QCAD (main)Bug ReportMedium arc split wrong Closed
Task Description
  • see attachment
 170 QCAD (main)Bug ReportMedium wrong scaling for ellipses / ellipse arcs Closed
Task Description
  • see attachment
  • factor x/y: 0.5
  • green: original entities
  • red: properly scaled entities
 169 QCAD (main)Performance IssueLow Image preview slow Closed
Task Description

Preview when inserting image slow

 168 QCAD (main)Bug ReportLow block visibility Closed
Task Description

disable for now or implement

 167 QCAD (main)Bug ReportLow trim: changes layer Closed
Task Description

trimmed entity ends up on current layer instead of original

 166 QCAD (main)Bug ReportLow break out Closed
Task Description

break out for top segment of arc broken

 165 QCAD (main)Bug ReportLow dimension arrows / draft mode Closed
Task Description

dimension arrows not visible in draft mode

 164 QCAD (main)Bug ReportLow Hatch / draft mode Closed
Task Description
  1. open example01.dxf
  2. toggle draft mode
  3. toggle draft mode

hatch is now visible in draft mode and not visible in normal mode

 163 QCAD (main)Bug ReportLow Selection with locked layers Closed
Task Description

- two lines on top of each other
- one line on locked layer
- one line on unlocked layer

Selection of the line on unlocked layer should be easily possible.

 162 QCAD (main)Bug ReportLow Selection tools: select entities on hidden layers Closed
Task Description

Rectangle select selects entities on hidden layers
Select all selects entities on hidden layers

 161 QCAD (main)Bug ReportLow Polyline - Equidistant Closed
Task Description

No preview, produces invalid polyline

 159 QCAD (main)Bug ReportLow Dimension text labels Closed
Task Description

“” → default label
“.” → no label

 158 QCAD (main)Bug ReportMedium polyline with segment radius mirrored wrong Closed
Task Description
  • see attached drawing
 157 QCAD (main)Bug ReportMedium rotate causes uncaught exception Closed
Task Description
  1. draw line
  2. Modify → Rotate
    • center point: line end point
    • delete original
    • angle 90°
Uncaught exception at scripts/Modify/Rotate/Rotate.js:117: Error: :-1:-1: Wrong number/types of arguments
for RDocumentInterface.applyOperation().
<native>(undefined) at -1
<anonymous>(event = RCoordinateEvent(0xbfffd478), preview = false) at scripts/Modify/Rotate/Rotate.js:117
<anonymous>(event = RCoordinateEvent(0xbfffd478)) at
<global>() at -1
117	                di.applyOperation(this.getOperation(false));
 156 QCAD (main)Bug ReportMedium Isometric Projection fails for arc Closed
Task Description
 155 QCAD (main)Bug ReportLow Copy / paste: convert units Closed
Task Description

Copy / paste: convert units

- copy: copy drawing unit to clipboard
- paste: convert pasted entities from clipboard unit to drawing unit

 154 QCAD (main)Feature RequestLow Image: move reference points to scale Closed
Task Description

Image: move reference points to scale

 153 QCAD (main)Bug ReportLow Save triangle shape after exploding dimension Closed
Task Description

Save triangle shape after exploding dimension

 152 QCAD (main)Bug ReportLow IsoProject uncaught exception Closed
Task Description
  1. draw circle
  2. modify → iso projection
Uncaught exception at scripts/Modify/IsoProject/IsoProject.js:140: TypeError: Result of expression 'shape.approximateWithLines' [undefined] is not a function.
140	        var pl = shape.approximateWithLines(this.segmentLength);
  • same with an arc
 151 QCAD (main)Bug ReportLow Uncaught exception at Divide.js:135 Closed
Task Description
  1. new circle
  2. modify → divide
 150 QCAD (main)Bug ReportLow problematical arc angle values after divide circle Closed
Task Description
  1. new circle
  2. modify → divide circle in 4th quadrant

arc start angle = 317.726311, end angle = 677.726311
→ QCAD hangs if one try to move the arc start / end point

 148 QCAD (main)Bug ReportMedium "inline" leads to linking error on Linux Closed
Task Description


    inline bool isEmpty() const;
g++ -rdynamic -Wl,-rpath,/home/martin/opt/QtSDK/Desktop/Qt/473/gcc/lib
-o ../../debug/qcad-bin debug/main.o
-L/usr/X11R6/lib -L/home/martin/workspace/rsframework/debug
 -lecma -lecmaapi -ldwg -lpluginsqt -lgui -lentity -loperations -lspatialindexnavel
 -lgrid -lsnap -lcore -lstemmer -lmath -lrxslt -lrxml -ldxf -lModelerGeometry
 -lTD_BrepRenderer -lTD_Br -lTD_AcisBuilder -lTD_Db -lTD_DbRoot -lTD_Gs
 -lTD_SpatialIndex -lTD_Gi -lTD_Ge -lTD_Root -lFreeType -lTD_Alloc -lRecomputeDimBlock
 -lExFieldEvaluator -lQtWebKit -lQtScript -lQtScriptTools -lQtSvg -lQtSql -lQtXmlPatterns
 -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGLU -lGL -lpthread 
/home/martin/workspace/rsframework/debug/libecmaapi.a(REcmaPainterPath.o): In function `REcmaPainterPath::isEmpty(QScriptContext*, QScriptEngine*)':
/home/martin/workspace/rsframework/src/scripting/ecmaapi/REcmaPainterPath.cpp:2078: undefined reference to `RPainterPath::isEmpty() const'
/home/martin/workspace/rsframework/debug/libgui.a(RGraphicsSceneQt.o): In function `RGraphicsSceneQt::endPath()':
/home/martin/workspace/rsframework/src/gui/RGraphicsSceneQt.cpp:71: undefined reference to `RPainterPath::isEmpty() const'
/home/martin/workspace/rsframework/src/gui/RGraphicsSceneQt.cpp:74: undefined reference to `RPainterPath::isEmpty() const'
/home/martin/workspace/rsframework/debug/libentity.a(RHatchData.o): In function `RHatchData::getBoundingBox() const':
/home/martin/workspace/rsframework/src/entity/RHatchData.cpp:104: undefined reference to `RPainterPath::isEmpty() const'
/home/martin/workspace/rsframework/debug/libentity.a(RHatchData.o): In function `RHatchData::getDistanceTo(RVector const&, bool, double, bool) const':
/home/martin/workspace/rsframework/src/entity/RHatchData.cpp:127: undefined reference to `RPainterPath::isEmpty() const'
/home/martin/workspace/rsframework/debug/libentity.a(RHatchData.o):/home/martin/workspace/rsframework/src/entity/RHatchData.cpp:134: more undefined references to `RPainterPath::isEmpty() const' follow
collect2: ld returned 1 exit status

temporary solution: changed method to non-line

 147 QCAD (main)Bug ReportLow OpenDesign 4.4 won't comiple under Linux Closed
Task Description
opendesign/Extensions/ExServices/ExSystemServices.cpp:28:20: fatal error: StdAfx.h: No such file or directory

I can work with be “old” binary for now (seems to work with the new libraries even it was not compiled newly), so it’s not that urgent.

 146 QCAD (main)RefactoringLow cloning entities: optional ID cloning Closed
Task Description

add parameter to REntity::clone to allow cloning without cloning object ID.

 145 QCAD (main)Feature RequestLow Explode blocks Closed
Task Description

Explode blocks

 144 QCAD (main)Bug ReportMedium snap restriction buttons are not toggled Closed
Task Description

the buttons works, but are not toggled (”restriction off” is always pushed)

 143 QCAD (main)Feature RequestLow Limit number of entities / shapes in previews Closed
Task Description

Limit preview shapes / entities by user configurable number

 142 QCAD (main)Bug ReportHigh Crash when staring QCAD with LibraryBrowser module Closed
Task Description

QCAD crashes directly after start (when all plugins have been loaded) with a “Bus Error” or segmentation fault in approximately 90% of all starts with the LibraryBrowser module. Without modules

  • scripts/Widgets/LibraryBrowser
  • scripts/Tools/LibraryTranslator
  • scripts/Developer/BookImages
  • scripts/Developer/UiTest/LibraryBrowserTest
  • scripts/Developer/UiTest/LibraryBrowserTest2

no crashes occur.

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   QtGui                         	0x0349d27b QWidgetPrivate::showChildren(bool) + 235
1   QtGui                         	0x0349d38b QWidgetPrivate::show_helper() + 107
2   QtGui                         	0x0349d2b9 QWidgetPrivate::showChildren(bool) + 297
3   QtGui                         	0x0349d38b QWidgetPrivate::show_helper() + 107
4   QtGui                         	0x034a13c3 QWidget::setVisible(bool) + 1075
5   QtGui                         	0x0349fd7a QWidget::qt_metacall(QMetaObject::Call, int, void**) + 1098
6   QtGui                         	0x03abf6a5 QMainWindow::qt_metacall(QMetaObject::Call, int, void**) + 53
7   com.ribbonsoft.qcad           	0x007d31c7 RMainWindowQt::qt_metacall(QMetaObject::Call, int, void**) + 45
8   QtScript                      	0x05aa79db QScript::callQtMethod(QTJSC::ExecState*, QMetaMethod::MethodType, QObject*, QTJSC::ArgList const&, QMetaObject const*, int, bool) + 11595
9   QtScript                      	0x05aab60e QScript::QtFunction::execute(QTJSC::ExecState*, QTJSC::JSValue, QTJSC::ArgList const&) + 174
10  QtScript                      	0x05aab900 QScript::QtFunction::call(QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::JSValue, QTJSC::ArgList const&) + 224
11  QtScript                      	0x059aec41 QTJSC::NativeFuncWrapper::operator()(QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::JSValue, QTJSC::ArgList const&) const + 113
12  QtScript                      	0x05983e99 cti_op_call_NotJSFunction + 489
13  ???                           	0x1a761a65 0 + 443947621
14  QtScript                      	0x0593b427 QTJSC::Interpreter::execute(QTJSC::EvalExecutable*, QTJSC::ExecState*, QTJSC::JSObject*, int, QTJSC::ScopeChainNode*, QTJSC::JSValue*) + 1031
15  QtScript                      	0x0593b721 QTJSC::Interpreter::execute(QTJSC::EvalExecutable*, QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::ScopeChainNode*, QTJSC::JSValue*) + 97
16  QtScript                      	0x05a68cb6 QScriptEnginePrivate::evaluateHelper(QTJSC::ExecState*, long, QTJSC::EvalExecutable*, bool&) + 582
17  QtScript                      	0x05a69511 QScriptEngine::evaluate(QString const&, QString const&, int) + 801
18  com.ribbonsoft.qcad           	0x0003589b RScriptHandlerEcma::eval(QString const&, QString const&) + 57
19  com.ribbonsoft.qcad           	0x000357f1 RScriptHandlerEcma::doScript(QString const&, QStringList const&) + 805
20  com.ribbonsoft.qcad           	0x00923a19 RScriptHandler::init(QString const&, QStringList const&) + 641
21  com.ribbonsoft.qcad           	0x0002d51f main + 2417 (main.cpp:172)
22  com.ribbonsoft.qcad           	0x0002c909 _start + 208
23  com.ribbonsoft.qcad           	0x0002c838 start + 40
 141 QCAD (main)Bug ReportHigh SIGABRT drawing circle crashes Closed
Task Description
  1. new drawing
  2. tools → circle
  3. click center → crash

source code segment:

void RGraphicsSceneQt::exportArcSegment(const RArc& arc) {
    RPainterPath& path = draftMode ? currentPainterPathDraft : currentPainterPath;
    // try QPainterPath arcTo method first but this can be very
    // inaccurate (+/- 0.01 difference from start- / end point):
    RPainterPath p;
    RBox box(arc.center - RVector(arc.radius, arc.radius), arc.center
            + RVector(arc.radius, arc.radius));
    p.arcTo(box.toQRectF(), 360 - RMath::rad2deg(
            arc.startAngle), -RMath::rad2deg(arc.getSweep()));
=>  QPainterPath::Element e1 = p.elementAt(1);
    double errorStart = RVector(e1.x, e1.y).getDistanceTo(arc.getStartPoint());
    QPointF ep = p.pointAtPercent(1.0);
    double errorEnd = RVector(ep.x(), ep.y()).getDistanceTo(arc.getEndPoint());
    if (errorStart<1.0e-5 && errorEnd<1.0e-5) {
        // TODO: check if this is ever reached:

stack trace:

Thread [1] 6814 (Suspended : Signal : SIGABRT:Aborted)	
	__kernel_vsyscall() at 0xffffe424	
	raise() at 0xb4efc8df	
	abort() at 0xb4efe220	
	RMainWindow::messageHandler() at RMainWindow.cpp:63 0x8ee4076	
	qt_message_output() at 0xb5356f65	
	qFatal() at 0xb53572c9	
	qt_assert() at 0xb5357355	
	QPainterPath::elementAt() at qpainterpath.h:400 0x8a8163e	
	RGraphicsSceneQt::exportArcSegment() at RGraphicsSceneQt.cpp:210 0x8dc5c5d	
	RExporter::exportArc() at RExporter.cpp:831 0x8ec82c7	
	RGraphicsSceneQt::exportArc() at RGraphicsSceneQt.cpp:125 0x8dc570f	
	RExporter::exportCircle() at RExporter.cpp:911 0x8ec899e	
	RCircleEntity::exportEntity() at RCircleEntity.cpp:110 0x8de6a2a	
	RExporter::exportCurrentEntity() at RExporter.cpp:603 0x8ec7430	
	RGraphicsScene::exportCurrentEntity() at RGraphicsScene.cpp:244 0x8ecff0b	
	RExporter::exportEntity() at RExporter.cpp:557 0x8ec7220	
	RDocumentInterface::previewOperation() at RDocumentInterface.cpp:1,882 0x8ebc561	
	REcmaDocumentInterface::previewOperation() at REcmaDocumentInterface.cpp:5,247 0x88ce888	
	QScriptValue::call() at 0xb6bd2e67	
	REcmaShellActionAdapter::coordinateEventPreview() at REcmaShellActionAdapter.cpp:1,341 0x8c306d6	
	RDocumentInterface::previewClickEvent() at RDocumentInterface.cpp:770 0x8eb996a	
	RDocumentInterface::mouseMoveEvent() at RDocumentInterface.cpp:621 0x8eb91b7	
	RGraphicsScene::handleMouseMoveEvent() at RGraphicsScene.cpp:152 0x8ecfbd1	
	RGraphicsView::handleMouseMoveEvent() at RGraphicsView.cpp:427 0x8ed23aa	
	RGraphicsViewQt::mouseMoveEvent() at RGraphicsViewQt.cpp:191 0x8dd213b	
	QWidget::event() at 0xb58da661	
	RGraphicsViewQt::event() at RGraphicsViewQt.cpp:102 0x8dd1fb8	
	QApplicationPrivate::notify_helper() at 0xb5871d7c	
	QApplication::notify() at 0xb58772c4	
	QCoreApplication::notifyInternal() at 0xb547215b	
	QApplicationPrivate::sendMouseEvent() at 0xb5875152	
	QApplication::x11ProcessEvent() at 0xb5905d26	
	g_main_context_dispatch() at 0xb4af3509	
	g_main_context_iteration() at 0xb4af3fce	
	QEventDispatcherGlib::processEvents() at 0xb54a2741	
	QEventLoop::processEvents() at 0xb547131d	
	QEventLoop::exec() at 0xb54715aa	
	QCoreApplication::exec() at 0xb5473701	
	qtscript_QCoreApplication_static_call() at 0xb0a9c4b7	
	QScriptEngine::evaluate() at 0xb6bba46f	
	RScriptHandlerEcma::eval() at RScriptHandlerEcma.cpp:728 0x8787984	
	RScriptHandlerEcma::doScript() at RScriptHandlerEcma.cpp:724 0x8787868	
	RScriptHandler::init() at RScriptHandler.cpp:31 0x8f0163a	
	main() at main.cpp:172 0x87815fb	
 140 QCAD (main)Bug ReportLow Arc rendering with QPainterPath::arcTo not precise enou ...Closed
Task Description

Arcs rendered with QPainterPath::arcTo are not precise. Especially the start- / end point offsets are confusing. Differences are up to 0.01 units.

 139 QCAD (main)Bug ReportLow Linetype / drawing unit Closed
Task Description

Line type rendering with drawing unit != mm

 138 QCAD (main)RefactoringLow SVG Export entity properties "By Layer" and "By Block" Closed
Task Description

If I understand correctly, SVG export uses svg groups to keep QCAD block entities. This in itself is very useful. There is no way to correctly keep layer information, as QCAD blocks can contain elements on different layers, while SVG only knows about groups. That is a deficiency of SVG.

To save on file size, there was some potential to get rid of ever repeating same attributes on entities, eg: style=”stroke:#000000;stroke-width:0.25;stroke-dasharray:2.16,1.08”

To optimize “By Block” is easy: just set the attribute on the SVG group, and omit on below entities styled “By Block”.

To optimize “By Layer” is a little more involved, but might be solved by using css:
- Create a class by the name of the Layer
- add the class attribute to elements styled “By Layer”

Then only individually styled entities would get a style attribute, and filesize of SVG could be halved in most cases.

This just an idea :) Having written this, I now realize, that QCAD can style weight, pattern, color each extra, so the optimazition could only be applied to entities, where everything is “By Layer” or “By Block”. But that should be the case most of the time.

 137 QCAD (main)RefactoringLow SVG Export precision Closed
Task Description

In files exported with the (even PG) exporter I sometimes see values like these: 334.99999999999994 or 570.0000000000001 and very often 12 digits of precision.

To safe on file size, I suggest, that QCAD rounds values on SVG export to eg. three places. When viewed in an ordinary web browser, that will result in a precision of 1 inch / 96dpi / 1000 = 0.00026mm, not? Ends should still meet.

 136 QCAD (main)TaskLow Isometric projection Closed
Task Description

Implement isometric projection tool

 135 QCAD (main)TaskLow Lock layers Closed
Task Description

Implement layer locking

 134 QCAD (main)TaskLow Lock relative zero Closed
Task Description

Lock relative zero tool

 133 QCAD (main)TaskLow Set relative zero point Closed
Task Description

Set relative zero point tool.

 132 QCAD (main)TaskLow Snap restrictions Closed
Task Description

Implement snap restrictions

 131 QCAD (main)TaskLow Create block Closed
Task Description

Create block from selection

 130 QCAD (main)Feature RequestLow Measuring tools Closed
Task Description

Implement measurement (info) tools (see QCAD 2)

 129 QCAD (main)TaskLow Image entity Closed
Task Description

Implement RImageEntity and related classes.


Image in block

Image insertion tool:

  • change size in options tool bar: keep ratio

Image file look up:

  • absolute path
  • relative path (?)
  • same path as drawing file

Image display:

  • draft: border
  • normal: image
  • preview: border (or image for small file)

Move, rotate, ...


Selection with click inside image

Move reference points to scale

 128 QCAD (main)Feature RequestLow Export to PNG Closed
Task Description

QCAD 3 TP1 cannot export to PNG (or any other bitmap format). QCAD 2 lets set width and height in pixels of the file to be created. The drawing is then scaled proportionally to fit that. Leaving the height value empty will crash QCAD 2. QCAD 2 will also pad the image with an unspecified value that gets (both absolutely and relatively) smaller when the size increases…

QCAD 2 interface is simple and should meet most users needs. It would be nice to calculate the missing value, if only width or height is set. Some padding might be necessary only when antialiasing is done on export.

Setting scale and DPI instead would require more thinking on users side…

 126 QCAD (main)Feature RequestLow Snap to reference points of arcs Closed
Task Description

Snap to reference points does not work for arc entities as one would expect.
The four points on the arc at angles 0,90,180,270 should be reference points (like for circles).

Showing tasks 1901 - 1950 of 2140 Page 39 of 43<<First - 37 - 38 - 39 - 40 - 41 - Last >>

Available keyboard shortcuts


Task Details

Task Editing