Actual behavior
In case of picture 1 - system adjust top left of bounding box of loaded content to top left corner of canvas + autozoom triggered
In case of picture 2 - system adjust center of bounding box of loaded content to the center of canvas (no autozoom)
As per @ljubica-milovic - logic should be consistent - we have to adjust top left of bounding box of loaded content to top left corner of canvas in any case
Expected behavior
In case of picture 1 - system adjust top left of bounding box of loaded content to top left corner of canvas + autozoom triggered
In case of picture 2 - system adjust top left of bounding box of loaded content to top left corner of canvas (no autozoom)
As per @ljubica-milovic - logic should be consistent - we have to adjust top left of bounding box of loaded content to top left corner of canvas in any case
Versions
Ketcher Version 2.27.0-rc.1 Build at 2024-11-05; 14:55:18
Indigo Toolkit Version 1.26.0-rc.1.0-g904d2d992-wasm32-wasm-clang-19.0.0
Chrome Version 130.0.6723.117 (Official Build) (64-bit)
Steps to Reproduce
Actual behavior In case of picture 1 - system adjust top left of bounding box of loaded content to top left corner of canvas + autozoom triggered In case of picture 2 - system adjust center of bounding box of loaded content to the center of canvas (no autozoom)
As per @ljubica-milovic - logic should be consistent - we have to adjust top left of bounding box of loaded content to top left corner of canvas in any case
Expected behavior In case of picture 1 - system adjust top left of bounding box of loaded content to top left corner of canvas + autozoom triggered In case of picture 2 - system adjust top left of bounding box of loaded content to top left corner of canvas (no autozoom)
As per @ljubica-milovic - logic should be consistent - we have to adjust top left of bounding box of loaded content to top left corner of canvas in any case
Versions
Found while testing - https://github.com/epam/ketcher/issues/5600