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)

IDCategoryTask TypeSeverity  ascSummaryStatusProgress
 272 QCAD (main)Bug ReportLow Exception Linux Closed
Task Description

Welcome to the Qt Script debugger.
Debugger commands start with a . (period).
Any other input will be evaluated by the script interpreter.
Type “.help” for help.

Uncaught exception at C:/Programme/QCAD 3 Beta2/scripts/File/PrintPreview/../..\library.js:635: Error: cannot access member `objectName’ of deleted QObject
635 if (!isNull(child.objectName) && child.objectName != ““) {

 273 QCAD (main)Bug ReportLow Opening files drawn in previous versions, with layers t ...Closed
Task Description

When opening a multi layered file, which has been saved in a previous version with some layers turned off, the following happens:

The file is loaded, all layers are shown as switched on.
The view contains only those layers that were switched on when previously saved.


If the file is loaded with all layers turned on, then saved (all within beta3-2)
then upon reopening:-

The file is loaded and the layers are shown with status as saved.
The view is as expected showing just the ‘on’ layers.

If all the layers are then switched on, the view is unchanged.

 274 QCAD (main)Bug ReportLow previous tab is renamed by the new opened file Closed
Task Description

When opening a new tab, previous tab is renamed by the new opened file.

Tested on Ubuntu Natty amd64

 276 QCAD (main)Bug ReportLow Hatch not working if 'island' is a block Closed
Task Description

If a simple polygon is drawn and a rectangle created within it; the whole then selected and hatch applied; hatching works as expected. The hatching is within the polygon but not within the rectangle.

If the rectangle is made into a block, then hatching does not work at all when the block is included in the selection. If the block is not selected and the polygon is, then all within the polygon is hatched, including the block.

277QCAD (main)Feature RequestLowcommand line arguments: allow class name after -execAssigned
Task Description

command line arguments: allow class name after -exec

 278 QCAD (main)Bug ReportLow ECMAScript: all scripts should be read as UTF-8 Closed
Task Description

Scripts that are included through the ECMAScript include function are read with a default constructed QTextStream. UTF-8 should be forced.

 280 QCAD (main)Bug ReportLow dxf import: vertical text position Closed
Task Description

see 404011_0310_001.dxf

 281 QCAD (main)Bug ReportLow dxf import: show paper space by default Closed
Task Description

dxf import: show paper space by default if whole drawing is constructed on paper space or read ‘current block’ from sxf if available.

 282 QCAD (main)Bug ReportLow dxf import: single line text: diameter, plus minus, ... Closed
Task Description

dxf import: single line text: diameter, plus minus, degree shown as c, p, %%d

 283 QCAD (main)Bug ReportLow property editor: shift - left arrow to select broken Closed
Task Description

property editor: shift - left / right arrow to select in line edit broken (hot key for next / prev tab)

 288 QCAD (main)Performance IssueLow opening dwg file takes very long [improved] Closed
Task Description

Opening a 4 MB dwg file results in no-response for about five minutes. Opening the same file with DraftSight takes less than five seconds.

 289 QCAD (main)Bug ReportLow Extra (superfluous) reference points show with text fro ...Closed
Task Description

Dear Andrew,

When I open a dxf file created by QCad2 in QCad3 I see extra reference points to the right when selecting the text. I assume that these reference points have no function. Refer to attached dxf file.

Regards, Rutger

 290 QCAD (main)Bug ReportLow Arrow on Leaders do not scale  Closed
Task Description

I consider this a bug or at least poor software design.

When I edit the drawing preferences and change the arrow size (under the Dimensions tab), the arrows of my dimensions change as expected, but those of the leaders to not change.

No drawing preference exists to adjust the leaders separately, and scaling a leader does not scale its arrow. I currently must delete my leaders and redraw them completely to change the arrow size. Very inconvenient.

P.S. I’m using QCad (Community Edition) and didn’t see that version in your list. Does it have another name?

 291 QCAD (main)Bug ReportLow Tangent Point - Circle Closed
Task Description


293QCAD (main)Feature RequestLowmulti-select for blocksAssigned
Task Description

It would be nice if one could select multiple blocks in the block list at once (holding ctrl or ctrl+shift). Main purpose would be to delete them if they are not needed anymore. If possible, the same applies to layers.

 294 QCAD (main)Bug ReportLow Printing: Exception: page tags Closed
Task Description

Uncaught exception at C:/DISEGNO/QCAD Professional/scripts/File/PrintPreview\Print.js:345: Error: QFont::QFont(): could not find a function match; candidates are: QFont() QFont(QFont arg1) QFont(QFont arg1, QPaintDevice pd) QFont(String family, int pointSize, int weight, bool italic)

 295 QCAD (main)Bug ReportLow SEGFAULT in Plugin.prototype.initDoc() Closed
Task Description


 * \internal Called once on startup.
 */// TODO crashes under OpenSUSE 11.4


Thread [1] 31002 (Suspended : Signal : SIGSEGV:Segmentation fault)	
	strncmp() at 0xb505089a	
	__xmlParserInputBufferCreateFilename() at xmlIO.c:2,525 0x92c27b9	
	xmlParserInputBufferCreateFilename() at xmlIO.c:2,559 0x92c284a	
	xmlNewInputFromFile() at parserInternals.c:1,549 0x9285697	
	xmlDefaultExternalEntityLoader() at xmlIO.c:3,881 0x92c45fd	
	xmlLoadExternalEntity() at xmlIO.c:3,941 0x92c46f6	
	xsltDocDefaultLoaderFunc() at documents.c:85 0x922b0d9	
	xsltParseStylesheetFile() at xslt.c:6,726 0x9224da3	
	RXslt::parseStylesheet() at RXslt.cpp:14 0x9212ce7	
	REcmaXslt::parseStylesheet() at REcmaXslt.cpp:196 0x8dff0e4	
	QScriptEngine::evaluate() at 0xb6bba46f	
	RScriptHandlerEcma::eval() at RScriptHandlerEcma.cpp:775 0x87d1bf4	
	RScriptHandlerEcma::doScript() at RScriptHandlerEcma.cpp:771 0x87d1ad8	
	RScriptHandler::init() at RScriptHandler.cpp:31 0x8f9bf9e	
	main() at main.cpp:218 0x87cb5bf	


#ifdef HAVE_ZLIB_H
	if ((xmlInputCallbackTable[i].opencallback == xmlGzfileOpen) &&
		(strcmp(URI, "-") != 0)) {
	    if (((z_stream *)context)->avail_in > 4) {
	        char *cptr, buff4[4];
		cptr = (char *) ((z_stream *)context)->next_in;
		if (gzread(context, buff4, 4) == 4) {
		    if (strncmp(buff4, cptr, 4) == 0)
===>		        ret->compressed = 0;
		        ret->compressed = 1;

 296 QCAD (main)Bug ReportLow Segmentation Fault: Mac OS X: Print Preview Closed
Task Description

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x9392df87 objc_msgSend + 23
1 QtGui 0x05006ceb -[QCocoaWindow sendEvent:] + 267
2 com.apple.AppKit 0x902b760b -[NSApplication sendEvent:] + 6431
3 QtGui 0x0500a3ed -[QNSApplication sendEvent:] + 93
4 com.apple.AppKit 0x9024b253 -[NSApplication run] + 917
5 QtGui 0×05014481 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1505
6 QtCore 0x04d60941 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 65
7 QtCore 0x04d60c8a QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 170
8 QtCore 0x04d620e6 QCoreApplication::exec() + 182
9 ...ript_core_debug.1.0.0.dylib 0x1dec391e qtscript_QCoreApplication_static_call(QScriptContext*, QScriptEngine*) + 1316 (qtscript_QCoreApplication.cpp:314)
10 QtScript 0x04af8318 QScript::FunctionWrapper::proxyCall(QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::JSValue, QTJSC::ArgList const&) + 136
11 QtScript 0x04a10871 QTJSC::NativeFuncWrapper::operator()(QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::JSValue, QTJSC::ArgList const&) const + 113
12 QtScript 0x049e5ac9 cti_op_call_NotJSFunction + 489
13 ??? 0x202e626f 0 + 539910767
14 QtScript 0x0499d057 QTJSC::Interpreter::execute(QTJSC::EvalExecutable*, QTJSC::ExecState*, QTJSC::JSObject*, int, QTJSC::ScopeChainNode*, QTJSC::JSValue*) + 1031
15 QtScript 0x0499d351 QTJSC::Interpreter::execute(QTJSC::EvalExecutable*, QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::ScopeChainNode*, QTJSC::JSValue*) + 97
16 QtScript 0x04aca7b6 QScriptEnginePrivate::evaluateHelper(QTJSC::ExecState*, long, QTJSC::EvalExecutable*, bool&) + 582
17 QtScript 0x04acb011 QScriptEngine::evaluate(QString const&, QString const&, int) + 801
18 com.ribbonsoft.qcad 0x0003868b RScriptHandlerEcma::eval(QString const&, QString const&) + 57
19 com.ribbonsoft.qcad 0x00037c6f RScriptHandlerEcma::doScript(QString const&, QStringList const&) + 805
20 com.ribbonsoft.qcad 0x009c3b8d RScriptHandler::init(QString const&, QStringList const&) + 641
21 com.ribbonsoft.qcad 0x0002f4b8 main + 3878 (main.cpp:218)
22 com.ribbonsoft.qcad 0x0002e289 _start + 208
23 com.ribbonsoft.qcad 0x0002e1b8 start + 40

 297 QCAD (main)Feature RequestLow Support drawing linetype scale factor (LTSCALE) Closed
Task Description

Support drawing linetype scale factor (LTSCALE)

 299 QCAD (main)Bug ReportLow Text of rotated dimensions in SVG PG export Closed
Task Description

Sometimes the text of a dimension (that is in a block - just a suspicion of mine) will not get rotated. I do not know why this.text.getAngle() sometimes returns a wrong value, but there is a simple workaround: always rotate the text with the dimension:

--- SvgExporterPG-orig.js	2011-09-15 23:11:40.000000000 +0200
+++ SvgExporterPG.js	2011-10-07 13:07:03.715374911 +0200

@@ -428,9 +427,7 @@
         // dimension entity: export text:
         this.text = entity.getTextData();
-//        var angle = this.text.getAngle();
-//        var offset = RVector.createPolar(this.text.getHeight()/2, angle + Math.PI/2);
-//        this.text.move(offset);
+        this.text.setAngle(entity.getAngle());
         this.textColor = entity.getColor();
         this.text = undefined;
 300 QCAD (main)Bug ReportLow Dashed lines in SVG PG export Closed
Task Description

Chat from  FS#194  singled out, so that can be closed.

Dash patterns in BETA2 are very much out of proportion. BETA2 always PG exports 1:1 and only scales strokes so that in the final rendering they match what a technical drawing would show. As dash patterns depend on stroke, both current stroke and final scale have to be brought in accord.

The patch below also restores the alignment of dashes, so that dashed lines do not end in a gap, at least in most occasions.

--- SvgExporterPG-orig.js	2011-09-15 23:11:40.000000000 +0200
+++ SvgExporterPG.js	2011-10-07 13:28:04.085376719 +0200
@@ -384,32 +384,29 @@
         continuous = true;
     if (!continuous) {
-        //p.scale(this.getPatternFactor());
-        p.scale(1/this.scale);
+        // dash and gap lengths are to be proportional to line weight
+        // beware: line weight unit is 100 times millimeters, convert to current unit
+        // beware: the viewer scales lengths differently from weight
+        p.scale(RUnit.convert(this.weight / 100.0, RS.Millimeter, this.svgUnit) / this.scale);
         var num = p.getNumDashes();
-        var str = "";
+        var str = [];
         for ( var i = 0; i < num; ++i) {
             var len = Math.abs(p.getDashLengthAt(i));
-            // see FS#192:
-            //len = this.convert(len);
-            str += "" + len;
-            if (i < num - 1) {
-                str += ",";
-            }
-        }
-        additionalStyles += "stroke-dasharray:" + str;
-        // does more harm than good
-//        if (isShape(this.shape)) {
-//            var length = this.shape.getLength();
-//            if (isNaN(this.offset)) {
-//                this.offset = this.getPatternOffset(length, p);
-//            } else {
-//                var num = Math.ceil(this.offset / p.getPatternLength());
-        //                this.offset -= num * p.getPatternLength();
-        //            }
-        //            additionalStyles += ";stroke-dashoffset:" + this.offset;
-        //        }
+            str.push(len);
+        }
+        additionalStyles += "stroke-dasharray:" + str.join(",");
+        // center dash-array
+        if (isShape(this.shape) && isFinite(this.shape.getLength())) {
+            var length = this.shape.getLength();
+            if (isNaN(this.offset)) {
+                this.offset = -this.getPatternOffset(length, p);
+            } else {
+                var num = Math.ceil(this.offset / p.getPatternLength());
+                this.offset -= num * p.getPatternLength();
+            }
+            additionalStyles += ";stroke-dashoffset:" + this.offset;
+        }
 302 QCAD (main)Feature RequestLow Printer calibration Closed
Task Description

Calibrate printer X/Y ratio and possibly scale to allow accurate printing even on inaccurate printers.

 303 QCAD (main)Bug ReportLow Hatch with spline boundary Closed
Task Description

If spline boundary has fit points, hatch is loaded with visible inaccuracy.

 305 ECMAScriptFeature RequestLow executing script at terminal command prompt Closed
Task Description

Hello. My question is: can I run my script under Linux QCAD using Linux command prompt.
Something like this. Print in terminal: “./qcad myscript.qs” And can the script executing without QCAD GUI? I need to make my drawing by printing specific command in linux command prompt without using GUI. So after script end his work I want to have my drawing at destination directory.

Thank you.

 307 QCAD (main)Bug ReportLow Library Browser DB File Locked Closed
Task Description

Handle situation in which DB file is locked (from previous crash, ...).

Currently, the debugger is shown repeatedly.

 310 QCAD (main)Feature RequestLow show/hide grid Closed
Task Description

You removed the button to show and hide grid

I cannot find it and when I turn the grid off and on

 313 QCAD (main)Feature RequestLow Isometric grid Closed
Task Description

Switch grid from orthogonal to isometric.

 314 QCAD (main)Bug ReportLow Polyline from segments puts result in layer 0 Closed
Task Description

A polyline or polygon created from segments always ends up in layer 0, shouldn’t it stay in the same layer as the segments have been?

 315 QCAD (main)Feature RequestLow SVG PG export polylines Closed
Task Description

Polylines may consist of lines and arcs. The SVG PG exporter writes them as all straight lines. A better mapping than polyline then was path, as is done with arcs now.

 317 QCAD (main)Bug ReportLow Debugger with -always-load-scripts Closed
Task Description

Starting qcad Beta 3 with command line argument -always-load-scripts will bring up debugger:

Uncaught exception at /opt/qcad-3.0.0-beta3-prof-linux/scripts/library.js:2: RangeError: Maximum call stack size exceeded.
2 include(”sprintf.js”);

 318 QCAD (main)Bug ReportLow Text of dimensions label in SVG PG export  Closed
Task Description

The labels of dimensions in PG exporter are moved half text-height. Thats a bit much, and actually, no such movement looks more true to the display of same in QCAD itself.

--- SvgExporterPG.js.orig	2011-10-15 18:57:29.994666881 +0200
+++ SvgExporterPG.js	2011-10-15 18:57:39.284666834 +0200
@@ -434,7 +434,7 @@
         var angle = this.text.getAngle();
-        var offset = RVector.createPolar(this.text.getHeight()/2, angle + Math.PI/2);
+        var offset = RVector.createPolar(0, angle + Math.PI/2);
         this.textColor = entity.getColor();
 320 QCAD (main)Feature RequestLow CAD Tool Bar: Back button should go back one menu Closed
Task Description

CAD Tool Bar: Back button should go back one menu. Possibly use two buttons, one to go back to the previous tool bar, one to go back to the main tool bar.

 321 QCAD (main)TaskLow Add license to ECMAScript files Closed
Task Description

Add license header for all ECMAScript files.

 322 QCAD (main)Bug ReportLow Line type scaling with print scale factor Closed
Task Description

In QCAD 2, line type patterns are scaled according to the print preview drawing scale, also in model space.
This is not the case in QCAD 3 and possibly needs a different solution.

Possible solutions:

  • two different LTSCALEs for model space and print preview
  • same behavior as QCAD 2
 323 ECMAScriptFeature RequestLow Exceptions in headless scripts Closed
Task Description

The capability of running headless, ie. without GUI, is a very welcome addition to QCAD. I suggest one more improvement:

When an exception occurs in a script (running from autostart) and no-gui was opted for on the command line, QCAD should not try to bring up the debugger ever (regardless of any preferences), but print the message of the exception and possibly a backtrace instead.

Otherwise all errors will produce the same messageā€¦

 324 ECMAScriptFeature RequestLow SVG export depends on GUI Closed
Task Description

SvgExporter.js uses PrintPreview to parse the scale string, and therefore depends on the qt GUI part. That should not make maintenance harder to call RMath directly there? Results seem to match from a first look.

--- SvgExporter.js~	2011-10-20 14:11:45.527589416 +0200
+++ SvgExporter.js	2011-10-20 14:12:46.277502814 +0200
@@ -1,6 +1,5 @@
  * File exporter implementation for the SVG format.
@@ -116,7 +115,7 @@
     this.svgUnitAbbr = ret[1];
     // scale
-    this.scale = Print.parseScale(this.scaleStr);
+    this.scale = RMath.parseScale(this.scaleStr);
     var bb = this.doc.getBoundingBox();
     var size = bb.getSize();
 325 QCAD (main)Bug ReportLow Layer renaming: changing name from lower case to upper  ...Closed
Task Description

Layer renaming: changing name from lower case to upper case

 326 QCAD (main)Feature RequestLow Print preview: auto center / scale Closed
Task Description

Print preview: auto center / scale

 327 QCAD (main)Feature RequestLow Text tool: options tool bar Closed
Task Description

Text tool: options tool bar with text, angle, text height.

 328 QCAD (main)Bug ReportLow Persistent selections Closed
Task Description

Preference for persistent selections

 329 QCAD (main)Feature RequestLow PDF Export: from file menu Closed
Task Description

PDF Export: from file menu

 330 QCAD (main)Bug ReportLow Text Edit command replaces \U+00B0 with %%[dD] Closed
Task Description

when editing text which contains the degree symbol the proper escape sequence is \U+00B0
Qcad 3Beta3 replaces \U+00B0 with %%[dD]

 331 QCAD (main)Bug ReportLow Snap buttons doubled Closed
Task Description

1. For some reason on the Window machine, the snap toolbar buttons are doubled for all functions. I therefore have two buttons for each type of snap and cannot access the bottom snaps unless I undoc the toolbar.

For some reason, this is still fine in the Linux Beta 3. Single buttons like always.

Reported by: koosjr

 332 QCAD (main)Feature RequestLow Modify - divide should remain active after one use Closed
Task Description

1. When selecting the Scissors function, it deactivates after the cut is done. One can therefore not continuously select lines and cut it at the selected point. Each time the function has to be activated from the start.

 333 QCAD (main)Bug ReportLow Add layer: new layer should be active one Closed
Task Description

Add layer: new layer should be active one

 336 QCAD (main)Bug ReportLow Tool bars with tools without icon Closed
Task Description

Some tool bars (e.g. ‘Block’ tool bar) contain tools without an icon (empty button).
Not all tools are available in tool bars.

 345 QCAD (main)Bug ReportLow unit foot: no dotted line Closed
Task Description

can’t make a dotted line on a drawing with unit foot.

  • drawing unit: foot (length taken from a actual architecture plan)
  • layer settings: as shown in the screen shot
  • selected line is on layer “dotted”
  • line types is shown as continues for almost everything
 346 QCAD (main)Feature RequestLow Set up fixed grid Closed
Task Description

Set up fixed grid without any auto scaling or adjusting or meta grid at all.

 347 QCAD (main)TaskLow Investigate QPainter warnings when running QCAD in -no- ...Closed
Task Description

Invastiagte QPainter warnings when running QCAD in -no-gui mode

See forum:

 348 QCAD (main)Feature RequestLow Dimensions: Inch / Architectural: supporess 0 feet Closed
Task Description

Dimensions: Inch / Architectural: supporess 0 feet

Showing tasks 301 - 350 of 2141 Page 7 of 43<<First - 5 - 6 - 7 - 8 - 9 - Last >>

Available keyboard shortcuts


Task Details

Task Editing