Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.2
-
None
Description
The QGraphicsItem:: mousePressEvent function will ignore the event if the item is not movable. In the QGraphicsScenePrivate:: mousePressEventHandler, all ignore event items will be deleted, causing the selection status of multiple selected items to be cleared, and the right-click menu cannot select non movable items.
else if (!(flags() & ItemIsMovable))
The scene will clear the selected status of all immovable items