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 TypeSeveritySummaryStatusProgress  desc
 142 QCAD (main)Bug ReportHigh Crash when staring QCAD with LibraryBrowser module Closed
100%
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
100%
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.moveTo(arc.getStartPoint());
    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:
        path.addPath(p);
        return;
    }

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	
	0xb53571ab	
	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	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xa7fd43b8	
	0xb6a423e3	
	0xb6af06e0	
	0xb6ac201e	
	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	
	0xb59066b5	
	QApplication::x11ProcessEvent() at 0xb5905d26	
	0xb5932f04	
	g_main_context_dispatch() at 0xb4af3509	
	0xb4af3d10	
	g_main_context_iteration() at 0xb4af3fce	
	QEventDispatcherGlib::processEvents() at 0xb54a2741	
	0xb5932a55	
	QEventLoop::processEvents() at 0xb547131d	
	QEventLoop::exec() at 0xb54715aa	
	QCoreApplication::exec() at 0xb5473701	
	qtscript_QCoreApplication_static_call() at 0xb0a9c4b7	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xb09fe9e9	
	0xb6a44262	
	0xb6a445f7	
	0xb6bb0f92	
	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
100%
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
100%
Task Description

Line type rendering with drawing unit != mm

 138 QCAD (main)RefactoringLow SVG Export entity properties "By Layer" and "By Block" Closed
100%
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
100%
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
100%
Task Description

Implement isometric projection tool

 135 QCAD (main)TaskLow Lock layers Closed
100%
Task Description

Implement layer locking

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

Lock relative zero tool

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

Set relative zero point tool.

 132 QCAD (main)TaskLow Snap restrictions Closed
100%
Task Description

Implement snap restrictions

 131 QCAD (main)TaskLow Create block Closed
100%
Task Description

Create block from selection

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

Implement measurement (info) tools (see QCAD 2)

 129 QCAD (main)TaskLow Image entity Closed
100%
Task Description

Implement RImageEntity and related classes.

DONE

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, ...

POSTPONED

Selection with click inside image

Move reference points to scale

 128 QCAD (main)Feature RequestLow Export to PNG Closed
100%
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…

 127 WebsiteFeature RequestLow QCAD scripts development Closed
100%
Task Description

The QCAD scripts, that contain a great deal of functionality in the QCAD framework, are so to say open source, in the limited, still powerful, sense that they can be read, inspected and single-handedly adapted to local needs. Wouldn’t it make sense to store these in a public source code repository?

So to allow closer tracking of development, eg. Of course, all of the scripts would then have to know which release of the /kernel/ they require as a support. But that should be a good thing anyways, as soon as a community of framework users arises, wasn’t it?

 126 QCAD (main)Feature RequestLow Snap to reference points of arcs Closed
100%
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).

 125 QCAD (main)Bug ReportHigh Modify Tools Not Working - Linux X86 Closed
100%
Task Description

Hi,

When utilising the modify tools, instead of the selection picker appearing, the menu drops back to the start.

The console says
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported

Have tried with rotate, copy/move, mirror etc.

Fedora 15 x86_64

James

 124 QCAD (main)Feature RequestLow White lines in SVG Closed
100%
Task Description

In DXF world, as far as I know, colour 7 - white - is magic, in that it shows white in model space on a black background, possibly also black on a light background, and commonly black in paper space irrespectively of background colour. In my opinion, SVG should be considered paper space.

I propose, that white entities get rendered black in SVG files exported from QCAD. What do you think?

 123 QCAD (main)Bug ReportHigh QCAD Save Fails, File Created Zero Bytes and then compl ...Closed
100%
Task Description

Hi,

uname -r
2.6.38.8-32.fc15.x86_64

We can save a file ok showing permissions on the linux system are ok (its home directory)

But then when we open a CAD file from a supplier, try and modify and save or save as, it complains about disk space / permissions.

However, on checking the file system, the file name is there at zero bytes.

It is felt it is something in the CAD file causing an error behind the scenes. I can not see anywhere to attach this file, so please email me and I will send.

James

 122 QCAD (main)Bug ReportLow SVG of hatch with "hole" Closed
100%
Task Description

A hatch my have “holes”, if it eg. is made of two forms, an inner form, and and outer form, where the outer form is filled while the inner form appears like a window inside of the fill, that lets the background be seen.

QCAD exports such hatches as two SVG paths in one single entity. But the “hole” is lost in the process. I know of two workarounds, that preserve the original intention of the QCAD drawing, both get the same result most of the time, the second one looking more robust and easier to implement:

# draw the outer form clockwise, draw the inner form counterclockwise
# set the “fill-rule:evenodd” attribute on the fill definition of the entity

Drawing a star like in the SVG spec in QCAD actually produces the same picture – so that should be the way to go.

http://www.w3.org/TR/SVG/painting.html#FillRuleProperty

 121 QCAD (main)Bug ReportLow qcad-3.0.0-tp1-prof-linux-run  Closed
100%
Task Description

Hi Andrew,

I took the pain of trying to download qcad-3.0.0-tp1-prof-linux-run under Ubuntu even if I was using Fedora.

The issue is the same.

Did you tried it?

Did it worked for you?

Patrick

 120 QCAD (main)Bug ReportLow RE> FS#119 - qcad-3.0.0-tp1-prof-linux.run is corrupted Closed
100%
Task Description

Hi Andrew,

I took some time to probe qcad 3.0.0 TP1 download from Ubuntu and the issue is the same as the one I encountered using Fedora.

For more information I attach, here with, a screenshot of the qcad-3.0.0-tp1-prof-linux-run download.
As we can see it is a scipt file, but at a certain point, visible on the screenshot, the data is corrupted.

// Don t know how to attach the image, I can send it you by Email if desired

Hope this will help you.

Regards,

Patrick
Patrick

 119 QCAD (main)Bug ReportLow qcad-3.0.0-tp1-prof-linux.run seams corrupted Closed
100%
Task Description

Hi,

I’m running fedora Release 12 and tried to download and install QCAD 3 TP1.

  • The qcad-3.0.0-tp1-prof-linux.run looks corrupted and can not be opened by the gedit editor and returns the following error message: “gedit has not been able to detect the character coding...
  • Of course when trying to launch qcad from the downloaded and decompressed file qcad-3.0.0-tp1-prof-linux I get the following error message: “./qcad-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14’ not found (required by ./qcad-bin)

Thank you in helping me to get this solved.

Patrick

 118 QCAD (main)Bug ReportLow addBoundary and hatchData fails silently Closed
100%
Task Description

In scripting hatchData.addBoundary can use any shape, but only some actually produce something useful, eg. this fails silently:

"ANSI31"

Shouldn’t an exception be thrown?

 117 QCAD (main)Bug ReportLow Use APPID when handling extended entity data to prevent ...Closed
100%
Task Description

Rationale:

Let QCAD handle extended entity data, that is used in the industry to instruct postprocessing applications, e.g. the tooling of a mill or robot.

When I say group code or specs below, I refer to this document http://www.autodesk.com/techpubs/autocad/acad2000/dxf/extended_data_dxf_ab.htm

Current:

In the property editor I can add key value pairs to drawing entities. As in this script:

entity.setProperty(new RPropertyTypeId("MY_KEY"), "MY_VAL");
entity.setProperty(new RPropertyTypeId("MY_REAL"), 123);

In DXF this results in a group code “QCAD” followed by alternating keys and values as strings and typed positions respectively:

[…]
  0
LINE
[…]
1001
QCAD
1000
MY_KEY
1000
MY_VAL
1000
MY_REAL
1040
123.0
[…]

Expected:

From reading the specs, this looks perfectly valid. I’d say though, that QCAD is not right to expect any extended data to follow this pattern. The extended entity data, that I want to recreate eg, looks like this:

[…]
  0
LINE
[…]
1001
MY_DATA
1000
MY_FOO: some text
1000
MY_BAR: 1.250000
[…]

