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 Type  ascSeveritySummaryStatusProgress
 91 QCAD (main)Feature RequestLow linux start shell script enhancement Closed
100%
Task Description

The script in the application directory only works when called from within this directory like that “./qcad”. I suggest below alternative, that can be called from any place, as above and also with an absolute path, eg “/opt/qcad-3.0.0-tp1-prof-linux/qcad”:

#!/bin/sh

EXE=${0##*/}
DIR=${0%$EXE}
LD_LIBRARY_PATH=${DIR} ${DIR}/qcad-bin [email protected]


Can only post anonymously, Peter

 86 QCAD (main)Feature RequestLow Block arrays Closed
100%
Task Description

Support arrays of block inserts.

 69 TestsFeature RequestLow example file generator Closed
100%
Task Description

example file generator: adjust the print settings automatically, so the example file can be immediately printed to the chosen paper format / orientation without having to adjust the scale / offset

 62 QCAD (main)Feature RequestVery Low Context Menu "Change preferences" Closed
100%
Task Description

Provide context menu that shows “Change preferences”

  1. opens the preference dialog
  2. shows the appropriate page

E.g. for

  • library browser (to set library sources)
  • graphics view (to set colors)
  • ruler (to set drawing unit)
 55 QCAD (main)Feature RequestLow Testing Dashboard new tests, improvements Closed
100%
Task Description

New Tests

  • [done] modification tools
  • [skipped, see below] insert image tool
  • other tools that are not tested yet

Improvements

  • [done] add option: exclude this test from “play all”
  • add progress bar for play all tests

Stuff that couldn't be tested

  • SplitIntoEqualParts: apply tool is not done with the close button as in other tools but with a separate button (close means cancel here). if the slot “slotSplit” from the current action can be called programmatically somehow, the test can be fixed with a that code.
  • ZeroLengthDetection: ditto
  • Image: needs native file dialog to get image file name
 38 QCAD (main)Feature RequestVery Low Save / restore, export / import settings Closed
100%
Task Description

Inside the application preference dialog:

  • save settings (asks for a name)
  • restore settings (picked from a list that contains all so far saved settings and some presets)
  • export settings (to a file)
  • import settings (from a file)

Export / import could be useful for companies to synchronize settings.

 37 QCAD (main)Feature RequestMedium Generate Example Drawings Closed
100%
Task Description
  • a script would be great actually. then we can generate different drawings with different units / scales / paper settings
  • OdWriteEx from OpenDesign creates something similar: a bunch of rectangles, each with a text label and an entity inside, e.g. “Aligned Dimension” and below a rectangle with an aligned dimension inside
  • the example drawings should contain:
    • an instance of every supported entity type (line, arc, circle, all dimensions, block insert, text, hatch, solid fill, ...)
    • lines in all available widths
    • lines in all available types
    • lines in all available (fixed) colors and some custom colors
  • script should be able to generate example drawings for different:
    • units
    • drawing scales
    • paper sizes
    • paper settings (background color, multi page settings, etc.)
 30 TestsFeature RequestHigh UiTests: update required file Closed
100%
1 Task Description

add “update required file” to the context menu shown in the result window

  1. copy the actual file to the directory “required”
  2. run the test again
  3. test result should be “passed” now
 29 QCAD (main)Feature RequestVery Low Settings migration QCAD 2.x -> 3.0 Closed
100%
Task Description

Take over settings from old, already installed QCAD versions, if possible.

 27 TestsFeature RequestLow Dimension Tests Closed
100%
Task Description
  • add test for all kind of dimensions
 25 QCAD (main)Feature RequestMedium Autosave Closed
100%
Task Description

Autosave

Make interval configurable
Enable / disable
Path (?)

 24 WebsiteFeature RequestLow Website Tasks Closed
100%
Task Description

Open

Homepage

  • announce in forum
  • make developer’s corner, links to
    • RSFrameworkAPI Documentation
    • QCAD 3 Code Snippets ECMAScript (Google Docs)
    • QCAD 3 Developer Notes (Google Docs)
    • QCAD 3 Forum
  • change copyright year (still 2010)

Wikipedia

  • update QCAD site

Flyspray

  • mark version 3 TP1 as current version

Done

Homepage

  • add new forum category
 21 QCAD (main)Feature RequestLow Add line weight scale factor Closed
100%
Task Description

Required for extreme units such as Nanometers or Kilometers. See also FS#20

 19 QCAD (main)Feature RequestLow Drawing recovery in case file saving fails Closed
100%
Task Description
  1. before save: copy existing file (drawing.dxf) to temporary file, e.g. “drawing.bak”
  2. save()
    • no crash → remove recovery file
    • crash → file has size of 0 byte now
      1. restore recovery files on next start
for each file in recent files
  if file size == 0
    rename temporary file to actual file name
end
 14 QCAD (main)Feature RequestMedium File: Print Preview Closed
100%
Task Description

Open

  • re-enable auto fit
  • re-enable center

Postponed

  • option to not print empty pages

Done

  • PDF export
  • scale factor
  • position
  • paper size
  • paper orientation
  • toggle portrait / landscape in toolbar
  • choose paper format in toolbar
  • multiple pages with margin and stitch marks
  • zoom to all pages
  • color mode (color, gray scale, black white)
  • scale combo box in drawing preferences empty
 13 QCAD (main)Feature RequestHigh File: Close Closed
100%
Task Description

Ask if document modified

 12 QCAD (main)Feature RequestLow File Export Formats Closed
100%
Task Description

Open

Postponed

  • SQL
  • DGN
  • Google SketchUp
  • Canonical representation of DXF that would allow for meaningful diffs
  • XML representation of DXF

Not Planned

  • EMF/WMF (use SVG instead or use SVG to EMF converter)

Done

  • SVG
  • PDF
 11 QCAD (main)Feature RequestLow File: SVG Export Closed
100%
Task Description

Open

  • ExporterPG (preserve geometry)
    • Texts are exported as text tags, with ‘similar’ font
  • text
    • other formatting
      • exporter for presentation (based on paths): implemented
      • ExporterPG: TODO

Postponed

  • Global Preferences:
    • Number of generated segments for ellipses [postponed]
      • Problem: exported SVG files can be very large under certain circumstances
  • ExporterPG
    • Export layer information if possible / maybe group by layer [postponed]

Done

  • hatches
    • solid fill
    • pattern
  • text
    • line breaks
      • ExporterPG: Since line spacing is rendered differently in SVG, the used text space might be different, too.
    • position broken for some texts
 3 BookFeature RequestLow Automatically generate images for "CAD Introduction" Closed
100%
Task Description

QCAD introduction Book

  • automatically generate screen shots of book in desired language
  • don’t use absolute paths in URLs
  • SVN:set up a new version for QCAD3
    1. start dialog → PNG
    2. set PNG resolution
    3. set PNG non-alpha-channel format
  • languages en/de/es/fr
  • script: $ generate_book_images.sh [en|de|es|fr]
  • Try to switch on / off antialiasing to render text / circles (whichever prints better):
 

User Reference Manual

done

  • paste/doc/description.html:
<p>
			The paste command inserts
			the entities previously copied to the
			clipboard. Paste is
...
  • ReferenceManual.js:
    • insert description HTML file under section “description”
    • save HTML files in right folder → paste/doc/Paste_de.xhtml
    • merge all HTML files to a reference manual
      • /home/martin/workspace/rsframework/support/doc/manual/qcad_user_manual.qhp
  • Iterate through all actions:
var actions = RGuiAction.getActions()
  • generate high-res PNG for every SVG tool icon:
BiLibrary.createAndSaveButton(iconSvgFile, pngFile);
  • generate some basic HTML for every tool:
<h2>[Title]</h2>
<b>Toolbar:</b>
[icon]
<b>Menu:</b> [Top menu] - [Menu entry]
<b>Hotkey:</b> [two letter code or hotkey]
 2 QCAD (main)Feature RequestLow PDF Export Closed
100%
Task Description

Add PDF export from print preview.

2063QCAD (main)Performance IssueLowBad performance while zooming inside layout block with ...Assigned
0%
1 Task Description

Zooming in and out is lagging to the point of unusable. This is happening in a layout block with the cursor pointing inside geometry with hatches. When the cursor is pointing outside the geometry zooming works as expected.
The attached file has a very simplified testcase that shows this problem almost in the same way as a more complex drawing with multiple layers and hatches.

edit: I also attached the more complex drawing because it is a bit unclear to me where the lagging stops. Outside the viewport or outside the paper.

I just noticed the selection box has the same problem!

2021QCAD (main)Performance IssueVery LowCannot work with big dwg filesAssigned
0%
Task Description

Openning a big file or doing any action in it, takes minutes to load.
Even dragging the scrollbar slightly left or right, takes mintues to redraw the canvas again, which makes QCAD un-usable for professional use.
Is there a way to make QCAD usable, after loading completed:
- Like suppressing edit until user says so,
- or taking snapshots of rendered canvases to another file and use it, as windows uses thumb.db ( for negative latency :P )

PS: I wish I could help a bit, but my hand are tied. I am just a java freak, I am opt to any idea of porting it to java, if she is still alive.

Tuğalsan Karabacak
EEE, MSc Mobile Comp & App, IWE

 1984 QCAD (main)Performance IssueLow Block > Create Block from Selection: Slow for large num ...Closed
100%
Task Description

See also:
https://www.qcad.org/rsforum/viewtopic.php?f=33&t=6672

 1970 QCAD/CAMPerformance IssueMedium Drill Toolpath Workaround Closed
100%
Task Description

Hallo Andrew,

Fiddling with the drill-toolpath error, a solution seems to be to add the drill location as a ‘single point’ in the ‘source’ sublayer. I am using this as a Bug Work Around.

1801QCAD (main)Performance IssueLowlow perfomance in paper space and viewportsAssigned
0%
Task Description

Improving the performance of the exceptional use of the processors when switching from the model to the paper space (testing with the attached file) the functionalities of the commands for the viewports are too low in the paper space.

 1693 QCAD (main)Performance IssueLow Formatted text is not correctly displayed Closed
100%
1 Task Description

Texts justified and/or formatted in dxf or dwg files generated by Autocad not presented correctly when the file is opened by QCad, follow file for verification.

 1662 QCAD (main)Performance IssueLow Select > Select Contour: slow for complex drawings Closed
100%
Task Description

Hi!

when working with files containing many not connected elements (non-poly-line elements) a double click can cause a coffee-break easily. The search for connected entities easily takes over 5 minutes on an up to date machine ([email protected]) with files that are pretty standard in size (2 or 3 MB file size ascii dxf). Adding an interruption-method would be suitable (for example by pressing escape).

attached a file with a polyline of 13000 entities and a second file with just everything duplicated. When exploding the polyline and double clicking an element it takes quite a while until all elements are selected. (this is not an extreme example, I had sometimes 10 minutes of waiting with slightly bigger files, accidently double clicking something).

also an improved algorithm for the search would help to speed up the selection. (e.g. divide the area in smaller parts, do the search there, or an option to search only in the visible view port of the document)

Martin


 1610 QCAD/CAMPerformance IssueLow Switching from one drawing to another slow Closed
100%
Task Description

When switching from one drawing to another, the 3D view is updated which can be slow, especially for drawings with many text entities.

See also:
https://www.qcad.org/rsforum/viewtopic.php?f=89&t=4945

 1606 QCAD (main)Performance IssueLow Selecting 'Draw Order' halts system temporary Closed
100%
Task Description

Merely clicking on ‘Draw Order’, and usualy unintended, halts the system for several seconds up to several tens of seconds.

Intel(R) Core(TM) i7-2600K CPU @ 3.40Ghz
4,00 GB RAM installed 3,49 GB usable
32-bit Operating System
Windows 7 Professional SP1

 1497 QCAD (main)Performance IssueLow Autosnap: hangs with very complex splines Closed
100%
Task Description

Splines with hundreds of control points or fit points can cause hangs when using auto snap near them.

 1315 QCAD (main)Performance IssueLow Snap > Auto Snap: slow when snapping to complex polylin ...Closed
100%
Task Description

See also:
http://www.qcad.org/rsforum/viewtopic.php?f=33&t=3838

 1305 dxflibPerformance IssueLow Bottleneck in DL_Dxf::toReal caused by std::locale Closed
100%
Task Description

Loading any larger dxf file takes very long because of this line:
istr.imbue(std::locale(”C”));

The call to std::locale is very slow. File-loading can be speed up by approximately factor 5 times on my system when replacing it. I just removed that line and instead added the following in DL_Dxf::in so it is changed only once per file:

std::locale oldLocale = std::locale::global(std::locale(”C”)); // use dot in numbers
while (readDxfGroups(fp, creationInterface)) {}
std::locale::global(oldLocale);

 1123 QCAD (main)Performance IssueMedium Hatch in block causes performance problem Closed
100%
Task Description

Hatches in blocks cause poor performance while (auto-)snapping.
The lines that make up those hatches are included in the search for intersection points which is not desirable.

 1115 QCAD (main)Performance IssueLow Windows: slow file dialogs Closed
100%
Task Description

Windows 7 Professional 64bit SP1

File > Open shows empty dialog for 1 minute, then shows dialog contents.

 1052 QCAD (main)Performance IssueLow (Isometric) projection: poor preview performance Closed
100%
Task Description

Preview performance can be improved by projecting only once and then moving / pasting the projection.

 1029 QCAD (main)Performance IssueLow Selecting many entities: poor performance Closed
100%
1 Task Description

Selecting a great number of entities (>10000) can be slow, likely due to updating the property editor.

 914 QCAD (main)Performance IssueLow Invert selection: poor performance Closed
100%
Task Description

Inverting the current selection is significantly slower than select all, deselect all or other selection tools.

728QCAD (main)Performance IssueLowSlow loading of drawing with many block insertsAssigned
0%
1 Task Description

Slow loading of drawing with huge number of block inserts (more than 10000).

 673 BookPerformance IssueLow Library - Symbols Closed
100%
Task Description

Library - Architecture is showing only four (4) symbols:
“ffl, north, uparrow and winv”.
Is this correct?

Thanks in advance

Regards

Reinhard(RM)

 391 QCAD (main)Performance IssueLow Complex blocks: moving with drag and drop shows whole b ...Closed
100%
Task Description

Complex blocks: moving with drag and drop shows whole block as preview (slow)

 360 QCAD (main)Performance IssueLow Application Preferences - Shortcuts (slow) Closed
100%
Task Description

In the “Application Preferences”-menu a click on submenu “Shortcuts and Commands” freeze the application for a view minutes.

 288 QCAD (main)Performance IssueLow opening dwg file takes very long [improved] Closed
100%
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.

 244 QCAD (main)Performance IssueLow snap auto Closed
100%
Task Description

Snap defaults to auto. Auto snap gets slow in areas where there are many places it can snap to.

 233 QCAD (main)Performance IssueLow Slower selection / manipulation Closed
100%
Task Description

Slower selection / manipulation compared to QCAD 2.

 201 QCAD (main)Performance IssueLow unable to move/dock command line Closed
100%
Task Description

Cannot move/dock command line to right hand pane!

Regards

clive

 169 QCAD (main)Performance IssueLow Image preview slow Closed
100%
Task Description

Preview when inserting image slow

 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
 6 QCAD (main)Performance IssueMedium Auto snap near splines Closed
100%
Task Description

Move cursor near spline, e.g. when drawing line with auto snap active.

 2104 ECMAScriptRefactoringLow Dublicate functions in scripts/simple.js and scripts/li ...Closed
100%
Task Description

Both of these files (scripts/simple.js and scripts/library.js) contain a function named sleep() that duplicate each other. There is probably a need to delete one of them.

Permalinks to this definitions on Github:

 1056 QCAD (main)RefactoringVery Low Dead and wrong code in RSPlatform.cpp Closed
100%
Task Description

I am considering pushing the following diff:

--- a/src/core/RSPlatform.cpp
+++ b/src/core/RSPlatform.cpp
@@ -205,25 +205,6 @@ int RS::getCpuCores() {
     cores = sysinfo.dwNumberOfProcessors;
 #elif defined(Q_OS_UNIX)
     cores = sysconf( _SC_NPROCESSORS_ONLN );
-#elif defined (Q_OS_MAC) || defined (Q_OS_BSD4) || [...]
-    nt mib[4];
-    size_t len;
-
-    /* set the mib for hw.ncpu */
-    mib[0] = CTL_HW;
-    mib[1] = HW_AVAILCPU; // alternatively, try HW_NCPU;
-
-    /* get the number of CPUs from the system */
-    sysctl(mib, 2, &cores, &len, NULL, 0);
-
-    if (cores < 1) {
-        mib[1] = HW_NCPU;
-        sysctl( mib, 2, &cores, &len, NULL, 0 );
-    }
-#elif defined(Q_OS_HPUX)
-    cores = mpctl(MPC_GETNUMSPUS, NULL, NULL);
-#elif defined(Q_OS_IRIX)
-    cores = sysconf( _SC_NPROC_ONLN );
 #endif

(truncated list to manage size)

I see that most of this was put in there as a kind of a note-to-self originally, however _SC_NPROCESSORS_ONLN is implemented by every realistically possible targets anyway, so for all practical purposes, this is dead weight.

A couple of questions remain, though:

  • #ifdef Q_OS_WIN32 should probably be Q_OS_WIN, so as to include win64 as well.
  • Assuming the real purpose for this function is to determine how many parts a particular task is to be split into in the future, if and when QCAD gets the need to split expensive tasks among multiple CPUS, “core” probably shouldn’t be static - CPUs are hot-pluggable today, and while one probably doesn’t do that on a laptop, it’s not unfeasible in, say, a VDI environment.

Thoughts?

Showing tasks 2001 - 2050 of 2118 Page 41 of 43<<First - 39 - 40 - 41 - 42 - 43 -

Available keyboard shortcuts

Tasklist

Task Details

Task Editing