Community
Participate
Working Groups
The Sirius post treatment for pinned elements, PinnedElementsLayoutProvider, is not compatible with ELK Layout. Currently if some elements are pinned, after an arrange all using ELK, Sirius launches this post treatment and it breaks the ELK result. The user must unpin all pinned elements before launching an arrange all using ELK to have "good" result. The goal of this issue is to not launch post treatment for pinned elements when the arrange is managed by ELK.
New Gerrit change created: https://git.eclipse.org/r/158526
The test org.eclipse.sirius.tests.unit.diagram.layout.SimpleELKLayoutTest.testNoteLayoutWithPrefFalse() should be activated as soon as this bug will be fixed.
The resolution of bug 568037 also fixes this problem. Indeed with gerrit 171012 [1]. The standard selection mechanism is no longer used for ELK layout (and also the "pinned" aspect of this mechanism). Only one commit will be added for this issue : * Activation of SimpleELKLayoutTest.testNoteLayoutWithPrefFalse() (as explain in above comment) * Additional test to ensure that the layout result is the same for a diagram with pinned elements and without pinned elements. The current behavior is that "pinned" elements are ignogred during ELK layout. They are not considered as "pinned" by ELK. Maybe a further enhancement will be to support "pinned" elements with ELK layout. [1] https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/171012
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/171038
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/171038 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=cfdb8f1a70d27ffe0177552075b6c1eaf168c593
Steps to validate: * Launch an arrange all using ELK with and without pinned elements. * Expected: The result is the same with and without pinned elements.
Available in Sirius 6.4.0, see https://download.eclipse.org/sirius/updates/releases/6.4.0/ for details.