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

Preview: Issues with Saving and Opening Structures with Multi-Tailed Arrow in CDX and CDXML Formats #2433

Open
Zhirnoff opened this issue Sep 26, 2024 · 0 comments
Labels
Bug Cascade reactions Export to CDX Bucket: Bugs related to Export to CDX Export to CDXML Bucket: Bugs related to Export to CDXML MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: High

Comments

@Zhirnoff
Copy link
Collaborator

Summary

  1. Unable to Open Saved CDX Files with Multi-Tailed Arrow:
    When saving a structure containing a Multi-Tailed Arrow in CDX format, the file is successfully created.
    However, attempting to open this saved file results in that file does not load into the editor

  2. Unable to Save Structures with Multi-Tailed Arrow in CDXML Format:
    Attempting to save a structure with a Multi-Tailed Arrow in CDXML format results in nothing happening after pressing the Save button.
    Additionally, there is no preview displayed for CDXML files containing a Multi-Tailed Arrow in the file save dialog.

Steps to Reproduce

Issue with CDX File:

  1. Open Ketcher
  2. Create a structures with Multi-Tailed Arrow or open prepared file ketcher (94).zip
  3. Save file in CDX format
  4. Open saved CDX file via the Open menu

Issue with CDXML File:

  1. Perform steps 1–2 from the previous instructions
  2. Attempt to save the file in CDXML format

Expected behavior
For CDX Files: The saved file with a Multi-Tailed Arrow should open.
For CDXML Files:
The file containing Multi-Tailed Arrow should be successfully saved in CDXML format.
The file save dialog should display a preview for CDXML file with a Multi-Tailed Arrow.

Actual behavior
For CDX Files: The file is saved, but it does not open.
For CDXML Files:
Saving file in CDXML format is impossible because nothing happens when Save button is pressed.
No preview is displayed for CDXML file containing a Multi-Tailed Arrow in file save dialog.

Environment details:
Desktop:

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

Ketcher version
[Version 2.25.0-rc.4]
Indigo version
[Version 1.25.0-dev.2]

Attachments

2024-09-26_17h44_42.mp4
2024-09-26_17h45_40.mp4

Additional context
Bug was found during pretesting #2238

@Zhirnoff Zhirnoff added Bug Export to CDXML Bucket: Bugs related to Export to CDXML Export to CDX Bucket: Bugs related to Export to CDX MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes labels Sep 26, 2024
@Zhirnoff Zhirnoff added this to the Indigo-1.25.0-rc.1 milestone Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Cascade reactions Export to CDX Bucket: Bugs related to Export to CDX Export to CDXML Bucket: Bugs related to Export to CDXML MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: High
Projects
None yet
Development

No branches or pull requests

2 participants