QCAD Bugtracker

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
  • Operating System Windows 7
  • Severity High
  • Priority Very Low
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by CVH - 15.01.2021
Last edited by Andrew - 15.01.2021

FS#2179 - The use of 'Edit Block In-place' corrupts other open files to restore on boot in debugger mode.

QCAD Professional
Win7 winInstaller 32bit
Version: (
Internet: QCAD.org
Build Date: Dec 16 2020
Revision: e06f230
Qt Version: 5.13.2
Architecture: i386
Compiler: Unknown

Include file was open when using ‘Edit Block In-place (BB)’ in an other drawing.
Happend on 5/1/2021 just before 2:56 am

‘Edit Block In-place (BB)’ is never used in this drawing.
There was never a Block in this file.
I might have switched focus.

Re-installed QCAD a dozen times meanwhile.
Wiped all what remained of QCAD twice.
Cleaned up the windows registry twice.
Lastly left out all kinds of my custom scripts.
Simply a bare install with the msi file.

How to replicate:
- Start QCAD in normal mode
- Load included file
- Set App.Prefs .. Startup .. Restore open files
- Close QCAD
- Start QCAD in debugger mode
(-rescan -enable-script-debugger -always-load-scripts)

Boot fails.
Every successive trial.

When booting in normal mode I see the BB options toolbar blink shortly.

3 Screengrabs in DebuggerModeError.zip in the same topic.
The blink I can’t catch.

I can Boot with no file to retore on open in debugger mode and load the file.
I have several of those files, all were open that day at 2:56 am


Closed by  Andrew
15.01.2021 12:05
Reason for closing:  Out of Scope
Additional comments about closing:  

Thanks. There are several problems in debugger mode caused by events not being triggered in the same order as they are sent. This is a known problem / effect of the Qt script debugger that cannot / will not be fixed on the the QCAD level.

CVH commented on 15.01.2021 12:43

That doesn't explain why this started on 5/1/2021 just before 2:56 am
and only for those files that were open at that time.

That doesn't explain why I see the Edit In-place option toolbar blink short with only those files in a restore on normal boot.

So, the advice is to redo those 17 files over new !?
Or all the files since 5/1/2021 ?
Without a single old one open !
I will be busy for a while.
I know, there is no guarantee.


Available keyboard shortcuts


Task Details

Task Editing