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

RNA Structure is broken while we Copy from Macro and Paste to Micro canvas. #4590

Closed
NadezhdaPeskun opened this issue May 8, 2024 · 3 comments · Fixed by #4672
Closed

RNA Structure is broken while we Copy from Macro and Paste to Micro canvas. #4590

NadezhdaPeskun opened this issue May 8, 2024 · 3 comments · Fixed by #4672
Assignees
Labels
bug Macro-Micro Bucket: Macro-Micro View related issues Macromolecules Priority: Medium

Comments

@NadezhdaPeskun
Copy link

NadezhdaPeskun commented May 8, 2024

Steps to Reproduce*

  1. Switch to Macro
  2. Open file with Chem
    ketcher (24).zip
image
  1. Select all structures >> Copy
  2. Go to MICRO
  3. Paste

Actual behavior
Structure is broken while we Copy from Macro and Paste to Micro canvas.
image

Expected behavior
Structure should no be broken while we Copy from Macro and Paste to Micro canvas.
image

Desktop (please complete the following information):

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

Ketcher version
Version 2.21.0-rc.2
Build at 2024-05-07; 12:32:44

Indigo Toolkit
Version 1.20.0-rc.2.0-g111a89f35-wasm32-wasm-clang-12.0.0

@NadezhdaPeskun NadezhdaPeskun added bug Priority: Medium Macromolecules Macro-Micro Bucket: Macro-Micro View related issues labels May 8, 2024
@NadezhdaPeskun NadezhdaPeskun added this to the Ketcher 2.22.0-rc.1 milestone May 8, 2024
@NadezhdaPeskun NadezhdaPeskun changed the title Structure is broken while we Copy from Macro and Paste to Micro canvas. RNA Structure is broken while we Copy from Macro and Paste to Micro canvas. May 8, 2024
@ilya-asiyuk-epam ilya-asiyuk-epam self-assigned this May 22, 2024
@ilya-asiyuk-epam
Copy link
Contributor

Root cause:
code added in this task - #2517

ilya-asiyuk-epam added a commit that referenced this issue May 24, 2024
…-we-copy-from-macro-and-paste-to-micro-canvas

#4590 - RNA Structure is broken while we Copy from Macro and Paste to Micro canvas.
@ViktoriaTkacheva
Copy link
Collaborator

  1. An error appears in the Console in two cases:
    a) when pasting structures onto the canvas
    b) when moving structures beyond the boundaries of the canvas

2024-05-30_16h20_00

image
2024-05-30_18h07_46.mp4
  1. Sometimes the structure is distorted when pasting and an error appears in the Console (it is not always reproduced)
image

Indigo Toolkit Version 1.21.0-dev.4.0-gb15b3f662-wasm32-wasm-clang-12.0.0
Ketcher Version 2.21.0-rc.2, Build at 2024-05-30; 08:32:11
Сhrome Version: (125.0.6422.113) x64
Windows 10 Pro (version 22H2) x64

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Jun 5, 2024

Tested. An error appears in the Console in two cases:
a) when pasting structures onto the canvas
b) when moving structures beyond the boundaries of the canvas
After talking with @rrodionov91 , we realized that we already have a bug for this problem #4368
Desktop:

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

Ketcher version
[Version 2.22.0-rc.2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Macro-Micro Bucket: Macro-Micro View related issues Macromolecules Priority: Medium
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants