QCAD Bugtracker

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
  • Operating System Linux (All / Other)
  • Severity High
  • Priority Very Low
  • Reported Version 3.7.2
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by illarion kovalchuk - 10.12.2014
Last edited by Andrew - 10.12.2014

FS#1145 - Closing inactive tab of a modified drawing: drawing file name mixup

Steps to reproduce:

1. Create new drawing and fill it with some contents that’s easy to distinguish, for example text “DRAWING 1”.
2. Save it as dr1.dxf
3. Close it
4. Open dr1.dxf
5. Edit it, for example change text from “DRAWING 1” to “DRAWING 2” 6. Save changed file as dr2.dxf
7. Close it
8. Open dr1.dxf (it should have content “DRAWING 1”)
9. Open dr2.dxf (it should have content “DRAWING 2”)
10. Close tab dr1.dxf
10.1 Qcad will ask you to save changes.
10.2 Press “Yes” –> nothing happens, dialog doesn’t disappear.
10.3 Press “Discard” –> dialog disappears, tab gets closed
10.4 Tab that has content of file dr2.dxf (”DRAWING 2”) remains open but gets title “dr1.dxf” (!)
11. Close tab
12. Press “Yes” in dialog that asks to save changes

1. Open dr1.dxf
2. Open dr2.dxf
As you can see, both files have equal contents (”DRAWING 2”)

Expected results:

1. Files have their own contents.
2. Dialogs asking to save files disappear when checking “Yes”, “Cancel” or “Discard” 3. Tabs don’t change titles and associated file names when other tabs are closed.

Closed by  Andrew
10.12.2014 20:08
Reason for closing:  Fixed
Additional comments about closing:  

https://github.com/qcad/qcad/commit /3a171cde494b2d89b8a29ddfa8ca56b4d33bf0b 6

Andrew commented on 10.12.2014 19:28

Thanks for your report.

Can you please indicate if this is QCAD Professional or the free QCAD Community Edition?

Also, did you download a precompiled binary from our web site or compile it yourself?
In the latter case, what Qt version did you use?


illarion kovalchuk commented on 10.12.2014 19:32

This is community edition, I did neither download it from your site, nor compile. I've installed it with a package manager of my ArchLinux. Here's the details they
provide on a package: https://www.archlinux.org/packages/community/x86_64/qcad/

If it's needed I can do things like ldd or whatever on it.

Andrew commented on 10.12.2014 20:08

Thanks for the details. This has been fixed for the next release.

Workaround: Always activate tab before closing it.

illarion kovalchuk commented on 10.12.2014 20:29

Thank you very much! I've asked package maintainers to rebuild it.


Available keyboard shortcuts


Task Details

Task Editing