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

Undo of clear canvas operation causes molecules bonds overlap atom labels #6541

Open
AlexeyGirin opened this issue Feb 19, 2025 · 0 comments
Labels
Flex mode Bucket: Flex canvas related mode Micro-Macro Bucket: Bugs related to Micro structures on Macro mode Priority: High Severity: High High level visibility to the user

Comments

@AlexeyGirin
Copy link
Collaborator

Steps to Reproduce

  1. Go to Macromolecules - Flex mode
  2. Load from following MOL v3000 from clipboard:

  -INDIGO-02192518422D

  6  6  0  0  0  0  0  0  0  0999 V2000
   15.8598   -8.2251    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
   17.5902   -8.2246    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
   16.7266   -7.7250    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
   17.5902   -9.2255    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
   15.8598   -9.2300    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
   16.7288   -9.7250    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
  3  1  2  0  0  0  0
  1  5  1  0  0  0  0
  5  6  2  0  0  0  0
  6  4  1  0  0  0  0
  4  2  2  0  0  0  0
  2  3  1  0  0  0  0
M  END

Image

  1. Press Clear canvas button
  2. Press Undo button

Actual behavior
Bonds overlaps labels
Image

Expected behavior
No bond overlaping
Image

Versions

  • Ketcher Version 3.1.0-rc.3 Build at 2025-02-11; 20:29:49
  • Indigo Version 1.29.0-rc.1.0-g2e30df8f7-wasm32-wasm-clang-19.0.0
  • Chrome Version 133.0.6943.54 (Official Build) (64-bit)
  • Win10

Issue found while testing: #5359

@AlexeyGirin AlexeyGirin added Flex mode Bucket: Flex canvas related mode Micro-Macro Bucket: Bugs related to Micro structures on Macro mode Priority: High Severity: High High level visibility to the user labels Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flex mode Bucket: Flex canvas related mode Micro-Macro Bucket: Bugs related to Micro structures on Macro mode Priority: High Severity: High High level visibility to the user
Projects
None yet
Development

No branches or pull requests

2 participants