|
1056 | QCAD (main) | Refactoring | Very Low | Dead and wrong code in RSPlatform.cpp | Closed | |
|
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?
|
|
2104 | ECMAScript | Refactoring | Low | Dublicate functions in scripts/simple.js and scripts/li ... | Closed | |
|
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:
|
|
6 | QCAD (main) | Performance Issue | Medium | Auto snap near splines | Closed | |
|
Task Description
Move cursor near spline, e.g. when drawing line with auto snap active.
|
|
112 | QCAD (main) | Performance Issue | Low | Slow startup because of Library Browser | Closed | |
|
Task Description
real 1m37.298s
user 1m35.101s
sys 0m0.806s
|
|
169 | QCAD (main) | Performance Issue | Low | Image preview slow | Closed | |
|
Task Description
Preview when inserting image slow
|
|
201 | QCAD (main) | Performance Issue | Low | unable to move/dock command line | Closed | |
|
Task Description
Cannot move/dock command line to right hand pane!
Regards
clive
|
|
233 | QCAD (main) | Performance Issue | Low | Slower selection / manipulation | Closed | |
|
Task Description
Slower selection / manipulation compared to QCAD 2.
|
|
244 | QCAD (main) | Performance Issue | Low | snap auto | Closed | |
|
Task Description
Snap defaults to auto. Auto snap gets slow in areas where there are many places it can snap to.
|
|
288 | QCAD (main) | Performance Issue | Low | 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.
|
|
360 | QCAD (main) | Performance Issue | Low | Application Preferences - Shortcuts (slow) | Closed | |
|
Task Description
In the “Application Preferences”-menu a click on submenu “Shortcuts and Commands” freeze the application for a view minutes.
|
|
391 | QCAD (main) | Performance Issue | Low | Complex blocks: moving with drag and drop shows whole b ... | Closed | |
|
Task Description
Complex blocks: moving with drag and drop shows whole block as preview (slow)
|
|
673 | Book | Performance Issue | Low | Library - Symbols | Closed | |
|
Task Description
Library - Architecture is showing only four (4) symbols: “ffl, north, uparrow and winv”. Is this correct?
Thanks in advance
Regards
Reinhard(RM)
|
|
914 | QCAD (main) | Performance Issue | Low | Invert selection: poor performance | Closed | |
|
Task Description
Inverting the current selection is significantly slower than select all, deselect all or other selection tools.
|
|
1029 | QCAD (main) | Performance Issue | Low | Selecting many entities: poor performance | Closed | |
|
Task Description
Selecting a great number of entities (>10000) can be slow, likely due to updating the property editor.
|
|
1052 | QCAD (main) | Performance Issue | Low | (Isometric) projection: poor preview performance | Closed | |
|
Task Description
Preview performance can be improved by projecting only once and then moving / pasting the projection.
|
|
1115 | QCAD (main) | Performance Issue | Low | Windows: slow file dialogs | Closed | |
|
Task Description
Windows 7 Professional 64bit SP1
File > Open shows empty dialog for 1 minute, then shows dialog contents.
|
|
1123 | QCAD (main) | Performance Issue | Medium | Hatch in block causes performance problem | Closed | |
|
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.
|
|
1305 | dxflib | Performance Issue | Low | Bottleneck in DL_Dxf::toReal caused by std::locale | Closed | |
|
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);
|
|
1315 | QCAD (main) | Performance Issue | Low | Snap > Auto Snap: slow when snapping to complex polylin ... | Closed | |
|
Task Description
See also: http://www.qcad.org/rsforum/viewtopic.php?f=33&t=3838
|
|
1497 | QCAD (main) | Performance Issue | Low | Autosnap: hangs with very complex splines | Closed | |
|
Task Description
Splines with hundreds of control points or fit points can cause hangs when using auto snap near them.
|
|
1606 | QCAD (main) | Performance Issue | Low | Selecting 'Draw Order' halts system temporary | Closed | |
|
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
|
|
1610 | QCAD/CAM | Performance Issue | Low | Switching from one drawing to another slow | Closed | |
|
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
|
|
1662 | QCAD (main) | Performance Issue | Low | Select > Select Contour: slow for complex drawings | Closed | |
|
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
|
|
1693 | QCAD (main) | Performance Issue | Low | Formatted text is not correctly displayed | Closed | |
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.
|
|
1970 | QCAD/CAM | Performance Issue | Medium | Drill Toolpath Workaround | Closed | |
|
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.
|
|
1984 | QCAD (main) | Performance Issue | Low | Block > Create Block from Selection: Slow for large num ... | Closed | |
|
Task Description
See also: https://www.qcad.org/rsforum/viewtopic.php?f=33&t=6672
|
|
2277 | QCAD (main) | Performance Issue | Low | Auto Trim (AX) slower with larger number of text entiti ... | Closed | |
|
Task Description
QCAD Professional Win7pro Win-Installer Version: 3.26.4.5 (3.26.4.5) Internet: QCAD.org Build Date: Jul 20 2021 Revision: e596276 Qt Version: 5.13.2 Architecture: i386 Compiler: Unknown
Trimming With AX slows down with many text entities. Seeing the same lagging with D2 on Circle entities.
Also seen on Windows 10 Pro 3.26.4.0 Forum topic: https://qcad.org/rsforum/viewtopic.php?t=8729
Attached files: TrimAuto_1.dxf ... 11 entities ... trimming instantaneous TrimAuto_2.dxf ... 11 entities + 1936 LINES ... rather instantaneous TrimAuto_3.dxf ... 11 entities + 1936 ARCS ... less than 1 second TrimAuto_4.dxf ... 11 entities + 121 TEXT ... over 3 or 4 seconds Slower for larger Arc / Circle
The questions here are: Should AX trim at text entities? Can this be optional?
Regards, CVH
|
|
2404 | QCAD (main) | Performance Issue | Low | Extreme Lag When Selecting Solid or Pattern Hatch | Closed | |
|
Task Description
Hi Andrew
I get Extreme Lag When Left Click and Selecting Solid or Pattern Hatch...
Please See Thread in Forum... https://qcad.org/rsforum/viewtopic.php?f=33&t=9588&p=38670#p38670
Screenshot & DXF Attached for your convenience ..
Version: 3.27.7.0 (3.27.7) Build Date: Sep 30 2022 Revision: 62d387f Qt Version: 5.14.2 Architecture: x86_64 Compiler: gcc 5.4.0
Cheers John
|
|
728 | QCAD (main) | Performance Issue | Low | Slow loading of drawing with many block inserts | Assigned | |
1 |
Task Description
Slow loading of drawing with huge number of block inserts (more than 10000).
|
|
1801 | QCAD (main) | Performance Issue | Low | low perfomance in paper space and viewports | Assigned | |
|
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.
|
|
2021 | QCAD (main) | Performance Issue | Very Low | Cannot work with big dwg files | Assigned | |
|
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
|
|
2063 | QCAD (main) | Performance Issue | Low | Bad performance while zooming inside layout block with ... | Assigned | |
2 |
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!
|
|
2 | QCAD (main) | Feature Request | Low | PDF Export | Closed | |
|
Task Description
Add PDF export from print preview.
|
|
3 | Book | Feature Request | Low | Automatically generate images for "CAD Introduction" | Closed | |
|
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
-
-
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
<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
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]
|
|
11 | QCAD (main) | Feature Request | Low | File: SVG Export | Closed | |
|
Task Description
Open
Postponed
Global Preferences:
ExporterPG
Done
|
|
12 | QCAD (main) | Feature Request | Low | File Export Formats | Closed | |
|
Task Description
Open
Postponed
Not Planned
EMF/WMF (use SVG instead or use SVG to EMF converter)
Done
|
|
13 | QCAD (main) | Feature Request | High | File: Close | Closed | |
|
Task Description
Ask if document modified
|
|
14 | QCAD (main) | Feature Request | Medium | File: Print Preview | Closed | |
|
Task Description
Open
re-enable auto fit
re-enable center
Postponed
Done
-
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
|
|
19 | QCAD (main) | Feature Request | Low | Drawing recovery in case file saving fails | Closed | |
|
Task Description
before save: copy existing file (drawing.dxf) to temporary file, e.g. “drawing.bak”
save()
for each file in recent files
if file size == 0
rename temporary file to actual file name
end
|
|
21 | QCAD (main) | Feature Request | Low | Add line weight scale factor | Closed | |
1 |
Task Description
Required for extreme units such as Nanometers or Kilometers. See also FS#20
|
|
24 | Website | Feature Request | Low | Website Tasks | Closed | |
|
Task Description
Open
Homepage
Wikipedia
Flyspray
Done
Homepage
|
|
25 | QCAD (main) | Feature Request | Medium | Autosave | Closed | |
|
Task Description
Autosave
Make interval configurable Enable / disable Path (?)
|
|
27 | Tests | Feature Request | Low | Dimension Tests | Closed | |
|
Task Description
|
|
29 | QCAD (main) | Feature Request | Very Low | Settings migration QCAD 2.x -> 3.0 | Closed | |
|
Task Description
Take over settings from old, already installed QCAD versions, if possible.
|
|
30 | Tests | Feature Request | High | UiTests: update required file | Closed | |
1 |
Task Description
add “update required file” to the context menu shown in the result window
copy the actual file to the directory “required”
run the test again
test result should be “passed” now
|
|
37 | QCAD (main) | Feature Request | Medium | Generate Example Drawings | Closed | |
|
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
|
|
38 | QCAD (main) | Feature Request | Very Low | Save / restore, export / import settings | Closed | |
|
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.
|
|
55 | QCAD (main) | Feature Request | Low | Testing Dashboard new tests, improvements | Closed | |
|
Task Description
New Tests
[done] modification tools
[skipped, see below] insert image tool
other tools that are not tested yet
Improvements
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
|
|
62 | QCAD (main) | Feature Request | Very Low | Context Menu "Change preferences" | Closed | |
|
Task Description
Provide context menu that shows “Change preferences”
opens the preference dialog
shows the appropriate page
E.g. for
library browser (to set library sources)
graphics view (to set colors)
ruler (to set drawing unit)
|
|
69 | Tests | Feature Request | Low | example file generator | Closed | |
|
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
|