This project has moved and is read-only. For the latest updates, please go here.

Shape selection issue when shapes are grouped

Oct 13, 2014 at 12:18 PM
Hi

When shapes are grouped, Display.ShapesSelected event is fired multiple times even for shapes that are not in a selection.

Steps to reproduce:
  • Open NShape.Designer
  • Add three squares to the diagram (Square 1, Square 2, Square 3)
  • Select all shapes and group them
  • Open Event Montor, check to see Display events
  • Select Square 1, then Square 2, then Square 3. After selecting the last square you will see 4 events in the Event Monitor: 1x ShapeClick and 3x ShapeSelected.
I noticed that:
  • Number of events increases with each selection of the shape inside group.
  • If the shape in the group is selected and then deselected, the number of events is not increased.
I assume this is not the expected behavior?


Thanks,
Zvonko
Oct 16, 2014 at 8:22 AM
Hello Zvonko,

thank you for the feedback. Of course you are right - this is not the expected behavior. We will fix the bug with the next version.
In case you need a hotfix, please let me know.
Oct 16, 2014 at 8:48 AM
Thanks.

If the hotfix is not too complex, it would be great if you could share it.

Otherwise fix in next version will be ok.

Btw, what is the ETA for next version?
Oct 20, 2014 at 4:15 PM
Edited Oct 20, 2014 at 4:16 PM
For the next months, we have no free developer capacities for a new NShape version.
But I have updated the NShape SVN repository on GoogleCode so you can check out the current version there.