[FIXED] Possible bug, Unable to select drawing element if there is dimension line already present

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
babaroga
Posts: 180
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

[FIXED] Possible bug, Unable to select drawing element if there is dimension line already present

Post by babaroga »

Hello,

After your last commits from yesterday and today, something is broken.

If there is some dimension on drawing, I am unable to select Lines and points under it.

So, after placing dimensions, I am unable to select top left, bottom left and bottom right point and also left and bottom line.
Screenshot_20200727_131157.png
Screenshot_20200727_131157.png (10.54 KiB) Viewed 1232 times

It looks like dimensions are covering those elements. Anyone with same issue?

Code: Select all

OS: Manjaro Linux (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22143 (Git)
Build type: Release
Branch: master
Hash: 4dd32ce143b80b023df17656e1e24de90d59bfee
Python version: 3.8.3
Qt version: 5.15.0
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Attachments
Dim selection.FCStd
(24.91 KiB) Downloaded 35 times
Last edited by babaroga on Thu Jul 30, 2020 8:07 am, edited 1 time in total.
Syres
Veteran
Posts: 2902
Joined: Thu Aug 09, 2018 11:14 am

Re: Possible bug, Unable to select drawing element if there is dimension line already present

Post by Syres »

Confirmed using:

OS: Linux Mint 19.3 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22141 (Git)
Build type: Unknown
Branch: master
Hash: e727cd37548d7f38ea120670d2a28aba871a4aa1
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
User avatar
wandererfan
Veteran
Posts: 6326
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Possible bug, Unable to select drawing element if there is dimension line already present

Post by wandererfan »

babaroga wrote: Mon Jul 27, 2020 11:18 am After your last commits from yesterday and today, something is broken.
Looks like the selection area got bigger and includes the lines now. Only the text area is supposed to be sensitive to selection.

Interim workaround is to toggle visibility of the dimension, then make your selection.
User avatar
babaroga
Posts: 180
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

Re: Possible bug, Unable to select drawing element if there is dimension line already present

Post by babaroga »

Interesting, even if dimension is hidden, line or points are not selectable. This is same file from first post.

Screenshot_20200727_223703.png
Screenshot_20200727_223703.png (12.47 KiB) Viewed 1172 times

But, even more interesting is, when I unhide dimension, dimension line and extension lines are gone.

Screenshot_20200727_223752.png
Screenshot_20200727_223752.png (11.84 KiB) Viewed 1172 times
I have to hide it again and press refresh, and then unhide it to make lines visible.
User avatar
wandererfan
Veteran
Posts: 6326
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Possible bug, Unable to select drawing element if there is dimension line already present

Post by wandererfan »

babaroga wrote: Mon Jul 27, 2020 11:18 am After your last commits from yesterday and today, something is broken.
Should be fixed by git commit 980ecc87a3.
hikoka
Posts: 6
Joined: Fri Dec 20, 2019 3:19 am

Re: Possible bug, Unable to select drawing element if there is dimension line already present

Post by hikoka »

Can confirm. Had the issue yesterday on LM19.3, but all is well in the latest update. Thanks for the quick fix!
User avatar
babaroga
Posts: 180
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

Re: [FIXED] Possible bug, Unable to select drawing element if there is dimension line already present

Post by babaroga »

Thank you, it works again now.

@wandererfan I would vote you for president :)
Post Reply