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

System doubles number of pasted monomers after switching from flex to sequence #4730

Closed
AlexeyGirin opened this issue Jun 3, 2024 · 1 comment · Fixed by #4736 or #4742
Closed
Assignees
Labels
bug Priority: High Sequence mode Bucket: Sequence mode related issues

Comments

@AlexeyGirin
Copy link
Collaborator

This is follow up of #4569
Steps to Reproduce

  1. Switch to Macro >> Flex mode

  2. Open from file: ketcher (8).zip
    or put chems on the canvas as on the screen:
    image

  3. Select all >> Copy (press CTRL+A and CTRL+C)

image
  1. Go to Sequence mode
image
  1. return to Flex mode >> Paste
image
  1. Switch to Sequence mode

Actual behavior
Not that is shows 3 pairs of monomers
image

Expected behavior
Should show 2 pairs

image

Versions:
Windows 10
Chrome Version 125.0.6422.142 (Official Build) (64-bit)
Ketcher Version 2.21.0-rc.2 Build at 2024-06-03; 05:33:52
Indigo Toolkit Version 1.21.0-dev.5.4-gb45d44aa-wasm32-wasm-clang-12.0.0

@AlexeyGirin AlexeyGirin added bug Priority: High Sequence mode Bucket: Sequence mode related issues labels Jun 3, 2024
@AlexeyGirin AlexeyGirin added this to the Ketcher 2.22.0-rc.2 milestone Jun 3, 2024
@rrodionov91 rrodionov91 self-assigned this Jun 3, 2024
rrodionov91 added a commit that referenced this issue Jun 3, 2024
… flex to sequence

- added removing of copy/paste event listeners during switching between micro/macro modes
rrodionov91 added a commit that referenced this issue Jun 4, 2024
… flex to sequence

- added removing of copy/paste event listeners during switching between micro/macro modes
rrodionov91 added a commit that referenced this issue Jun 4, 2024
… flex to sequence (#4742)

- added removing of copy/paste event listeners during switching between micro/macro modes
rrodionov91 added a commit that referenced this issue Jun 4, 2024
… flex to sequence (#4736)

- added removing of copy/paste event listeners during switching between micro/macro modes
@AlexeyGirin
Copy link
Collaborator Author

Verified.
image

  • Indigo Toolkit Version 1.21.0-rc.1.0-g9194599b2-wasm32-wasm-clang-19.0.0
  • Ketcher Version 2.22.0-rc.3 Build at 2024-06-10; 12:34:49
  • Chrome Version 125.0.6422.142 (Official Build) (64-bit)
  • Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment