Issue 1: nested_groups.png and nested_groups.FCStd
On the left the Group was selected. On the right the Circle was selected.
The selections are different, but if you invoke the Draft_Move command you will end up moving the same objects (all circles). So why is there this difference and when is it useful? On the left I would expect Group001 and Group002 to also be selected.
Issue 2: groups_and_layers.png and groups_and_layers.FCStd
Objects can occur multiple times in the Tree view. This will certainly be the case when layers are used. The command does not handle this situation well. In the image Line003 in Group was selected.
Issue 3: see Issue2
The command is called Draft_SelectGroup but also selects layers. If this is intended behavior the command name is confusing. Compare the Draft_AddToGroup command which does not work with layers (although it does, wrongly IMO, show the 'Layers' group).
Code: Select all
OS: Windows 8.1 (6.3)
Word size of FreeCAD: 64-bit
Version: 0.20.25220 (Git)
Build type: Release
Branch: master
Hash: 46282db7c8c65d1205a4cd03499d4beadb1573c6
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Dutch/Netherlands (nl_NL)