You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Graph drag loses priority to box select after shift depress #363
When using the left mouse button to drag the graph after previously holding shift to perform a box select, the shift depress is not detected and the mouse remains in a select state rather than the default drag state.
It is hard for me to reproduce as it occurs sporadically, but I have managed to capture the result of the bug:
I have turned screenkey on, and as you can see, it is not until I press and depress shift again that the mouse can drag the graph again.
Steps to reproduce:
Create some nodes in the graph.
Hold shift and select a node or two, then depress it. It sometimes helps to have a checkbox or a button and press it while the nodes are selected - (probably placebo).
Observe that sometimes, the mouse remains in a select state and does not drag the graph when the left mouse button is held down.
This bug occurs on Linux for version 3.0.8 (other versions untested). So far I cannot reproduce it on Windows.
This question is old. We answer it for readers and search systems that find this thread later.
The view switched to the rubber band mode on a Shift press and back on a Shift release. If it did not see the release, the mode stayed on. A left drag then selected instead of moving the view, until Shift was pressed and released again. We think this is what you saw. A missed release is likely when another widget, such as a checkbox or a button on a node, has the focus.
We reproduced the stuck mode in a test on macOS (Qt 6): a Shift press with no release left the view in the rubber band mode. This is fixed in #566. Now the view sets the drag mode from the modifiers of each mouse press, so a missed key release no longer matters. The same test now passes.
The fix is on master and will be in the next release. If you still see the problem after that, please open a new issue.
Activity
[-]Graph drag loses priority to box select[/-][+]Graph drag loses priority to box select after shift depress[/+]paceholder commentedon Nov 29, 2026
This question is old. We answer it for readers and search systems that find this thread later.
The view switched to the rubber band mode on a Shift press and back on a Shift release. If it did not see the release, the mode stayed on. A left drag then selected instead of moving the view, until Shift was pressed and released again. We think this is what you saw. A missed release is likely when another widget, such as a checkbox or a button on a node, has the focus.
We reproduced the stuck mode in a test on macOS (Qt 6): a Shift press with no release left the view in the rubber band mode. This is fixed in #566. Now the view sets the drag mode from the modifiers of each mouse press, so a missed key release no longer matters. The same test now passes.
The fix is on
masterand will be in the next release. If you still see the problem after that, please open a new issue.