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)


FS#1644 - Crash on hide all layers button / mixed layers of different files

Attached to Project: QCAD
Opened by Martin (unknown-error) - Monday, 23 October 2017, 00:50 GMT+1
Last edited by Andrew (andrew) - Monday, 23 October 2017, 11:57 GMT+1
Task Type Bug Report
Category QCAD (main)
Status Assigned
Assigned To Andrew (andrew)
Operating System Linux (All / Other)
Severity Low
Priority Normal
Reported Version 3.18.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No



it occorred to me now several times, that I have been working on 2 or more files simultaneously when suddenly on some operations layers from one file showed up in the other file. nothing was pasted when it happened just many files open, or few files with many layers in them. (about 100 layers, but sometimes also only 10 layers)
Today I disabled a single layer in one dxf (A) which caused all layers of the other dxf (B) to show up in the layer list (and the layers that should show up were all gone).

I knew this already from 2 more occurances and tried the best to undo all my changes in (A) before “emergency saving” (A). I closed one of the two dxf files (A), leaving one open (B). Everthing seemed pretty normal again. Then pressing the “hide all layers” button just crashed qcad without any message. That crash on “hide all layers” happened twice today). I can’t reproduce the crash right now, but will add details here when I find something. As far as I remember the bug occured already in qcad 3.17, but I’m now on 3.18.1

thanks :)

This task depends upon

Comment by Martin (unknown-error) - Monday, 23 October 2017, 01:49 GMT+1

I just noticed this is a duplicate / describing the same issue, just that the crash isn't reported by CVH:
FS#1637 - Buttons Layer List Widget acting on other open file

Comment by Andrew (andrew) - Monday, 23 October 2017, 09:16 GMT+1

Thanks for your report. Please indicate your platform and the exact package downloaded and installed. Thanks.

Comment by Martin (unknown-error) - Monday, 23 October 2017, 11:41 GMT+1

I'm using xubuntu (Ubuntu 16.04.3 LTS)
Version: (3.18.1)
Build Date: Oct 4 2017
Revision: 24e23aa
Qt Version: 5.8.0
Architecture: x86_64
Compiler: gcc 4.8.1

Comment by CVH (CVH) - Tuesday, 24 October 2017, 11:34 GMT+1

Indeed a crash can occur.

Win 7 pro
QCAD Version: (3.18.0)
–> and earlier ←-
Build Date: Sep 21 2017
Revision: 557c229
Qt Version: 5.5.1
Architecture: i386
Compiler: MSVC++ 10.0 (2010)

Comment by CVH (CVH) - Friday, 27 October 2017, 12:05 GMT+1

Similar error occured while editing the 'Layer Data' with multiple files open.
The Parent Layer list presented in the dropdown was the layertree of one of the other files in open state.
From thereof a crash is imminent.

Comment by Martin (unknown-error) - Friday, 17 November 2017, 14:15 GMT+1

additional info after an other crash occurred:

This time the 2 files I was editing were absolutely independent in names, paths, layer names. however previously I had many files open that shared file names and locations and also layer names, so that might still be a reason.
One File had over 100 Layers, the other File had just 3 Layers. First hiding and unhiding a layer in the 3-Layer document caused all layers of the 100-layer document to show up on the 3-layer document's layer list.

Comment by Ola (husesset) - Thursday, 30 November 2017, 14:43 GMT+1


Windows 7 64 bit

The above issue happens to me frequently. Working with multiple files, sometimes the layerlist presented is that of another file. Sometimes it crashes. Usually when I click show all layers in any file.

Best regards