epam / epam/Indigo

Inconsistency in Solvent Positioning in SVG and PNG Export

Open
#3,789 2 comments 0 reactions 0 assignees View on GitHub
Priority: Medium Severity: Medium User`s Feedback
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Preconditions**
1. Ketcher is launched.
2. Structures have been added to the canvas.
3. An arrow (any reagent arrow type) is present on the canvas.
4. Solvents from the Structure Library are added above the arrow.
5. The solvents are aligned vertically above the arrow.

**Steps to Reproduce**
1. Click the save icon.
2. Select 'SVG' format from the 'File format' dropdown.
3. Observe the preview and the saved file.
4. Select 'PNG' format from the 'File format' dropdown.
5. Examine the preview and the saved file.

**Actual behavior**
In the previews and saved files:
- Some solvents that are located above the arrow in the canvas are displayed below the arrow.
- There is an overlap, with some solvents stacking up on each other.

**Expected behavior**
The solvents located above the arrow should be displayed in the preview and in the saved file, maintaining their vertical alignment above the arrow.

**Screenshots**
![image](https://github.com/epam/Indigo/assets/50295474/f778cd96-38a0-4965-a0de-81ad3c1cc2c0)

![image](https://github.com/epam/Indigo/assets/50295474/542e8d8d-10c9-4285-9516-daf011b4219f)

**Desktop:**
OS: Windows 10
Browser Chrome
Version 119.0.6045.106 (Official Build) (64-bit)

**Ketcher version**
Version 2.15.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.