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

The attachment points R, to which the bond was attached, change randomly, when pasting onto the canvas #4901

Closed
ViktoriaTkacheva opened this issue Jun 26, 2024 · 2 comments
Assignees
Labels
Macro-Micro Bucket: Macro-Micro View related issues Macromolecules Priority: High

Comments

@ViktoriaTkacheva
Copy link
Collaborator

Steps to Reproduce

  1. Open this file For AP in Macro.zip

    image
  2. Switch to the Macro mode and draw bonds:

  • from AP R1 of structure F2 to AP R2 of structure F3

  • from AP R1 of structure F3 to AP R2 of structure F4

    image
  1. Copy these structures and paste them nearby

Actual behavior
The attachment points R, to which the bond was attached, change randomly

image

Expected behavior
After pasting, the attachment points R should not change

Screenshots

2024-06-26_15h25_31.mp4

Desktop (please complete the following information):

  • OS: Windows 10 Pro (version 22H2) x64
  • Browser: Сhrome
  • Version: (125.0.6422.142) x64

Ketcher version 2.22.0-rc.7, Build at 2024-06-20; 18:42:41

Issue found while testing #4530

@rrodionov91
Copy link
Collaborator

It happens because structure has several attachment points on one atom. Ketcher loses information about exact leaving group atom after serialisation and take attachment points consequently. So I would say that it is expected behaviour.
Closing ticket, please reopen if something wrong.

@rrodionov91 rrodionov91 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2024
@rrodionov91 rrodionov91 self-assigned this Aug 7, 2024
@AlexeyGirin
Copy link
Collaborator

Closed by @AlexanderSavelyev decision after discussion

@AlexeyGirin AlexeyGirin removed this from the Ketcher 2.25.0-rc.1 (Current) milestone Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Macro-Micro Bucket: Macro-Micro View related issues Macromolecules Priority: High
Projects
None yet
Development

No branches or pull requests

3 participants