Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #582089 +++ Steps to reproduce: * With * Sirius 7.0.x or 7.1.x * With BPMN Designer (https://github.com/ObeoNetwork/BPMN-Designer) * Import the Travel Agency sample * Case #1 * Create a Collaboration diagram * Select the tool "Participant et un processus existant" * Single click on the diagram * Select "Travel Agency" in the wizard. * Layout "KO" : * Region content is centered, * RegionContainer notation node is in auto-size but but figure has the default dimension * Layout is not stable (Figure are well auto-sized) after a close/reopen diagram (or addition of a new child in the Region) * Case #2 * From previous diagram * Select the particpant, unset its process from the properties views * Check that the participant is in auto-size and emtpy on the diagram * Layout "KO" : * RegionContainer notation node is in auto-size but but figure has the default dimension * Layout is not stable (Figure are well auto-sized) after a close/reopen diagram (or addition of a new child in the Region) * Case #3 * Create a new Collaboration diagram * Layout OK: Participant is created with Region content layouted, RegionContainer layout is stable and correctly auto-sized. * Case #4 * From any previous case, * Move nodes inside the region to right or bottom * Scroll bars appears * Close and reopen the diagram : no more scrollbars and figure are correctly resized. * Layout KO: in auto-size, the RegionContainer should adapt its size to the Region contents.
Three proposed fixes for 7.0.x and 7.1.x - disabled by default but can be activated with system properties See details on Bug 582089 For the moment te exact same fixes are cherry-picked on master. But we might decide later to go further.
- https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/202620 [582091] Do not apply center layout on Region content at creation time [NEW] - https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/202621 [582091] Use model constraint to layout Regions [NEW] - https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/202622 [582091] Enable individual auto-size action and status for Regions [NEW]