Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.6.2, 5.6.3, 5.12.0
-
None
Description
Checking qgraphicsview.cpp you can notice that lastMouseMoveScenePoint, used as anchor, is not updated during mouse move events if scene Interaction is disabled.
void QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent *event){ ... if (!sceneInteractionAllowed) return; ... lastMouseMoveScenePoint = mouseEvent.scenePos(); ... }
In my opinion, disabling scene interaction should not affect view functionality. I think it can be easily fixed moving the assignment before the "if".