jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
80 stars 28 forks source link

Connection point editor doesn't work once a shape has been rotated #4108

Open Kortenbach opened 10 months ago

Kortenbach commented 10 months ago

Preflight Checklist

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Add shape to canvas
  2. Rotate by 90 degrees
  3. Select "edit connection points" from the context menu
  4. Change the connection points
  5. Close the "edit connection points" editor
  6. Reopen "edit connection points" editor. Connection points jumped back to their original positions If you don't rotate the shape everything works fine and the shape may be rotated after the connection points have been edited

Expected behavior The connection points should remain in the position that I put them in.

Screenshots If applicable, add screenshots to help explain your problem.

draw.io version (In the Help->About menu of the draw.io editor):

Desktop (please complete the following information):

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.

Kortenbach commented 4 months ago

Please don't delete

Drumdevil commented 2 weeks ago

I found the same problem, connection points won't be saved when you rotated an importated shape/image prior to editing them. Workaround is to rotate the image back into it's original position, edit the connectionpoints, and then rotate it again.