Skip to content

Rotation tool: Current rotation angle values remain positive beyond 180 degrees instead of switching to negative #10283

Description

@MarinaKisacik

Found while testing #9383

Steps to Reproduce:

  1. Go to Macromolecules - Flex mode (clean canvas)
  2. Paste the following HELM string from the clipboard: RNA1{d([Hyp])p}$$$$V2.0
  3. Select the whole structure to display the rotation tool
  4. Rotate the selected structure clockwise so that the current rotation angle exceeds 180 degrees

Actual Results:
After reaching 180 degrees, the current rotation angle values continue to increase positively up to 270 degrees, rather than switching to negative decreasing values

Image

Expected Results:
Once the current rotation angle exceeds 180 degrees, the values should switch to negative and decrease from -180 degrees to 0 degrees.

Image

Refer to the video for Molecules mode. In Macro, the behaviour should be consistent:

Expected.Behavior.in.Micro.mp4

Found in Environment:

  • Ketcher Version 3.17.0-rc.1 Build at 2026-06-02; 21:27:10
  • Indigo Version 1.45.0-rc.2.0-g168fb85f2-wasm32-wasm-clang-23.0.0
  • Chrome Version 149.0.7827.103 (Official Build) (64-bit)
  • Win11

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    Status
    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions