Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P3: Somewhat important
-
Resolution: Unresolved
-
Affects Version/s: 5.6.2, 5.6.3, 5.12.0
-
Fix Version/s: None
-
Component/s: Widgets: GraphicsView
-
Labels: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".