Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Irregular connection point spacing issue when creating more than 51 connection point #1997

Closed
2 tasks done
h2s0109 opened this issue Feb 21, 2025 · 0 comments
Closed
2 tasks done

Comments

@h2s0109
Copy link

h2s0109 commented Feb 21, 2025

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

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 report 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
When more than 50 connection points are created to align with the 10pt grid spacing, the spacing between the connection points becomes irregular.
To Reproduce

1. Correct behavior
When using the Alt+Shift+Q shortcut to create 50 connection points aligned with the grid spacing on a rectangle with a height of 510, and then closing the window and checking the connection points again using the Alt+Shift+Q shortcut, the connection points are created on the grid as intended.

Image
Image
Reopen: Alt +shift+Q
Image

2. Bug behavior

Using the Alt+Shift+Q shortcut to create 51 connection points aligned with the grid spacing on a rectangle with a height of 520, and then closing the window and checking the connection points again using the Alt+Shift+Q shortcut, it can be observed that the connection points are not positioned on the grid. This irregular creation of connection points becomes more pronounced as the number of connection points increases.

Image

Image
Reopen: Alt +shift+Q
Image

Expected behavior
Even for shapes larger than 510pt in size, connection points are accurately created to align with the 10pt grid spacing.

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

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

  • draw.io version: 26.0.9

Desktop (please complete the following information):

  • OS: Window 11
  • Browser: chrome
  • Browser Version 132.0.6834.160
    I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
  • yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants