Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.7.0
-
None
Description
QGraphicsScene::clearSelection removes items returning true in itemChange(ItemSelectedChange, value) from list of selected items (QGraphicsScene::selectedItems). This leaves scene in an inconsistent state, items are selected (isSelected()==true) but selectedItems is empty. Only items with isSelected()==false should be removed from selectedItems.
Appropriate test case is in the attachment.