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

Not correct length of Multi-Tailed and Single arrows for reactions with atoms after loading from RDF or Layout actions #2583

Closed
ivanmaslow opened this issue Oct 25, 2024 · 2 comments · Fixed by #2640
Assignees
Labels
Bug Cascade reactions MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: Medium

Comments

@ivanmaslow
Copy link
Collaborator

ivanmaslow commented Oct 25, 2024

Steps to Reproduce

  1. Add to canvas reaction with atoms or load from file:
    ket-cascade-reaction-2-1-1-atoms.zip
    image
  2. Click on layout or make save/load to/from RDF actions

Actual behavior

  • The length of the tails is bigger than 0.5, the length of the head arrow is bigger than 6.5, size of arrow is bigger than 7:
    image

Expected behavior

  • Total length of Multi-Tailed Arrow is 7
    • Length of tail is 0.5
    • Length of head arrow is 6.5
  • Total length of the single arrow is 7, this Multi-Tailed arrow can be used as a reference for arrow with correct total length:
    multi-tailed-arrow-default-indigo.zip
    image

Environment details:
Reproduced on RC SA env:

  • Ketcher [Version 2.26.0-rc.6] Build at 2024-10-25; 09:57:12;
  • Indigo Version 1.25.0-rc.4.0-g8862ccb7e-wasm32-wasm-clang-19.0.0
  • Desktop, Windows 11 Enterprise
  • Chrome, Version 130.0.6723.70 (Official Build) (64-bit)

Additional context

@ivanmaslow
Copy link
Collaborator Author

Need to check when Remote env will be available to define it is Indigo or Ketcher issue.

@ivanmaslow
Copy link
Collaborator Author

Looks like it could be fixed by #2610, but length of spine becomes bigger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Cascade reactions MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: Medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants