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 structure changes when saved in SVG/PNG formats #5043

Closed
AlexeyGirin opened this issue Jul 9, 2024 · 2 comments
Closed

The structure changes when saved in SVG/PNG formats #5043

AlexeyGirin opened this issue Jul 9, 2024 · 2 comments
Assignees
Labels
bug Export to SVG/PNG Bucket: Bugs related to SVG/PNG export Priority: Medium

Comments

@AlexeyGirin
Copy link
Collaborator

Summary
The structure changes when saved in SVG/PNG formats

Steps to Reproduce

  1. Open Ketcher.
  2. Draw a benzene ring
  3. Add an attachment point to the benzene ring via right click menu
  4. Switch to Macro mode and connect attachment point to a macro structure
  5. Switch to Micro mode
  6. Save structure in SVG/PNG formats

If it is not possible to draw the structure, then you can open the prepared file (you just need to open it in macro mode and then switch to micro mode):
ketcher (53).zip

Expected behavior
The structure not changes when saved in SVG/PNG formats
2024-06-06_14h02_50

Actual behavior
The structure changes when saved in SVG/PNG formats
2024-06-06_15h44_44
2024-06-06_15h59_43

Desktop (please complete the following information):

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

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

Refers to feature: #4530
Issue on Ketcher side: #4879

@rrodionov91
Copy link
Collaborator

Hydrogen bond removed after serialisation here #4973

@rrodionov91 rrodionov91 self-assigned this Jul 9, 2024
@AlexeyGirin
Copy link
Collaborator Author

Moved to Indigo - epam/Indigo#2110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Export to SVG/PNG Bucket: Bugs related to SVG/PNG export Priority: Medium
Projects
None yet
Development

No branches or pull requests

2 participants