Skip to content

Context menu remains visible after creating cyclic structure via right-click menu #8397

Closed

Description

@Zhirnoff

Description:
After creating a cyclic structure using the Create cyclic structure option from the right-click context menu, the menu does not automatically close. It remains visible (stuck) on the canvas until the user performs an additional click anywhere on the workspace.

Steps to Reproduce

  1. Switch to Macromolecules → Flex mode.
  2. Draw a valid polymer chain that meets cyclic structure criteria.
  3. Right-click on the selected structure.
  4. Select Create cyclic structure from the context menu.

Actual behavior
The context menu remains visible on the canvas after the layout action.
It disappears only after an extra click on an empty area of the canvas.

Expected behavior
After clicking Create cyclic structure, the context menu should automatically close.
The cyclic structure should be generated, and the canvas should regain focus immediately.

Screenshots

2025-11-05_11h21_00.mp4

Desktop:

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

Ketcher version
[Version 3.10.0-rc.1]
Indigo version
[Version 1.38.0-rc.1]

This bug was found while testing: #7970

Activity

  1. added this to the Eternal Purgatorium milestone on Nov 5, 2025
  2. added theissue type on Nov 5, 2025
  3. Zhirnoff commented on Nov 28, 2025

    @Zhirnoff
    CollaboratorAuthor

    Tested. Bug fixed.

    Image

    Desktop:

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

    Ketcher version
    [Version 3.11.0-rc.1]
    Indigo version
    [Version 1.39.0-rc.1]

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

Metadata

Metadata

Labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions