Bug - Box selection: groups being selected (0.18 final)

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
benjaminwharton
Posts: 46
Joined: Mon Feb 25, 2019 1:03 am

Bug - Box selection: groups being selected (0.18 final)

Post by benjaminwharton »

For some bizarre reason any groups in my project are being included when I do a box selection over a particular Draft Rectangle.

1. Press shift+b and create a box selection over the rectangle.
2. Notice how any groups in the project (you may add more and it will affect them too) get selected.

As a result, of course, any items in the selected groups are included in any operations that you perform on that selection.

Code: Select all

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
Attachments
box selection bug.FCStd
(3.69 KiB) Downloaded 33 times
Last edited by benjaminwharton on Tue Apr 30, 2019 2:24 pm, edited 1 time in total.
chrisb
Veteran
Posts: 54168
Joined: Tue Mar 17, 2015 9:14 am

Re: Box selection bug - groups being selected (0.18 final)

Post by chrisb »

Here only the group is selected, but not its contents.

OS: macOS 10.13
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16398 (Git)
Build type: Release
Branch: master
Hash: 847035cbd227d1f7554a494c3cfe5fa8942f2b7c
Python version: 3.7.3
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
benjaminwharton
Posts: 46
Joined: Mon Feb 25, 2019 1:03 am

Re: Box selection bug - groups being selected (0.18 final)

Post by benjaminwharton »

chrisb wrote: Fri Apr 19, 2019 5:43 pm Here only the group is selected, but not its contents.
I've done some experimenting and it seems that sometimes it selects everything (including the contents of the groups), and other times it only selects the groups. Either way, doing a copy paste of the selection will copy the contents of the groups even if not selected (which I believe is normal behaviour). The selection of all groups is of course not normal behaviour.
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Box selection bug - groups being selected (0.18 final)

Post by paullee »

Similar here...

FreeCAD_0.19.16207_Conda_Py3Qt5_glibc2.12-x86_64.AppImage
on Fedora 29
User avatar
benjaminwharton
Posts: 46
Joined: Mon Feb 25, 2019 1:03 am

Re: Box selection bug - groups being selected (0.18 final)

Post by benjaminwharton »

Trying to select the top group of lines in this project with a box selection and it's just selecting random crap like groups and page views. Makes it more or less useless.
Attachments
select.FCStd
(77.54 KiB) Downloaded 34 times
select.png
select.png (117.09 KiB) Viewed 929 times
chrisb
Veteran
Posts: 54168
Joined: Tue Mar 17, 2015 9:14 am

Re: Box selection bug - groups being selected (0.18 final)

Post by chrisb »

Did you ever try using Part containers instead of groups?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
benjaminwharton
Posts: 46
Joined: Mon Feb 25, 2019 1:03 am

Re: Box selection bug - groups being selected (0.18 final)

Post by benjaminwharton »

chrisb wrote: Mon Apr 29, 2019 9:54 pm Did you ever try using Part containers instead of groups?
I have but that doesn't help anything regarding this issue. :( Also, it is my understanding that part containers aren't that well supported.
Post Reply