Community
Participate
Working Groups
Created attachment 270959 [details] ImageSizePb.zip This problem has been noticed in Sirius 5.1.0 (but at least until Sirius 4.1.0) Steps to reproduce: * Import project ImageSizePb (from ImageSizePb.zip) * Open diagram newDiag * --> OK:The size of the node is 40x40 as described in VSM Square style (Size Computation Expression=4) * Open the VSM editor * Replace the Square style by a Workspace Image style * Set the Image Path to /ImageSizePb/man255x255.svg * Set the Size Computation Expression to 8 * Save * Go to the newDiag editor * --> KO: the size of the node is 255x255 (size of the image) and not 80x80 as described in VSM * Create a new diagram newDiag2 * --> OK: The size of the node is 80x80 as described in VSM Workspace Image style (Size Computation Expression=8) * Save * Open the VSM editor * Reset the change to retreive the Square style with a Size Computation Expression=4 * Save * Go to the newDiag editor * --> OK:The size of the node is 40x40 as described in VSM Square style (Size Computation Expression=4) * Save * Open the VSM editor * Replace the Square style by a Workspace Image style * Set the Image Path to /ImageSizePb/man50x50.png * Set the Size Computation Expression to 8 * Save * Go to the newDiag editor * --> KO: the size of the node is 50x50 (size of the image) and not 80x80 as described in VSM This problem is maybe related to bug 508050 and/or 494181.