That is: a group code, followed by some string values. Notice that the (limited) typing facilities mentioned in the spec are not used, but the application relies on its own peculiar parsing. The same group code appears in the head of the document as an APPID:

[…]
  0
APPID
  2
MY_DATA
 70
     0
  0
[…]

Proposed:

I suggest, that QCAD uses APPIDs to group extended data. Otherwise data loss may occur. In order to not have to maintain a table of known APPIDs, that tells how to parse their extended data, I further suggest that QCAD not expect extended data to follow a “key value” pattern but an “APPID entries” pattern. Here too data would be lost, if there was an odd number of entries in the extended table and QCAD insisted on its own approach.

Within the specs, deep trees could be constructed with the use of the control string (code 1002, { and }), and the propertyEditor would become a nightmare;) So I propose, that QCAD might parse only extended data with its own APPID in key value pairs, and data with other APPIDs as just an ordered list of entries. (In ECMAscript an array will have to be used, as object properties do not keep sequence.)

 116 QCAD (main)Feature RequestLow Show polyline area in property editor Closed
100%
2 Task Description

Show area of closed polyline, hatch, solid fill in property editor.

 115 QCAD (main)Bug ReportLow DiningTable.js: segfault in RMathLineEdit::isValid() Closed
100%
Task Description
  1. drag-n-drop script “DiningTable” to the drawing, place it somewhere
  2. right-click to finish the action
  3. drag-n-drop script “DiningTable” to the drawing again
