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

Undo/Redo after deleting a sequence via right-click places it incorrectly in the sequence list #6826

Open
Zhirnoff opened this issue Apr 3, 2025 · 0 comments
Labels
Priority: High Sequence mode Bucket: Sequence mode related issues Severity: High High level visibility to the user

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Apr 3, 2025

Description:
When a sequence is deleted using the right-click context menu, and then restored using Undo, it does not return to its original position.
Instead:
On first Undo, it appears below the first sequence.
Further Undo/Redo moves the sequence to the bottom of the list.

Steps to Reproduce

  1. Create several sequences in Sequence mode.
  2. Right-click on a first sequence and select Delete.
  3. Press Undo.
  4. Observe the restored sequence is not in its original position.
  5. Press Redo and Undo again — sequence keeps moving downward.

Actual behavior
Sequence is placed incorrectly in the list — first below the top sequence, then at the bottom.

Expected behavior
The sequence should be restored exactly where it was before deletion.

Videos

2025-04-03_12h05_38.mp4

Desktop:

  • OS: Windows 11
  • Browser Chrome
  • Version 133.0.6943.127 (Official Build) (64-bit)

Ketcher version
[Version 3.3.0-rc.1]
Indigo version
[Version 1.31.0-rc.1]

This bug was found while testing: #6472

@Zhirnoff Zhirnoff added Priority: High Sequence mode Bucket: Sequence mode related issues Severity: High High level visibility to the user labels Apr 3, 2025
@Zhirnoff Zhirnoff added this to the Ketcher 3.3.0-rc.2 milestone Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Sequence mode Bucket: Sequence mode related issues Severity: High High level visibility to the user
Projects
None yet
Development

No branches or pull requests

1 participant