Community
Participate
Working Groups
Created attachment 287727 [details] wrongSizeAfterCreationWithManualSize.png Steps to reproduce: * Import project TitleBlockReproductionCaseLikeCapella from TitleBlockReproductionCaseLikeCapella.zip * Open diagram "new DiagramLikeCapella" * Create a "Title block" by doing a "drag'n'drop click" (from {100;100} to {500;400} for example. --> KO : The "cells" have their default size, 100x50 defined in VSM. They must fill all the space of the container. Example of bad result in wrongSizeAfterCreationWithManualSize.png
Created attachment 287728 [details] TitleBlockReproductionCaseLikeCapella.zip
The behavior seems random, even after fix done for bug 577676 and bug 576305.
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/189125
Technical information: In the first steps of the creation, the size of the drawn rectangle is set in GMF constraint of the "title block container" in method org.eclipse.sirius.diagram.ui.internal.refresh.AbstractCanonicalSynchronizer.updateDDiagramChildBounds(View, View) by getting size stored in SiriusLayoutDataManager during creation. And then the method org.eclipse.sirius.diagram.ui.internal.refresh.diagram.DDiagramCanonicalSynchronizer.manageRegions() is called. Maybe this method is a good starting point. To see next year...