eclipse-sirius / sirius-desktop

Sirius Desktop: desktop-based graphical modelers for dedicated DSLs
https://eclipse.dev/sirius/
Eclipse Public License 2.0
13 stars 11 forks source link

Edge label is not displayed at the same location when changing the diagram zoom level #4

Open lfasani opened 1 year ago

lfasani commented 1 year ago

With a manhattan edge if the label anchor is exactly at a bendpoint (for example the border of a vertical edge segment next to a horizontal), when changing the zoom, the point calculation may change and then the edge label is displayed in the bad coordinate system. We need GMF-Runtime changes to have better point precision.

lfasani commented 10 months ago

change in GMF-runtime https://github.com/eclipse/gmf-runtime/commit/b4316c675b70d17f47129c0f2bf57000d49defe9

lfasani commented 10 months ago

We should have a reproducible use case in Sirius(currently, we have only a Capella scenario)

pcdavid commented 10 months ago

Fixed in GMF Runtime 1.16.1, and Sirius Desktop 7.2.1 depends on that.

scosta-obeo commented 2 months ago

We should have a reproducible use case in Sirius(currently, we have only a Capella scenario)

Here's a reproduction/validation case: test-bug-edge-label.zip

scosta-obeo commented 2 months ago

I reopen this issue, it doesn't work.

Step to reproduce: