Page 1 of 1

100% cpu snap intersection

Posted: Wed Aug 21, 2013 2:50 pm
by archon
Hello,
I consider buying qcad pro, but first i wanted to try it out. I downloaded latest trial version 3.2.1 for linux 64bit. I am running slackware 14 64bit on lenovo notebook with amd Iliano apu. When I use autosnap (with snap intersection) or snap intersection alone with any tool, qcad freezes with 100% cpu use. Time needed for things to come back to normal is longer when there is more snap points around the pointer, but normally is about 5 to 10 seconds. I searched bug tracker but found nothing. What could be the problem? Thanks

Re: 100% cpu snap intersection

Posted: Wed Aug 21, 2013 2:54 pm
by andrew
Thanks for the report. Can you submit the drawing file for testing (you can attach it to your post or e-mail it to me if it is not for the general public). Thanks.

Re: 100% cpu snap intersection

Posted: Wed Aug 21, 2013 2:56 pm
by Clive
Hello archon and welcome to the forum.
Are you able to attach a file here on the forum which demonstrates this problem ?

Re: 100% cpu snap intersection

Posted: Wed Aug 21, 2013 3:45 pm
by archon
Here it is

edit:
I've made some testing with other drawing in dxf, house project, definately bigger one and the problem was present only on the signature on the bottom. So i thought about text and deleted all text (from the file I attached)- the problem is gone.

Re: 100% cpu snap intersection

Posted: Wed Aug 21, 2013 4:22 pm
by Clive
Yes I've just tested this and I confirm that it is a problem with the Text. For now turn off the layer text and the snap tools should work properly.

In my test as soon as I placed the text QCAD froze and I had to force a quit of the application!
Freeze when using Text.png
Freeze when using Text.png (11.77 KiB) Viewed 14402 times
Bug report added:
http://www.ribbonsoft.com/bugtracker/in ... ask_id=900

Re: 100% cpu snap intersection

Posted: Wed Aug 21, 2013 8:22 pm
by Clive
Good news :D I can report that Andrew has now fixed this (next update release):
https://github.com/qcad/qcad/commit/73c ... 576e6bc397

Re: 100% cpu snap intersection

Posted: Thu Aug 22, 2013 11:54 am
by Clive
This text problem has now been fixed with the latest QCAD 3.2.2 release, available from the downloads area :wink:

Re: 100% cpu snap intersection

Posted: Thu Aug 22, 2013 11:58 am
by andrew
clive: OK, thanks for confirming that.

Re: 100% cpu snap intersection

Posted: Thu Aug 22, 2013 12:08 pm
by Clive
Your welcome, yes I can confirm that for me the snap tools are working as expected both on my test case and archon's submitted drawing :wink: