Incorrect positioning and distortion of structures when Copy-Pasting in Flex Mode #6441
Labels
Flex mode
Bucket: Flex canvas related mode
Priority: High
Severity: High
High level visibility to the user
Milestone
Description:
When copying and pasting structures in Flex Mode, the pasted structures are always inserted at a fixed offset relative to the initial copied structure. As a result, after multiple pastes, the newly inserted structures begin to distort and overlap, making the layout incorrect and difficult to work with.
This issue appears to be a side effect of the fix implemented in GitHub Issue #6132, which affected how pasted structures are positioned.
Steps to Reproduce
Actual behavior
The first pasted structure is inserted at a fixed offset relative to the original.
Each subsequent paste follows this same fixed offset, rather than adjusting to available space.
After multiple pastes, structures start to distort and overlap, leading to an incorrect representation.
Expected behavior
Each pasted structure should be placed in an available space without distortion. Maybe under cursor. (TBD Need to decide how it should works because algorithm of copy/paste not introduced for Macro mode)
Video
2025-02-04_16h54_31.mp4
Desktop:
Ketcher version
[Version 3.0.0-rc.8]
Indigo version
[Version 1.28.0-rc.3]
The text was updated successfully, but these errors were encountered: