Community
Participate
Working Groups
Created attachment 272177 [details] SelectionProject.zip You can use a zone to select several elements as explained in Selection section of chapter https://www.eclipse.org/sirius/doc/user/diagrams/Diagrams.html#standardToolId. The ALT key is not described in this documentation but it allows to use the selection by a zone with a container under the initial location of the zone. This mode has not the same behavior as selection by a zone with the diagram under the initial location of the zone. There are 2 differences: * the border nodes are not selected * the 2 modes, "from left to right" and "from right to left", are not available. Steps to reproduce: * Import project Selection from SelectionProject.zip (data copied from /org.eclipse.sirius.tests.swtbot/data/unit/hiddenElements/VP-3473) * Open the diagram "New Diagram" * Draw a selection rectangle from "just before the top-left corner of p1" to "just after the bottom-right cordner of a1". * OK --> Only a1 is selected as it is the only element fully contained in the selection * Draw a selection rectangle from "just after the bottom-right corner of p1" to "just before the top-left cordner of a2". * OK --> p1, E2 and a2 are selected as they all intersect the selection * Press ALT key and draw rectangle from "just before the top-left corner of E1" to "just after the bottom-right cordner of a1" (the initial location of the selection zone is in the container p1). * KO --> Nothing is selected. a1 should be selected as it is fully contained in the selection * Press ALT key and draw rectangle from "just after the bottom-right corner of E2" to "just before the top-left cordner of a2" (the initial location of the selection zone is in the container p1). * KO --> Nothing is selected. E2 and a2 should be selected as they intersect the selection
New Gerrit change created: https://git.eclipse.org/r/115092
Gerrit change https://git.eclipse.org/r/115092 was merged to [v5.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ad818891becb7e08e5675368c018797a203a0075
Not present in 5.1.1-rc2 Rc3 is needed to validate this issue
Scenario fails with sirius 5.1.1.201801101401. If user press ALT key and draw rectangle from "just after the bottom-right corner of E2" to "just before the top-left cordner of a2", the container p1 should not be selected.
See Jessy's comment
New Gerrit change created: https://git.eclipse.org/r/115250
Gerrit change https://git.eclipse.org/r/115250 was merged to [v5.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=28af4597e801a15047fdebf559e2a2e0bbc2b604
Available in Sirius 5.1.1. See https://wiki.eclipse.org/Sirius/5.1.1 for details.