Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #496985 +++ Unlike classical container, when a regions container is drag'n'dropped from a container to another one, it loses is size. In Sirius 4.0, the behavior is different between "Horizontal Stack" and "Vertical Stack". In "Horizontal Stack", the regions container is auto-sized after the drag'n'drop. In "Vertical Stack", the regions container is auto-sized only in one direction and the regions are auto-sized (the same bug concerning size of regions as in bug 495046). After fix of bug 495046 and of bug 495119, the behavior is similar in "Horizontal Stack" and "Vertical Stack": the regions container is auto-sized after the drag'n'drop. This is probably due to the layout specificity of the regions container (always in {-1, -1}, the dimension is handled by its region children). Steps to reproduce: * Open VStackDiag with DnD (of https://git.eclipse.org/r/76180) * Drag'n'drop "cccc" from "aaaa" in diagram * KO: The new "cccc" container is auto-sized.
Cloned to report the fix in Sirius 4.0.1.
New Gerrit change created: https://git.eclipse.org/r/79526
New Gerrit change created: https://git.eclipse.org/r/79527
Gerrit change https://git.eclipse.org/r/79527 was merged to [v4.0.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2c6de92b0c405e5722675474917c4714f9b472ee
Gerrit change https://git.eclipse.org/r/79526 was merged to [v4.0.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=56cbc89006024281acff3d94472f03792ebf5d96
Impossible to drag'n drop cccc from aaaa in diagram. Nothing happens when doing drag'n drop. Thanks to add use case directly to ticket.
Can you try with the attachment made for Sirius 4.1.0: https://bugs.eclipse.org/bugs/attachment.cgi?id=263931 ?
Available in Sirius 4.0.1. See https://wiki.eclipse.org/Sirius/4.0.1.