issue with position of GIssueMarker popup #852
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@rileydanejohnston Thank you for raising this! I just tested this and you are correct, there is something wrong with the position calculation on edges. As far as I can tell, we do not calculate the absolute bounds of the issue marker correctly because the I have an idea how it could work and I can create a PR for it but you can check it first if you want. Basically, we need to adapt the absolute bounds calculation to properly consider routable elements. For this, you need to subclass and rebind the
|
Beta Was this translation helpful? Give feedback.
@rileydanejohnston Thank you for raising this! I just tested this and you are correct, there is something wrong with the position calculation on edges. As far as I can tell, we do not calculate the absolute bounds of the issue marker correctly because the
localToParent
method is not implemented bySEdge
whereas nodes inherit a correct implementation fromSShapeElement
.I have an idea how it could work and I can create a PR for it but you can check it first if you want. Basically, we need to adapt the absolute bounds calculation to properly consider routable elements. For this, you need to subclass and rebind the
GlspHoverMouseListener
and use the following overridden implementation: