Skip to content

Deformation of nucleotide component and S-group structures after moving abbreviation and expanding #7366

Description

@Zhirnoff

Description:
When a structure is marked as a nucleotide component or S-group, and the abbreviation is moved to a new location in the contracted state, expanding the structure afterward results in a distorted layout. Bonds and atoms are displaced, and the overall geometry no longer reflects the original shape.
This behavior affects both macromolecule components (Base, Sugar, Phosphate) and generic S-groups.

Steps to Reproduce

  1. Open structure 3-benzene-rings.zip
  2. Collapse it into contracted form (abbreviation).
  3. Move the abbreviation to a new position on the canvas.
  4. Expand the structure again.
  5. Observe the resulting layout.
  6. Repeat the same steps with a generic S-group.

Actual behavior
The structure is expanded with distorted layout — bond angles and atom positions are shifted.

Expected behavior
Expanded structures should retain their original geometry regardless of abbreviation repositioning.

Screenshots
Nucleotide components:

2025-07-02_15h58_04.mp4

S-groups:

2025-07-02_15h54_32.mp4

Desktop:

  • OS: Windows 11
  • Browser Chrome
    Version 137.0.7151.104 (Official Build) (64-bit)

Ketcher version
[Version 3.6.0-rc.1]
Indigo version
[Version 1.34.0-rc.1]

This bug was found while testing: #7164

Activity

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

Metadata

Metadata

Assignees

Type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions