Community
Participate
Working Groups
Hi Folks, Using Neon Ecore Tools. Repro: - Create a diagram ecore tools with containment references. - Export the diagram as a SVG file. - Open the file with a SVG tool (I used Inkscape) - The diagram is OK, excepting that the diamonds of containment features are empty (white) rather than filled (black). I'll send some screenshots. NB. I swear this was working before. NB2. I've updated[1] the IDE with nightly update site and I see the same behaviour. Cheers, Adolfo. [1] Features: - Sirius Core Runtime 4.1.0.201607291004 - Sirius Runtime IDE 4.1.0.201607291004 - Sirius Runtime Support for AQL 4.1.0.201607291004
Created attachment 263389 [details] Ecore Diagram
Created attachment 263390 [details] Exported SVG
Thanks for your detailed bug report. We have reproduced this issue and we consider it as valid. Nevertheless, we have currently not planned to work on it in the following releases. This bug is indeed a regression from Sirius 3.1.3. We may also reproduce this issue with the sirius following sample: org.eclipse.sirius.sample.ecore.design/description/ecore.odesign Note that the bug is also reproducible with export to png file.
Thanks for bringing this up, indeed this issue deserves to be considered for the next maintenance release as it's a regression which might affect many users. Community feedback is essential to evolve Sirius in the right direction. Thanks again!
I confirm that the problem is a regresion caused by bug 491913. For information, there is another visible regression on shadow border (it is not gray).
Created attachment 263435 [details] Bug498914.zip EcoreTools project "Bug498914" from Bug498914.zip contains a similar diagram as original sample https://bugs.eclipse.org/bugs/attachment.cgi?id=263389 Steps to reproduce: * Import the project Bug498914 * Open the diagram "root class diagram" * Export the diagram as an SVG file. * Open the file with an SVG tool (I used Inkscape) * The diagram is OK, excepting that the diamonds of containment features are empty (white) rather than filled (black) and the shadow borders of NewEClass2 and NewEClass5 are yellow (instead of gray).
The gerrit https://git.eclipse.org/r/78375 is a proposition of fix. In bug 491913, a new attribute bgPattern has been added to correctly handled the gradient in all kind of format for "Export as image". But it is not correctly set during the popState() and pushState() methods. So after drawing a shape with gradient background color, there was a side effect for following shapes. To validate the fix, you can use the steps to reproduce of comment 6.
The fix has been pushed and will be available in the next nightly build.
Excellent. I can verify that this work again. Thanks for the awesomely prompt reaction. Good job. Cheers, Adolfo
Available in Sirius 4.1.0, see https://wiki.eclipse.org/Sirius/4.1.0 for details.