epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
505 stars 175 forks source link

Macro: In View mode, the highlight of the nucleotide, over which the cursor is left, is not deleted, when pressing the “Esc” button #4276

Open ViktoriaTkacheva opened 8 months ago

ViktoriaTkacheva commented 8 months ago

Steps to Reproduce

  1. Launch “Ketcher” and switch to the Macro mode

  2. Open this file Macro sequence.zip

  3. Go to the Sequence mode

  4. Press the hotkeys Shift+LClick and select a few nucleotides on the canvas (or press the hotkeys Ctrl+LClick)

  5. Leave the cursor over one of the highlighted nucleotides

  6. Press the “Esc” button

  7. Verify whether the nucleotide, over which the cursor remains, is not highlighted

Actual behavior In View mode, the highlight of the nucleotide, over which the cursor is left, is not deleted, when pressing the “Esc” button

Expected behavior In View mode, the highlight of the nucleotide, over which the cursor is left, is deleted, when pressing the “Esc” button

Screenshots

https://github.com/epam/ketcher/assets/139227567/9157cb21-4afb-4bf0-ad98-7238167fe5ab

Desktop (please complete the following information):

Ketcher version 2.20.0-rc.1

Issue found while testing https://github.com/epam/ketcher/issues/3819

AlexeyGirin commented 8 months ago

Moved to 2.21 after discussion with @vanoprenko (considered as low priority and can be shifted)

AlexeyGirin commented 7 months ago

Moved to Refined Backlog since no fix over 1 version