Thread [1] 29561 (Suspended : Signal : SIGSEGV:Segmentation fault)	
	RMathLineEdit::isValid() at RMathLineEdit.h:44 0x8a011a9	
	REcmaMathLineEdit::isValid() at REcmaMathLineEdit.cpp:599 0x8a0021a	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xa8b06222	
	0xb6a44262	
	0xb6a466c9	
	0xb6a8db4a	
	0xa6d36360	
	0xb6a423e3	
	0xb6af06e0	
	0xb6ac201e	
	QScriptValue::call() at 0xb6bd2e67	
	REcmaShellActionAdapter::beginEvent() at REcmaShellActionAdapter.cpp:149 0x8bbd222	
	RDocumentInterface::setCurrentAction() at RDocumentInterface.cpp:287 0x8e0906a	
	RScriptHandlerEcma::createActionDocumentLevel() at RScriptHandlerEcma.cpp:780 0x876bd16	
	RGuiAction::slotTrigger() at RGuiAction.cpp:598 0x8e25bd7	
	RGuiAction::qt_metacall() at moc_RGuiAction.cpp:86 0x8e6ee19	
	QMetaObject::metacall() at 0xb5478c83	
	0xb6bec907	
	0xb6beeacb	
	0xb6beee01	
	0xb6ac1f68	
	0xb6a9164c	
	0xa8ce78ee	
	0xb6a423e3	
	0xb6af06e0	
	0xb6ac201e	
	0xb6be0cd3	
	0xb6be11a9	
	QMetaObject::metacall() at 0xb5478c83	
	QMetaObject::activate() at 0xb5489134	
	RGraphicsViewQt::drop() at moc_RGraphicsViewQt.cpp:107 0x8d34d2e	
	RGraphicsViewQt::dropEvent() at RGraphicsViewQt.cpp:997 0x8d28698	
	QWidget::event() at 0xb58daaf6	
	RGraphicsViewQt::event() at RGraphicsViewQt.cpp:808 0x8d27dec	
	QApplicationPrivate::notify_helper() at 0xb5871d7c	
	QApplication::notify() at 0xb58777e4	
	QCoreApplication::notifyInternal() at 0xb547215b	
	0xb5914a25	
	0xb59158fc	
	0xb5918c07	
	QCoreApplicationPrivate::sendThroughApplicationEventFilters() at 0xb54724ea	
	QApplicationPrivate::notify_helper() at 0xb5871cf3	
	QApplication::notify() at 0xb58772c4	
	QCoreApplication::notifyInternal() at 0xb547215b	
	QApplicationPrivate::sendMouseEvent() at 0xb5875152	
	0xb59066b5	
	QApplication::x11ProcessEvent() at 0xb5905d26	
	0xb5932f04	
	g_main_context_dispatch() at 0xb4af3509	
	0xb4af3d10	
	g_main_context_iteration() at 0xb4af3fce	
	QEventDispatcherGlib::processEvents() at 0xb54a2741	
	0xb5932a55	
	QEventLoop::processEvents() at 0xb547131d	
	QEventLoop::exec() at 0xb54715aa	
	0xb5918897	
	QDrag::exec() at 0xb5889fed	
	QDrag::exec() at 0xb588a084	
	qtscript_QDrag_prototype_call() at 0xafe620df	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xaa905c4b	
	0xb6a423e3	
	0xb6af06e0	
	0xb6ac201e	
	QScriptValue::call() at 0xb6bd2e67	
	REcmaShellListView::mouseMoveEvent() at REcmaShellListView.cpp:337 0x8c0bd06	
	QWidget::event() at 0xb58da661	
	QFrame::event() at 0xb5d0c663	
	QAbstractScrollArea::viewportEvent() at 0xb5dabe02	
	QAbstractItemView::viewportEvent() at 0xb5e65d65	
	0xb5dae235	
	QCoreApplicationPrivate::sendThroughObjectEventFilters() at 0xb54725a1	
	QApplicationPrivate::notify_helper() at 0xb5871d53	
	QApplication::notify() at 0xb58772c4	
	QCoreApplication::notifyInternal() at 0xb547215b	
	QApplicationPrivate::sendMouseEvent() at 0xb5875152	
	0xb59066b5	
	QApplication::x11ProcessEvent() at 0xb5905d26	
	0xb5932f04	
	g_main_context_dispatch() at 0xb4af3509	
	0xb4af3d10	
	g_main_context_iteration() at 0xb4af3fce	
	QEventDispatcherGlib::processEvents() at 0xb54a2741	
	0xb5932a55	
	QEventLoop::processEvents() at 0xb547131d	
	QEventLoop::exec() at 0xb54715aa	
	QCoreApplication::exec() at 0xb5473701	
	qtscript_QCoreApplication_static_call() at 0xb0a9c4b7	
	0xb6bd813c	
	0xb6ac1f68	
	0xb6a9164c	
	0xb09fe9e9	
	0xb6a44262	
	0xb6a445f7	
	0xb6bb0f92	
	QScriptEngine::evaluate() at 0xb6bba46f	
	RScriptHandlerEcma::doScript() at RScriptHandlerEcma.cpp:683 0x876b4de	
	RScriptHandler::init() at RScriptHandler.cpp:31 0x8e512fe	
	main() at main.cpp:152 0x876585e	
 114 QCAD (main)TaskLow Create QCAD Cheat Sheet Closed
100%
Task Description

Cheat Sheet which lists all QCAD tools with icon, key code and explanation

Possibly two versions for Windows / Linux and Mac

 113 QCAD (main)Bug ReportLow Print Preview: page tags Closed
100%
Task Description

page tags / page IDs never shown

 112 QCAD (main)Performance IssueLow Slow startup because of Library Browser Closed
100%
Task Description
  • initial start (no library browser DB present)
  • Linux vostro 2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux
  • DWG / DXF files: 79
  • SVG files: 684
  • RDF files: 729
real    1m37.298s
user    1m35.101s
sys     0m0.806s
 111 QCAD (main)Feature RequestLow Switch for line width display Closed
100%
Task Description

Switch on / off line width display (display mode between normal and draft)

 110 QCAD (main)Bug ReportLow Block list: blocks disappear when showing hatch dialog Closed
100%
Task Description

Block list: blocks disappear when showing hatch dialog

 109 QCAD (main)Bug ReportLow Crash when start in Ubuntu 11.04 x64 Closed
100%
Task Description

Hi, when strat Qcad3 first time and close the info window, the software crash. I copy the command line:

$ '/home/gabriel/Descargas/qcad-3.0.0-tp1-prof-linux/qcad' 
/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: clase ELF errónea: ELFCLASS64

(<unknown>:3211): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so

/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: clase ELF errónea: ELFCLASS64

(<unknown>:3211): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so


(<unknown>:3211): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: clase ELF errónea: ELFCLASS64

(<unknown>:3211): Gtk-WARNING **: Loading IM context type 'ibus' failed

(<unknown>:3211): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: clase ELF errónea: ELFCLASS64

(<unknown>:3211): Gtk-WARNING **: Loading IM context type 'ibus' failed
/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: clase ELF errónea: ELFCLASS64

(<unknown>:3211): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so

/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: clase ELF errónea: ELFCLASS64

(<unknown>:3211): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so


(<unknown>:3211): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: clase ELF errónea: ELFCLASS64

(<unknown>:3211): Gtk-WARNING **: Loading IM context type 'ibus' failed
CWD set to:  "/home/gabriel/Descargas/qcad-3.0.0-tp1-prof-linux" 
library path:  "/home/gabriel/Descargas/qcad-3.0.0-tp1-prof-linux/plugins" 
Debug:    Init script plugins... 
Warning:  MDI child is NULL 
Warning:  MDI child is NULL 
Warning:  RGuiAction::getByScriptFile: no action found: "scripts/Snap/Coordinate/Coordinate.js" 
Debug:    Hatch.init 
Debug:    Text.init 
Debug:    TIMER:  1492 ms -  "loading and initializing plugins" 
Warning:  RScriptHandlerEcma::doScript: engine busy: aborting evaluation of script: 

 "scripts/File/New/New.js" 

 
Warning:  QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Debug:    Creating storage... 
Debug:    Creating spatial index... 
Debug:    Creating document... 
Debug:    Creating MDI child... 
Debug:    Initialize Viewports... 
Debug:    Init graphics view... 
Debug:    Init scrollbars... 
Debug:    Init rulers... 
Debug:    Init idle and default actions... 
Debug:    Show MDI child... 
Debug:    Init event handler... 
Debug:    Setting auto snap... 
Warning:  QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Warning:  QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
/usr/lib/gio/modules/libgiobamf.so: clase ELF errónea: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgiobamf.so
/usr/lib/gio/modules/libgvfsdbus.so: clase ELF errónea: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

(<unknown>:3211): Gtk-WARNING **: Error loading theme icon 'window-close' for stock: No se ha podido cargar el módulo de carga de imágenes: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: clase ELF errónea: ELFCLASS64

(<unknown>:3211): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

** (<unknown>:3211): CRITICAL **: murrine_style_draw_render_icon: assertion `base_pixbuf != NULL' failed

(<unknown>:3211): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed

(<unknown>:3211): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(<unknown>:3211): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(<unknown>:3211): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
Segmentation fault
gabriel@gabriel-Studio-1558:~/Descargas/qcad-3.0.0-tp1-prof-linux$ '/home/gabriel/Descargas/qcad-3.0.0-tp1-prof-linux/qcad' 
/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: clase ELF errónea: ELFCLASS64

(<unknown>:3380): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so

/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: clase ELF errónea: ELFCLASS64

(<unknown>:3380): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so


(<unknown>:3380): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: clase ELF errónea: ELFCLASS64

(<unknown>:3380): Gtk-WARNING **: Loading IM context type 'ibus' failed

(<unknown>:3380): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: clase ELF errónea: ELFCLASS64

(<unknown>:3380): Gtk-WARNING **: Loading IM context type 'ibus' failed
/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: clase ELF errónea: ELFCLASS64

(<unknown>:3380): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so

/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: clase ELF errónea: ELFCLASS64

(<unknown>:3380): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so


(<unknown>:3380): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: clase ELF errónea: ELFCLASS64

(<unknown>:3380): Gtk-WARNING **: Loading IM context type 'ibus' failed
CWD set to:  "/home/gabriel/Descargas/qcad-3.0.0-tp1-prof-linux" 
library path:  "/home/gabriel/Descargas/qcad-3.0.0-tp1-prof-linux/plugins" 
Debug:    Init script plugins... 
Warning:  MDI child is NULL 
Warning:  MDI child is NULL 
Warning:  RGuiAction::getByScriptFile: no action found: "scripts/Snap/Coordinate/Coordinate.js" 
Debug:    Hatch.init 
Debug:    Text.init 
Debug:    TIMER:  1520 ms -  "loading and initializing plugins" 
Warning:  RScriptHandlerEcma::doScript: engine busy: aborting evaluation of script: 

 "scripts/File/New/New.js" 

 
Warning:  QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Debug:    Creating storage... 
Debug:    Creating spatial index... 
Debug:    Creating document... 
Debug:    Creating MDI child... 
Debug:    Initialize Viewports... 
Debug:    Init graphics view... 
Debug:    Init scrollbars... 
Debug:    Init rulers... 
Debug:    Init idle and default actions... 
Debug:    Show MDI child... 
Debug:    Init event handler... 
Debug:    Setting auto snap... 
Warning:  QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Warning:  QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
/usr/lib/gio/modules/libgiobamf.so: clase ELF errónea: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgiobamf.so
/usr/lib/gio/modules/libgvfsdbus.so: clase ELF errónea: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

(<unknown>:3380): Gtk-WARNING **: Error loading theme icon 'window-close' for stock: No se ha podido cargar el módulo de carga de imágenes: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: clase ELF errónea: ELFCLASS64

(<unknown>:3380): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

** (<unknown>:3380): CRITICAL **: murrine_style_draw_render_icon: assertion `base_pixbuf != NULL' failed

(<unknown>:3380): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed

(<unknown>:3380): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(<unknown>:3380): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(<unknown>:3380): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
Segmentation fault
 108 QCAD (main)Feature RequestLow Library Browser keywords, tags, improvments Closed
100%
Task Description

Sample RDF File

'1.0'
<!-- copyright 2010 by RibbonSoft GmbH -->
"http://www.w3.org/1999/02/22-rdf-syntax-ns#""http://www.ribbonsoft.com/rdf/library"
  "Public Domain"
 
      "en""Bike"
      "de""Fahrrad"
 
 
 
        "http://www.clker.com"
 
 
 
 
        "Giant"
        "MTB 327"
        "en_US"
 
      "en"
        "bike"
        "vehicle"
        "outline"
        "architecture"
 
      "de"
        "fahrrad"
        "zweirad"
 
      "de_CH"
        "velo"
 
 
 
 

Open

Postponed

  • To discuss: Save the license as tag instead of a special field. Pure tag searching is awesome fast. The more special cases that have to be handled different, the slower the search. License tags are quite unique. If something is tagged with “GNU”, it is very likely that the license is meant (expect for the animal named gnu). Same for BSD, Public Domain and CC licenses.

Done

  • Mark (gray out) tags that are not available anymore due to the already chosen tags.
  • Handle double click / rename
    • if a RDF is present, change the item title
    • if no RDF is present, add a new RDF and set the the title there
  • Edit Meta Data dialog
    • add title (both dialog and newly created RDF files)
  • Stemmer: Stemming is usually done at the indexing stage.
    • additional field in table keywords (type: 0=word, 1=stem)
    • don’t show stems in completer and tags lists
  • Provide “radio button” tags, e.g. “license” or “modification time” cannot have more than one selection.
  • rebuild (clear) library browser DB on start if language was changed
  • Provide meta information for directories
    • The idea: One can have a directory and assign the author “Donald”. Every item in this directory will have assigned the author “Donald” automatically.
    • This is all RDF based, not editable by the user other than by editing the RDF file.
    • Problems
      • How can that be shown to the user? E.g. someone tags a directory called “architecture” by mistake with “mechanical”. Every item in this directory will now be found for “mechanical”, and will confuse the user.
        • → not shown to the user
      • Author and license could be overridden (if wanted) be setting them in a item. But what about tags? Tags actually just can be added, not replaced. It that comprehensible for the user?
        • → tags that are set on the directory level apply to all items in that directory
    • Stored in a directory named “_META”.
    • Inside “_META”, there’s the RDF file called “meta.rdf”.
    • Let’s keep this simple:
      • When an item’s RDF is parsed, the RDF of the directory is parsed first, then that data is replaced / extended by the item’s RDF. This way we only have to change things in one place (RDF parsing). DB, queries, etc. remain the same.
  • the quick info (shown on item mouse over) should show additional information
    • the license
    • the author
  • GUI changes according to the attached file
    • every tab should have its own list view (based on RListView) / model / splitter
    • RListView, LibraryBrowserView: use signal / slots mechanism instead of inheritance

