epam / ketcher

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

Macro: After Undo/Redo actions for editing mode Enter repeats these actions. #4338

Open NadezhdaPeskun opened 7 months ago

NadezhdaPeskun commented 7 months ago

Steps to Reproduce 1.Macro mode

  1. Sequence mode >> RNA >>add AAATTT >> DNA >> add AAATTT >> Peptides >>add AAATTT
  2. Undo several times >> Enter several times.
  3. Redo several times >> Enter several times.

https://github.com/epam/ketcher/assets/161723514/46752b31-6e8e-43c3-9d28-a7794c27b152

Sometimes after that duplicate of letters might be appear.

https://github.com/epam/ketcher/assets/161723514/e486629d-0a8c-4e61-a306-439e2719ba2b

Actual behavior After Undo/Redo actions for editing mode Enter repeats these actions.

Expected behavior After Undo/Redo actions for editing mode Enter should not repeat these actions.

Desktop (please complete the following information):

Ketcher version [Version 2.20.0-rc.1]

AlexeyGirin commented 6 months ago

Moved to Refined Backlog since not fixed over 1 release