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

Incorrect selection display when using ketcher.editor.options API #5583

Open
Zhirnoff opened this issue Sep 25, 2024 · 0 comments
Open

Incorrect selection display when using ketcher.editor.options API #5583

Zhirnoff opened this issue Sep 25, 2024 · 0 comments
Labels
Micromolecules canvas Bucket: Micromolecules canvas related issues Priority: Medium

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Sep 25, 2024

Steps to Reproduce

  1. Open Ketcher in micro mode and DevTool Console
  2. Add any structures (e.g. Benzene rings)
  3. Use API window.ketcher.editor.options({ a: 1 }) or window.ketcher.editor.options({ viewOnlyMode: true })
  4. Take 'Rectangle selection' or 'Lasso' and select all structures

Actual behavior
When using the Selection Tool to select structures on canvas, incorrect visual artifacts appear, as shown in attached videos. Lines and shapes unrelated to original structures are displayed, leading to a distorted view of selected elements.

Expected behavior
The structures should be highlighted appropriately, with no visual artifacts or distortions during selection.

Screenshots

2024-09-25_13h41_46.mp4
2024-09-25_13h42_46.mp4

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.24.0-rc.3]
Bug found during testing but apparently it was introduced much earlier: #4965

@Zhirnoff Zhirnoff added bug Priority: Medium Micromolecules canvas Bucket: Micromolecules canvas related issues labels Sep 25, 2024
@Zhirnoff Zhirnoff added this to the Refined Backlog milestone Sep 25, 2024
@AlexeyGirin AlexeyGirin removed the bug label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Micromolecules canvas Bucket: Micromolecules canvas related issues Priority: Medium
Projects
None yet
Development

No branches or pull requests

2 participants