Community
Participate
Working Groups
Created attachment 263261 [details] test project When the layouting mode is activated, all semantic modifications are forbidden so all drag and drop tools are deactivated. That means nodes (bordered or simple node) and containers cannot be places in other containers and nodes. The problem is that in this mode, the feedback during drag and drop has the visual saying moving a node into another container is authorized whereas it is not du to mode specification. When we try to drop a node in a container that is not his parent, then the node come back at his original place before dragging. So the feedback in this mode must be coherent with the moving specification in this mode. Step to reproduce : -Open the view "new diagram" -Drag any node into another container, the feedback will show you it will be possible. Release the mouse, the node will go back to its place before drag.
The envisaged solution is to show a forbidden feedback when a node is over a container different from its original parent container.
In fact, the retained solution is to allow bordered node movements only around its parent whatever the container behind the mouse is when dragging. This ease the moving around when container of the node is very close to another one.
New Gerrit change created: https://git.eclipse.org/r/77791
To test the resolution, the following steps must be taken : - Open the view "new diagram" - Drag & drop a bordered node in a node into another bordered node. The feedback must be visible only for the parent container of the dragged element.(495021 must be fixed) - Drag & drop a bordered node in a node into another node. The feedback must be visible only for the parent container of the dragged element. - Drag & drop a bordered node in a container into another container. The feedback must be visible only for the parent container of the dragged element. - Drag & drop a bordered node in another bordered node into another container. The feedback must be visible only for the parent container of the dragged element. - Drag & drop a bordered node in another bordered node in a container into another container. The feedback must be visible only for the parent container of the dragged element.
(In reply to Pierre Guilet from comment #4) > To test the resolution, the following steps must be taken : > > - Open the view "new diagram" > - Drag & drop a bordered node in a node into another bordered node. The > feedback must be visible only for the parent container of the dragged > element.(495021 must be fixed) > - Drag & drop a bordered node in a node into another node. The feedback must > be visible only for the parent container of the dragged element. > - Drag & drop a bordered node in a container into another container. The > feedback must be visible only for the parent container of the dragged > element. > - Drag & drop a bordered node in another bordered node into another > container. The feedback must be visible only for the parent container of the > dragged element. > - Drag & drop a bordered node in another bordered node in a container into > another container. The feedback must be visible only for the parent > container of the dragged element. To be more accurate the need is the following : - Drag & drop a bordered node into another bordered node in a node. The feedback must be visible only for the parent container of the dragged element.(495021 must be fixed) - Drag & drop a bordered node into a node. The feedback must be visible only for the parent container of the dragged element. - Drag & drop a bordered node into a node in a container. The feedback must be visible only for the parent container of the dragged element. - Drag & drop a bordered node into a container. The feedback must be visible only for the parent container of the dragged element. - Drag & drop a bordered node into a container in a container. The feedback must be visible only for the parent container of the dragged element.
Gerrit change https://git.eclipse.org/r/77791 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=dcf3212debd22ff1ede09c6f54a0eaf57b517fe3
Corrected by commit dcf3212debd22ff1ede09c6f54a0eaf57b517fe3
New Gerrit change created: https://git.eclipse.org/r/78439
The above gerrit is for the case of node (similar problem as border nodes).
Gerrit change https://git.eclipse.org/r/78439 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=11fbdbd86a029722c594b6cb354b151e0a148189
(In reply to Pierre Guilet from comment #5) > (In reply to Pierre Guilet from comment #4) > > To test the resolution, the following steps must be taken : > > > > - Open the view "new diagram" > > - Drag & drop a bordered node in a node into another bordered node. The > > feedback must be visible only for the parent container of the dragged > > element.(495021 must be fixed) > > - Drag & drop a bordered node in a node into another node. The feedback must > > be visible only for the parent container of the dragged element. > > - Drag & drop a bordered node in a container into another container. The > > feedback must be visible only for the parent container of the dragged > > element. > > - Drag & drop a bordered node in another bordered node into another > > container. The feedback must be visible only for the parent container of the > > dragged element. > > - Drag & drop a bordered node in another bordered node in a container into > > another container. The feedback must be visible only for the parent > > container of the dragged element. > > To be more accurate the need is the following : - Open the view "new diagram" - Activate the Layouting Mode in the tabbar > - Drag & drop a bordered node into another bordered node in a node. The > feedback must be visible only for the parent container of the dragged > element.(495021 must be fixed) > - Drag & drop a bordered node into a node. The feedback must > be visible only for the parent container of the dragged element. > - Drag & drop a bordered node into a node in a container. The > feedback must be visible only for the parent container of the dragged > element. > - Drag & drop a bordered node into a > container. The feedback must be visible only for the parent container of the > dragged element. > - Drag & drop a bordered node into a container in a container. The > feedback must be visible only for the parent > container of the dragged element.
Available in Sirius 4.1.0, see https://wiki.eclipse.org/Sirius/4.1.0 for details.