Community
Participate
Working Groups
Created attachment 270097 [details] Use case to reproduce this issue With the attached project, * Open the UseCase3 representation * Perform an arrange all * The border node C121 should be at the south location and its GMF coordinates are not consistent. (To check the GMF coordinates, install the Sirius Debug View)
Analysis: * The problem is from org.eclipse.sirius.diagram.ui.graphical.edit.policies.SpecificBorderItemSelectionEditPolicy.getNewBounds(ChangeBoundsRequest) method. This method uses DBorderItemLocator to compute the border node valid location. But in the case of an arrange all, the parent figure size is not yet computed and can be different at the end of the arrange all. As the border node location has already been computed by using the CanonicalDBorderItemLocator, we should add a metadata in the ChangeBoundsRequest to do not use the DBorerItemLocator in SpecificBorderItemSelectionEditPolicy.getMoveCommand
Bug detected during the 520624
New Gerrit change created: https://git.eclipse.org/r/104470
TODO: revert the gerrit once this bug is fixed.
Gerrit change https://git.eclipse.org/r/104470 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=995e100a7cb6dc8d086a19c0193331243c329667