drawio icon indicating copy to clipboard operation
drawio copied to clipboard

Shapes don't correctly snap into the Rack shape when numbering is on the right side

Open dncman opened this issue 2 months ago • 0 comments

Preflight Checklist

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

You must search the issue tracker and agree to 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 Numbering on left is turned off (numbering will be on the right side) for the mxgraph.rackGeneral.rackCabinet3 stencil/shape shapes still snap in on the right side of the shape instead of the left which causes them to be off-grid (see screenshot)

Tested on diagrams.net and the desktop app (Windows).

Image

To Reproduce Steps to reproduce the behavior:

  1. Search for Numbered Rack Cabinet in the shapes library and place it
  2. Go to Style > Properties > Uncheck Numbering on the left
  3. Try to place any shape into the rack like the Cover Plate

Expected behavior When the numbering is on the right the shapes should move accordingly and move a bit to the left so they are still visibly in the grid

Screenshots Included above

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

  • draw.io version v28.2.9

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Edge
  • Browser Version 142

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

  • yes

Additional context Thank you for the amazing software :D

dncman avatar Nov 12 '25 16:11 dncman