[Solved]Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

QwiqDraw
Junior Member
Posts: 12
Joined: Wed Apr 27, 2022 12:54 am

[Solved]Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by QwiqDraw » Wed Apr 27, 2022 5:19 pm

I found this problem yesterday. If I make changes to a drawing, then close it before saving, using either the menu or command keys, the "Close Drawing" dialog box "Don't Save-Cancel-Save" will not close when I click Save. I believe it is saving the changes to the drawing, just not closing the dialog. If I click either "Don't Save" or "Cancel" after that, the box will close.

Hope this makes sense.

QCAD Version: 3.27.2.0 (3.27.2)
iMac Model Identifier: iMac19,1
Processor Name: 6-Core Intel Core i5
System Version: macOS 12.3.1 (21E258)
Kernel Version: Darwin 21.4.0

Thank you
Mark
Last edited by QwiqDraw on Sat Apr 30, 2022 3:58 am, edited 1 time in total.

QwiqDraw
Junior Member
Posts: 12
Joined: Wed Apr 27, 2022 12:54 am

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by QwiqDraw » Wed Apr 27, 2022 5:24 pm

I forgot to add to my original post that this only occurs in Paper Space. It works fine in Model Space.

Thanks
Mark

User avatar
ryancousins
Premier Member
Posts: 367
Joined: Thu Mar 19, 2020 3:47 am
Location: Michigan, USA

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by ryancousins » Wed Apr 27, 2022 5:53 pm

I can't seem to reproduce this issue. So after you hit the "save" button, the dialog box still remains? What about the main QCAD window?

When I close out a drawing that I've made a change to without first hitting save, the dialog box pops up asking if I want to save, and if I hit save, it closes both the dialog box and the main window.

I'm using 3.27.2 on Win10 Pro.

QwiqDraw
Junior Member
Posts: 12
Joined: Wed Apr 27, 2022 12:54 am

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by QwiqDraw » Wed Apr 27, 2022 7:03 pm

Yes, the dialog box will not close, remains on screen. Everything else seems normal, seems to have no effect on the main window.

You must be in Paper Space. If you are in Model Space, the dialog works as expected.

Perhaps it is a Mac issue?

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by Husky » Wed Apr 27, 2022 7:23 pm

This could be related to an other issue already addressed and fixed for the next update.
https://www.qcad.org/rsforum/viewtopic. ... 197#p37197
https://www.qcad.org/bugtracker/index.p ... sk_id=2355
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by andrew » Wed Apr 27, 2022 9:02 pm

I cannot reproduce this with 3.27.2.0 on macOS 12.3.1.
Could you please attach your drawing file? Thanks.

QwiqDraw
Junior Member
Posts: 12
Joined: Wed Apr 27, 2022 12:54 am

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by QwiqDraw » Wed Apr 27, 2022 10:18 pm

Here is the file.

I tried the same sequence on my other files and they exhibit the same issue. This was not an issue with the previous version of QCAD.

Thanks
Attachments
Test Viewport Issue-iMac.dxf
(98.98 KiB) Downloaded 248 times

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by andrew » Wed Apr 27, 2022 10:23 pm

Thanks.

Could you please indicate the exact procedure, step by step (which command key, which menu, what kind of modifications, …)? Every detail could be relevant. Thanks.

QwiqDraw
Junior Member
Posts: 12
Joined: Wed Apr 27, 2022 12:54 am

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by QwiqDraw » Wed Apr 27, 2022 10:50 pm

Open the file (in model space)
Go to Paper Space
Make a modification to drawing (modifications can be in model or paper space)
I must be in Paper Space to reproduce this.
Use Command key + W to close the drawing.
Click Save in the dialog box - nothing happens (I believe it is saving the change, the dialog box will not close)
Click either "Don't Save" or "Cancel", the dialog box will close.

If I use the Menu's: File-Close, before Saving the file, I get the same behavior.

If I Save the drawing, then close it, I get the expected save and closure of the file. Of course, this sequence does not bring up the dialog box.

Hope this helps.

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by Husky » Wed Apr 27, 2022 10:54 pm

Thinking about this ...
QwiqDraw wrote:
Wed Apr 27, 2022 5:19 pm
... the "Close Drawing" dialog box "Don't Save-Cancel-Save" will not close when I click Save. I believe it is saving the changes to the drawing, just not closing the dialog.
QwiqDraw wrote:
Wed Apr 27, 2022 10:50 pm
.
Click Save in the dialog box - nothing happens (I believe it is saving the change, the dialog box will not close)
Click either "Don't Save" or "Cancel", the dialog box will close.
If you experience this behavior you are sure there is only ONE drawing opened in QCAD? Why I mention this is because QCAD will ask you to save, cancel etc for every loaded drawing. The only changes in the dialog window would be a changed drawing file name ...
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

QwiqDraw
Junior Member
Posts: 12
Joined: Wed Apr 27, 2022 12:54 am

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by QwiqDraw » Wed Apr 27, 2022 11:16 pm

I did verify it happens with only one file open. Tried it again with the Test file with the same results.

I did verify that clicking Save does save the changes even though it is not closing the dialog (nor the file). Then when I click "Don't Save", the file closes. Upon opening, the changes I had made are preserved.

I don't believe I am doing anything different than I had been in the past.
Thanks

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by Husky » Wed Apr 27, 2022 11:52 pm

QwiqDraw wrote:
Wed Apr 27, 2022 11:16 pm
I did verify it happens with only one file open. Tried it again with the Test file with the same results.
Ok, thanks!

I can reproduce it (ish) on Win10/64. Drawing new entities in Paper_Space will change nothing but any manipulation (like moving etc.) on a viewport will leads to the described behavior.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by andrew » Thu Apr 28, 2022 7:03 am

Thanks for the file. I can reproduce the issue with this file but not with any other.

Bug report at:
https://www.qcad.org/bugtracker/index.p ... sk_id=2356

User avatar
ryancousins
Premier Member
Posts: 367
Joined: Thu Mar 19, 2020 3:47 am
Location: Michigan, USA

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by ryancousins » Thu Apr 28, 2022 12:32 pm

I realized I was not in paper space the first time I tried this. I just tried the same steps in paper space and I am having this same issue. Here were my steps:

Open QCAD 3.27.2
File>Save As - Save a DXF to my desktop
Go to Layout1
Draw a line from two points.
File>Close
"Closing Drawing..." dialog box pops up.
Click on "Save"
Dialog box does not go away.

Win10Pro

Andrew, I see you added a fix, but since you said you could only reproduce the issue with QwiqDraw's file, I thought I would share this.

Also, on a related note, if I open this file, immediately go to Layout1, then try to close, the "Closing Drawing" dialog box pops up, even if I have made no changes to the document besides opening it.
Attachments
test.dxf
(97.33 KiB) Downloaded 246 times

QwiqDraw
Junior Member
Posts: 12
Joined: Wed Apr 27, 2022 12:54 am

Re: Closing Drawing Dialog Box Hangs. Version: 3.27.2.0 (3.27.2)

Post by QwiqDraw » Thu Apr 28, 2022 5:17 pm

I tried this again with a new file in the QCAD directory. Wondering if it has something to do with the file location.

I get the same result. So location of the file does not change the behavior for me. I checked file formats that I have used. They range from R24 to R32.

Thanks

Post Reply

Return to “QCAD Troubleshooting and Problems”