Comment 0 for bug 1782021

Revision history for this message
Christopher M. Rogers (cajhne) wrote :

In edit > preferences > Input/Output > Input Devices the Click/Drag Threshold is used to prevent accidentally moving an object during a selection action. However, Inkscape seems to also delay selecting the object until the click/drag threshold is reached. This means that if you have two overlapping objects and click and drag from the edge of one over the other, the second object gets selected instead of the one which was first clicked on.

To reproduce easily:
1. edit > preferences > Input/Output > Input Devices the Click/Drag Threshold = 20
2. draw two overlapping rectangles
3. start dragging less than 20px away from the edge of one onto the other rectangle.

Result: instead of activating the drag of the object which was clicked, it begins dragging the object which the cursor was over when it hi the 20px Click/Drag threshold.

Apart from being a bit annoying, it has some other unfortunate side effects:

1.When using the spacebar to clone an object in place, sometimes the default 4px distance is enough for the cursor to grab something nearby the duplicated object rather than the duplicate itself. The result is that the object is duplicated, but Inkscape selects and moves a different object rather than pulling along the duplicate, as it should. This happens a lot with text and other thin objects.
2. As mentioned before, sometimes the object clicked on to drag is not the object that is dragged. This is especially terrible in combination with Bug 1781898 : https://bugs.launchpad.net/inkscape/+bug/1781898

To fix: Inkscape should remember what object was clicked on initially, rather than waiting to choose it after the cursor has been moved 4px.

Additional: I also recommend that the click/drag threshold be set to 2px by default instead of 4px, as this seems to be enough to prevent errors from pen input devices (tested on Wacom tablet).

Inkscape ver:
0.92.0+devel+201807081751~ubuntu18.04.1