Community
Participate
Working Groups
Since bug 438691, the selection from bottom-right corner to top-left corner is more used than before. But the start location is wrong. It is shifted from several pixels according to the mouse speed.
The problem is in RubberbandSelectionTool [1]. This class is a copy of RubberbandSelectionTool from GMF [2]. A corresponding GMF bug 453538 has been created. The code is not adapted to handle the case of a selection from bottom-right corner to top-left corner. [1] org.eclipse.sirius.ext.gmf.runtime.diagram.ui.tools.RubberbandSelectionTool [2] org.eclipse.gmf.runtime.diagram.ui.internal.tools.RubberbandSelectionTool
Review available here: https://git.eclipse.org/r/37445
Laurent, could you put some steps to reproduce more precise than the description which is more an analysis result. It will facilitate the homologation.
Steps to reproduce: 1-Start the selection just after the bottom-right corner of a node (click on the left button and keep it pushed) 2-Move quickly the mouse in the direction of the top-left corner of this node (keep the left button pushed) 3-Observe that the starting point of the marquee (selection rectangle in dotted line) is not really where you start the selection
Cloned as 454032 to backport the fix into Sirius 2.0.x.
Fixed with http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=6c5ae25e09f4eb77c5850f9a73f5951fe70959dc
Verified on Sirius 3.0.0M6
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.