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

Long bond appears behind the structure after Copy-Paste in Flex Mode #6456

Open
Zhirnoff opened this issue Feb 10, 2025 · 0 comments
Open

Long bond appears behind the structure after Copy-Paste in Flex Mode #6456

Zhirnoff opened this issue Feb 10, 2025 · 0 comments
Labels
Flex mode Bucket: Flex canvas related mode Priority: Medium Severity: High High level visibility to the user

Comments

@Zhirnoff
Copy link
Collaborator

Description:
In Flex Mode, when copying and pasting a structure that contains a long bond, the long bond is incorrectly rendered behind the structure, instead of appearing above the monomers as expected. This issue causes visual inconsistencies and makes it difficult to interpret the molecular connections correctly.

Steps to Reproduce

  1. Switch to Flex Mode in Macromolecules.
  2. Draw or load a structure that contains a long bond.

Image

  1. Copy (Ctrl+C) and Paste (Ctrl+V) the structure onto the canvas.
  2. Observe the placement of the long bond in the newly pasted structure.

Actual behavior
The long bond appears behind the monomers, making it difficult to see and misrepresenting the intended structure.

Image

Expected behavior
The long bond should always appear on top of the structure, maintaining its original placement and visibility.

Image

Desktop:

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

Ketcher version
[Version 3.1.0-rc.2]
Indigo version
[Version 1.29.0-rc.1]

Bug found while testing #6167

@Zhirnoff Zhirnoff added Flex mode Bucket: Flex canvas related mode Priority: Medium Severity: Medium Medium level visibility to the user labels Feb 10, 2025
@Zhirnoff Zhirnoff added this to the Ketcher 3.1.0-rc.3 milestone Feb 10, 2025
@Zhirnoff Zhirnoff added Severity: High High level visibility to the user and removed Severity: Medium Medium level visibility to the user labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flex mode Bucket: Flex canvas related mode Priority: Medium Severity: High High level visibility to the user
Projects
None yet
Development

No branches or pull requests

1 participant