Community
Participate
Working Groups
Build Identifier: org.eclipse.gmf.runtime.draw2d.ui_1.4.0.v20100514-1615 The BaseSlidableAnchor returns an incorrect anchor location when the source figure is contained within the target figure. For example, if the source figure is in the top left portion of the contained figure, and if the user tries to create a connection from the source figure to the bottom right corner, the connection will be created from the source figure to the top left corner instead. The reason for this behaviour is that the BaseSlidableAnchor tries to determine the closest point to the target figure, and in doing ends up with a position on the top left corner of the (imaginary) line connecting source figure and user location. Reproducible: Always
Created attachment 174419 [details] Fix If the source anchor location is within the the bounds of the target figure, then we do not use the closest point to the source anchor location.
Created attachment 174422 [details] Fix Removed the trace statements
Delivered to HEAD and R1_4_maintenance