drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

spurious selection after undo

Open lvmm opened this issue 7 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 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.

Describe the bug When an action with a shape modifies another shape, undo doesn't unselect this second shape which may result in unexpected behaviour afterwards

To Reproduce Steps to reproduce the behavior:

  1. initial state Image
  2. actor shape is dragged onto the arrow shape which causes the latter to split Image
  3. press ^Z to undo Image

The result is that both shapes are selected and, if one tries to drag actor once more because one wasn't satisfied with the result, both shapes will be dragged.

Expected behavior No shapes should've been selected.

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

  • draw.io version 26.2.2

Desktop (please complete the following information):

  • OS: Windows 10

lvmm avatar Apr 25 '25 09:04 lvmm