Automatic Translation

Tags

  • RDF: add title
    • add item title and use it instead of the file name (avoids “bear01”)
  • add item locale
  • add authors as tag
  • add license as tag
  • perspectives (top, side, front)
  • make it possible to easily combine common tags, e.g. “DIN-912”, “top viewing direction”, “high level of details”
    • Tags are searched with exact match (in opposite to the “normal” keyword search, which is “*keyword*”).
    • Drawings have additional tags to match this exact search, e.g. a drawing with the tag “DIN-912” has also the tag “DIN” assigned. These additional tags are made programmatically while parsing the RDF.
    • [old] This could be achieved by defining some standardized tags with a special meaning, e.g. viewing direction “view:top”, “view:front”, “view:side”; level of detail “lod:low”, “lod:medium”, “lod:high”. The user interface could show these special tags as filters for the current view or search view.
    • see also http://www.chefkoch.de/rezepte/ for an interesting approach to the problem

Favorites

  • favorites (saved in .ini file as list of paths)

Table "keyword"

COLUMN_NAME	TYPE_NAME	
id	        INTEGER	
text	        VARCHAR	
locale_id       INTEGER

Table "locale"

COLUMN_NAME	TYPE_NAME
id	        INTEGER
text	        VARCHAR
  • “locale independent”, always included in search

Filename based Keywords

  • filter filename
    • replace ‘_’ with " "
    • replace ‘-’ with " " leave “-”
    • replace numbers [0-9] with “”
 107 QCAD (main)Bug ReportLow Layer names should be case insensitive Closed
100%
Task Description

Layer names should be case insensitive

 106 QCAD (main)Bug ReportLow DWG file loaded incorrect Closed
100%
Task Description

QCAD drawing dump:

RDocument("ba3bc58", RStorage("bb7aa28", 
current block ID: 22
current layer ID: 21
current view ID: -1
drawing unit: 0
bounding box: RBox(RVector(invalid)  -  RVector(invalid) )  
 RLayer(RObject(id: 21, document: "0xba3bc58", address: "0xbc2dbb0", undone: 0), name: "0", color: RColor(RGBA: 0, 255, 0, 255) , lineweight:  -3 , linetype:  2 )  
 RBlock(RObject(id: 22, document: "0xba3bc58", address: "0xbb45d10", undone: 0), name: "*Model_Space", origin: RVector(0, 0, 0) ) 
 RBlock(RObject(id: 23, document: "0xba3bc58", address: "0xbb442c0", undone: 0), name: "*MODEL_SPACE", origin: RVector(0, 0, 0) ) 
 RBlock(RObject(id: 24, document: "0xba3bc58", address: "0xbc2dc00", undone: 0), name: "*PAPER_SPACE", origin: RVector(0, 0, 0) ) 
 lastTransactionId: -1
variables: 
	"PageSettings/Scale": QVariant(QString, "1:1") 
 Known variables (DWG): 
...

 ) RSpatialIndex()  

 105 QCAD (main)Bug ReportHigh Undo after line end point drag'n'drop operation Closed
100%
Task Description

Undo undoes end point movement and angle change (angle property should be ignored in undo/redo operations).

 104 QCAD (main)Bug ReportLow Property Editor: entity type filter not applied to colo ...Closed
100%
Task Description

Entity filter is not applied to combo box type properties.

 103 ECMAScriptFeature RequestLow Runtime reload script Closed
100%
Task Description

As of TP1, a script once loaded into the runtime, does reflect changes to the file it was loaded from only after a restart of the whole of QCAD. This adds a considerable time overhead to developing scripts. Therefore I want to suggest a reload mechanism, that works kind of like the one known from a web browser.

As there is no clear separation between users custom scripts and ribbonsoft supplied scripts, checking the modification time for every access to any script might prove a performance hit.

Possibly a user script can be written, to invalidate another certain script and have the runtime reload it from file? I could add that to my menu.

Or as some magic, that can be written to “MyAction.init()”?

 102 QCAD (main)Bug ReportLow View Closed
100%
Task Description

View–>Edit View or Pick View Crash!!

 101 QCAD (main)Bug ReportLow Export to PDF Closed
100%
Task Description

1)Click Print Preview
2)Click Export to PDF 3)Crash!!!

 100 QCAD (main)Bug ReportLow Library Browser Search Closed
100%
Task Description

Search does not work for all items (e.g. ‘moose’ (no results), ‘man’ (does not find man.svg))

 99 QCAD (main)Bug ReportLow Library Browser exception Closed
100%
Task Description

Probably just a missing var modTimeTo; ?

Uncaught exception at /users/andrew/data/RibbonSoft/projects/QCAD3/trunk/scripts/Widgets/LibraryBrowser/LibraryBrowser.js:674: ReferenceError: Can't find variable: modTimeTo
674	            kwIds, fileTypes, author, license, modTimeFrom, modTimeTo, offset, limit);
 98 QCAD (main)Bug ReportLow Load/Save Templates Closed
100%
Task Description

Edit–>Application_Preferences–>Load/Save–>Templates: Click in add button....Crash

 97 QCAD (main)Bug ReportHigh qcad 3TP1 does not run in winXp SP2 Closed
100%
Task Description

Sir, I have downloaded the windows version as well as the ubuntu version. but unable to run the qcad 3. TP1 either in windows Xp sp-2 and in Ubuntu 10.04.

In windows xp sp-2, i have unzipped the file to D:\qcad-3.0.0-tp1-prof-win32 and on running the qcad exe file it complains, “This application has failed to start because, MSVCR100D.dll was not found reinstalling the application may fix the problem” pl. let me know how to install the dll and to get the qcad running breeze.

by
rasheed

 96 QCAD (main)Feature RequestLow SVG Import Closed
100%
Task Description

Complete SvgImporter.js and SvgImport.js

  1. Implement SvgImporter.prototype.importFile to import the SVG file with the given fileName. Reading only all path data without any attributes or transformations is fine as a first step. SvgImporter.prototype.importFile() currently imports one hard coded path data as proof of concept.
  2. Implement SvgImport.prototype.beginEvent() to show a file open dialog that lets the user choose an SVG file to import.
  3. Support SVG as file format for part library items through SvgImporter

This should be enough to import any SVG file in library/symbols

 95 QCAD (main)Feature RequestLow Part Library: RDF Closed
100%
Task Description

Allow for multiple authors of one item.

This can be achieved by replacing the rs:author attribute of tag rdf:Description with:

 
 
    "John Doe"
    "Jane Doe"
 
 
 94 QCAD (main)Feature RequestVery Low Application window name Closed
100%
Task Description

It is common practice in MDI apps to use the title of the active tab for the main window. Right now this is always “QCAD”. It would be better if it reflected the name of the drawing in the currently active tab.

 93 QCAD (main)Feature RequestVery Low Per drawing Quick SVG Export settings Closed
100%
Task Description

A single drawing has an array of options regarding dimension font-size, printout-scale etc. It would be nice to also save Quick SVG Export settings, as can be specified in the Advanced Export Dialogue or in the Application Preferences Dialogue, with each drawing.

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

Available keyboard shortcuts

Tasklist

Task Details

Task Editing