Community
Participate
Working Groups
Build Identifier: M20090917-0800 The position of Labels in curved connections is not at the midpoint where it should be. This is because the MidpointLocator class will only return the midpoint between 2 points and a PolylineArcConnection contains several. Reproducible: Always
What is the status of this issue? This is still reproducible. At least the Locator should be customizable (with a setter) for the Connection.
As far as I know, nobody has started working on this issue. If you are interested, and provide some solution, we can try to find a way to integrate it.
Created attachment 232883 [details] MidpointLocator path The MidpointLocator implementation in the patch computes the reference point between the given index and the last point in the point list. As far as I know only the BendpointCreationHandle invokes the constructor with a custom index, all other occurrences sets the index to 0. In my opinion it makes sense to use the last point, but this should be verified.
Can somebody provide me feedback about this issue? Will the fix be applied / new one will be created / etc?
(In reply to comment #3) > Created attachment 232883 [details] > MidpointLocator path > > The MidpointLocator implementation in the patch computes the reference point > between the given index and the last point in the point list. As far as I > know only the BendpointCreationHandle invokes the constructor with a custom > index, all other occurrences sets the index to 0. In my opinion it makes > sense to use the last point, but this should be verified. Sorry for the late answer. One of my basic "problems" is that I am not "qualified" to accept this patch, as this change reflects Draw2D instead of Zest, and that can have more serious consequences (e.g. all GEF, GMF and Graphiti-based editors might also be affected), so someone else is needed. Is it not possible to change this behavior in a way that only changes Zest?