epam / ketcher

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

Macro: Escape button unselect nucleotides if a sequence in Modify in RNA builder mode #4491

Open Zhirnoff opened 5 months ago

Zhirnoff commented 5 months ago

Steps to Reproduce

  1. Switch to Macro mode -> Sequence mode
  2. Add sequence letters and select any
  3. Right-click on selected letters and choose 'Modify in RNA builder'
  4. Press 'Esc' button

Actual behavior Escape button unselect nucleotides if a sequence in Modify in RNA builder mode

Expected behavior Escape button not unselect nucleotides if a sequence in Modify in RNA builder mode as it described in p. 9 Do not allow an user to unselect nucleotides if a sequence in "Modify in RNA builder" mode, while an user in "Modify in RNA builder" mode. https://github.com/epam/ketcher/issues/3824

Screenshots/Videos

https://github.com/epam/ketcher/assets/62464241/efc6e48e-291d-4a48-942e-2c24028b605e

Desktop (please complete the following information):

Ketcher version [Version 2.21.0-rc.1]

ViktoriaTkacheva commented 4 months ago

Also clicking on the Select Rectangle button or pressing Shift+Tab hotkeys unselects nucleotides, if a sequence is in the “Modify in RNA builder” mode