epam / Indigo

Universal cheminformatics toolkit, utilities and database search tools
http://lifescience.opensource.epam.com
Apache License 2.0
291 stars 100 forks source link

Saved Ellipse and Line Shapes in CDX, CDXML, Base 64 CDX formats are not correctly displayed after opening #2047

Open ivanmaslow opened 3 days ago

ivanmaslow commented 3 days ago

Steps to Reproduce

  1. Add "Shape Ellipse" and "Shape Line" to canvas: image
  2. Save in CDXML, Base 64 CDX or in CDX formats
  3. Open from file Expected behavior Ellipse and Line Shapes are displayed as it was saved: image Actual behavior The "Ellipse Shape" is lost and not displayed, the "Line Shape" is displayed as an arrow with not correct orientation: image

Environment details:

Attachments The recording is attached -

https://github.com/epam/Indigo/assets/165396466/7cf30537-4d3b-40d7-ad78-e4e09e5d0e25

Additional context It works correctly in the .ket format.