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

Paste from clipboard does not work for molecules in macro mode #4840

Closed
rrodionov91 opened this issue Jun 13, 2024 · 1 comment · Fixed by #4841 or #4847
Closed

Paste from clipboard does not work for molecules in macro mode #4840

rrodionov91 opened this issue Jun 13, 2024 · 1 comment · Fixed by #4841 or #4847

Comments

@rrodionov91
Copy link
Collaborator

Steps to Reproduce

  1. Go to Molecules mode
  2. Draw Benzene
  3. Go to Macromolecules mode
  4. Select Benzene
  5. Press Ctrl+C
  6. Press Ctrl+V

Actual behavior
Structure is not pasted to canvas

Expected behavior
Structure is pasted to canvas

Ketcher version [e.g. v2.4.2].
v2.22.0-rc.4

@rrodionov91 rrodionov91 added this to the Ketcher 2.22.0-rc.5 milestone Jun 13, 2024
@rrodionov91 rrodionov91 self-assigned this Jun 13, 2024
rrodionov91 added a commit that referenced this issue Jun 13, 2024
…achment point

- fixed attachment point number searching for molecules

#4836 - Molecule changes position after saving and opening from file
- added moving molecules structures in macromode for opening/pasting from file, snake layout

#4840 - Paste from clipboard does not work for molecules in macro mode
- changed serialization method in macromolecules paste
rrodionov91 added a commit that referenced this issue Jun 13, 2024
…achment point

- fixed attachment point number searching for molecules

#4836 - Molecule changes position after saving and opening from file
- added moving molecules structures in macromode for opening/pasting from file, snake layout

#4840 - Paste from clipboard does not work for molecules in macro mode
- changed serialization method in macromolecules paste
rrodionov91 added a commit that referenced this issue Jun 13, 2024
…nection

* #4839 - System loses connections to molecule R2 if there is no R1 attachment point
- fixed attachment point number searching for molecules

#4836 - Molecule changes position after saving and opening from file
- added moving molecules structures in macromode for opening/pasting from file, snake layout

#4840 - Paste from clipboard does not work for molecules in macro mode
- changed serialization method in macromolecules paste

* - updated ketcher version to 2.22.0-rc.5
@Zhirnoff
Copy link
Collaborator

2024-06-13_20h13_38.mp4

Tested.
Desktop:

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

Ketcher version
[Version 2.22.0-rc.5]
Indigo version
[Version 1.21.0-rc.1]

rrodionov91 added a commit that referenced this issue Jun 14, 2024
…achment point

- fixed attachment point number searching for molecules

#4836 - Molecule changes position after saving and opening from file
- added moving molecules structures in macromode for opening/pasting from file, snake layout

#4840 - Paste from clipboard does not work for molecules in macro mode
- changed serialization method in macromolecules paste
rrodionov91 added a commit that referenced this issue Jun 14, 2024
…s no R1 attachment point (#4847)

#4839 - System loses connections to molecule R2 if there is no R1 attachment point
- fixed attachment point number searching for molecules

#4836 - Molecule changes position after saving and opening from file
- added moving molecules structures in macromode for opening/pasting from file, snake layout

#4840 - Paste from clipboard does not work for molecules in macro mode
- changed serialization method in macromolecules paste
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment