Problems with feature selection in TechDraw [0.19]

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
hikoka
Posts: 6
Joined: Fri Dec 20, 2019 3:19 am

Problems with feature selection in TechDraw [0.19]

Post by hikoka »

Hello all, I just switched over to the Freecad-daily PPA in LinuxMint 19.3 [Ubuntu 18.04]. The optimizations in the techdraw workbench have things running much faster. I have run into a problem however.

But first:
OS: Linux Mint 19.3 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

I seem to have having an issue figuring out how to select certain points and lines on the techdraw views after adding dimensions in the same area. For example: Do you see the 0.900" dimension below the 1.367" in the lower left of the page (upper left of 'Front' view)? I can't select the 0.900" dimension any more to drag it around. I can select it in the combo view, but not on the page.

Similarly, I can't select any points or lines on the left side of the same view. Anything I try and click or mouse-over just selects the 4.250" dimension instead. If I hide the dimension (or even all dimensions) parts of the drawing still remain un-selectable. Also the hole in the same view is now unselectable for a diameter callout. I can still click on the lower point, and the center-mark.

Basically it seems like after adding a dimension, large areas around it become un-selectable, even if the dimension is hidden. I tried 'toggle selectability' on a number of objects and couldn't determine that anything happened. I tried this on two different computers, same issue.

FCStd file and an svg of the drawing is attached.

Is this a bug or am I missing something obvious about how to use the TechDraw bench?
Attachments
body_drawing.svg
(201.31 KiB) Downloaded 28 times
Body2.1.FCStd
(307.78 KiB) Downloaded 40 times
user1234
Veteran
Posts: 3496
Joined: Mon Jul 11, 2016 5:08 pm

Re: Problems with feature selection in TechDraw [0.19]

Post by user1234 »

Hello!
Can confirm that. i have not used TechDraw for a while, but that behavior is not normal. i can not select a point. I also can not select a cross. It seems that the bounding box, or the radius for the selection, or both are increased.

Code: Select all

OS: Debian GNU/Linux 10 (buster) (X-Cinnamon/lightdm-xsession)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19181 (Git)
Build type: Release
Branch: master
Hash: 2504247d65271b937dd5f033a0efff9c0d7bf375
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.4.0
Locale: C/Default (C)
Sorry for my english.

br
user
Attachments
01.webm
(240.1 KiB) Downloaded 22 times
User avatar
wandererfan
Veteran
Posts: 6311
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Problems with feature selection in TechDraw [0.19]

Post by wandererfan »

hikoka wrote: Tue Jan 07, 2020 4:40 pm Is this a bug or am I missing something obvious about how to use the TechDraw bench?
Definitely a bug.

Looks like I broke it when fixing a problem with dimensions not being "unselected" when another object is selected (git commit 7e3197abe0 - about a week ago.
hikoka
Posts: 6
Joined: Fri Dec 20, 2019 3:19 am

Re: Problems with feature selection in TechDraw [0.19]

Post by hikoka »

Phew, ok, not just me going crazy then. I'll wait for a fix. Thanks wandererfan.
User avatar
wandererfan
Veteran
Posts: 6311
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Problems with feature selection in TechDraw [0.19]

Post by wandererfan »

Should be fixed after git commit b7190a8b50
user1234
Veteran
Posts: 3496
Joined: Mon Jul 11, 2016 5:08 pm

Re: Problems with feature selection in TechDraw [0.19]

Post by user1234 »

Hello!
wandererfan wrote: Wed Jan 08, 2020 8:10 pm Should be fixed after git commit b7190a8b50
Works! Thanks for the fast fix!

br
user
User avatar
wandererfan
Veteran
Posts: 6311
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Problems with feature selection in TechDraw [0.19]

Post by wandererfan »

user1234 wrote: Wed Jan 08, 2020 8:21 pm Works! Thanks for the fast fix!
And thank you for the fast test! :)
user1234
Veteran
Posts: 3496
Joined: Mon Jul 11, 2016 5:08 pm

Re: Problems with feature selection in TechDraw [0.19]

Post by user1234 »

wandererfan wrote: Wed Jan 08, 2020 8:39 pm And thank you for the fast test!
That is no comparison. Your work are much more complex and consumes more time. I tested this in 5min.

Greetings
user
hikoka
Posts: 6
Joined: Fri Dec 20, 2019 3:19 am

Re: Problems with feature selection in TechDraw [0.19]

Post by hikoka »

wandererfan wrote: Wed Jan 08, 2020 8:10 pm Should be fixed after git commit b7190a8b50
Would this have made it to the Daily build PPA from yesterday? I just upgraded this morning and the problem persists. Do I need to redraw the views in techdraw before the changes show up?
User avatar
wandererfan
Veteran
Posts: 6311
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Problems with feature selection in TechDraw [0.19]

Post by wandererfan »

hikoka wrote: Thu Jan 09, 2020 7:32 pm Would this have made it to the Daily build PPA from yesterday? I just upgraded this morning and the problem persists. Do I need to redraw the views in techdraw before the changes show up?
I'm not sure when the daily builds happen. Might have to wait one more day.

You should not have to do anything to your file.
Post Reply