Comment 6 for bug 1243408

Revision history for this message
su_v (suv-lp) wrote : Re: Intermittantly cannot de-select objects by clicking on the canvas

Steps to trigger the regression:

1) launch trunk (default prefs, default new doc)
2) draw a couple of objects
3) drag a selection frame around the objects
4) drag a small selection frame over an empty canvas area

Expected result:
With current stable and trunk rev <= 12585, the current selection is deselected

Actual result:
With trunk rev >= 12586, the current selection is not deselected, and can no longer be deselected with a single click on an empty canvas area.

I suspect that with an external mouse, it may happen (often unnoticed) that the click on an empty canvas area to deselect the current selection is actually a 'mini-drag' instead of a real click, which triggers this changed behavior.

AFAICT this regression was introduced with
Revision 12586: Make sure selection->setList checks for dupes by routing to selection->addList.
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/12586>