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

Load from file having only micro structures on macro canvas causes unnecessary zoom up to 200% and shift molecule to top left angle #5969

Closed
AlexeyGirin opened this issue Nov 13, 2024 · 1 comment · Fixed by #6057, #6064 or #6072
Assignees
Labels
Flex mode Bucket: Flex canvas related mode Priority: Low

Comments

@AlexeyGirin
Copy link
Collaborator

Steps to Reproduce

  1. Go to Macro - Flex
  2. Load from file: Benzene ring.zip

Actual behavior
Canvas zoomed to 200% and molecule shifted to top left angle
image

Expected behavior
No zoom, molecule at the center
image

Versions

  • Ketcher Version 2.27.0-rc.2 Build at 2024-11-12; 19:26:10
  • Indigo Toolkit Version 1.26.0-rc.2.0-gfec30ecd8-wasm32-wasm-clang-19.0.0
  • Chrome Version 131.0.6778.70 (Official Build) (64-bit)
  • Win10

Issue found while testing: #5600

@AlexeyGirin AlexeyGirin added bug Priority: Low Flex mode Bucket: Flex canvas related mode labels Nov 13, 2024
@AlexeyGirin AlexeyGirin added this to the Ketcher 2.27.0-rc.3 milestone Nov 13, 2024
@rrodionov91 rrodionov91 self-assigned this Dec 4, 2024
rrodionov91 added a commit that referenced this issue Dec 4, 2024
…auses unnecessary zoom up to 200% and shift molecule to top left angle
rrodionov91 added a commit that referenced this issue Dec 4, 2024
…auses unnecessary zoom up to 200% and shift molecule to top left angle (#6057)
rrodionov91 added a commit that referenced this issue Dec 4, 2024
…auses unnecessary zoom up to 200% and shift molecule to top left angle (#6057)
rrodionov91 added a commit that referenced this issue Dec 5, 2024
…auses unnecessary zoom up to 200% and shift molecule to top left angle (#6057) (#6064)
rrodionov91 added a commit that referenced this issue Dec 5, 2024
…auses unnecessary zoom up to 200% and shift molecule to top left angle
rrodionov91 added a commit that referenced this issue Dec 5, 2024
…auses unnecessary zoom up to 200% and shift molecule to top left angle (#6072)
@AlexeyGirin
Copy link
Collaborator Author

Verified.
image

  • Ketcher Version 2.27.0-rc.3 Build at 2024-12-25; 10:08:04
  • Indigo Version 1.26.0-rc.5.0-g42ee8510b-wasm32-wasm-clang-19.0.0
  • Chrome Version 131.0.6778.205 (Official Build) (64-bit)
  • Win10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment