Opened 5 years ago

Last modified 3 years ago

#5816 closed defect

Issues with icon extents in diagrams — at Version 1

Reported by: Francesco Casella Owned by: Adeel Asghar
Priority: high Milestone: 1.20.0
Component: OMEdit Version:
Keywords: Cc:

Description (last modified by Francesco Casella)

Please check the attached test package, which reproduces issues I'm facing with the model that will be presented at the Annual Meeting keynote.

Model M0 has an icon annotation with extent and graphics. Model M01 extends M0 with no annotations, while model M02 extends it and re-adds the icon extent annotation.

Now, check the diagrams of M1, M11, and M12. In principle, they should be the same. In practice, M1 has the expected appearence of the instance of M0, while M11, where the instance of M01 has the same extent as in the previous model, the rendering is completely wrong. Apparently, the graphics annotation is inherited correctly, while the extent annotation is not. Please make sure it is. The diagram of M12 looks instead fine, since the extent is re-added to M02.

Finally, when looking at the diagram of M2, the icon of the instance of M1 should be centered in the rectangle - unfortunately, it isn't. Furthermore, as soon as I grab it by one corner to resize it, it jumps in a different position. I guess the two issues are related.

It would be good if we could fix this in 1.15.0 already. This kind of issues make models developed with other tools unreadable, which is extremely annoying.

Thanks!

Change History (2)

by Francesco Casella, 5 years ago

Attachment: TestIconExtent.mo added

comment:1 by Francesco Casella, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.