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

Subscribtion to change event stops working after switching between Micro and Macro #6200

Open
AlexeyGirin opened this issue Dec 23, 2024 · 0 comments
Labels
bug Micro-Macro Bucket: Bugs related to Micro structures on Macro mode Priority: Low Severity: Low Low level visibility to the user

Comments

@AlexeyGirin
Copy link
Collaborator

AlexeyGirin commented Dec 23, 2024

Steps to Reproduce

  1. Open embedded Ketcher - Macromolecules canvas (Sequence mode)
  2. Subscribe to event from console (run command below):
ketcher.editor.subscribe('change', () => {
    console.log('changed')
})
  1. Made some changes (e.g. add monomer)
    image
  2. Switch from Macro to Micro mode and back
  3. Made some changes (e.g. add monomer)

Actual behavior
Events stops coming
image

Expected behavior
Events continue to come
image

Versions

  • Ketcher Version 2.28.0-rc.3 Build at 2024-12-11; 14:32:57
  • Indigo Version 1.27.0-rc.1.0-g8d656a341-wasm32-wasm-clang-19.0.0
  • Chrome Version 131.0.6778.109 (Official Build) (64-bit)
  • Win10
@AlexeyGirin AlexeyGirin added bug Priority: High Micro-Macro Bucket: Bugs related to Micro structures on Macro mode Severity: High High level visibility to the user labels Dec 23, 2024
@AlexeyGirin AlexeyGirin added this to the Ketcher 3.1.0-rc.1 milestone Dec 23, 2024
@AlexeyGirin AlexeyGirin added Priority: Low Severity: Low Low level visibility to the user and removed Priority: High Severity: High High level visibility to the user labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Micro-Macro Bucket: Bugs related to Micro structures on Macro mode Priority: Low Severity: Low Low level visibility to the user
Projects
None yet
Development

No branches or pull requests

1 participant