You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ivanmaslow
changed the title
Del key deletes atom under mouse custor but not a selected ones
Delete and Backspace hotkeys deletes elements under mouse cursor (hover), but not selected ones
Sep 4, 2024
The issue is reproducible for all types of elements and it causes multiple problems when trying to delete selected elements using hotkeys (delete or backspace) and when the cursor is on other elements, also there are issues with undo of deletion:
Also, please, take a look at the scenario below during the implementation of the fix, perhaps it's related to this issue, if not - please create an additional task:
Add two elements to Canvas (e.g.: arrow and benzene ring):
Select the first one (e.g.: arrow);
Click on Ctrl+C and hold
Hover on another element - the whole benzene ring is selected:
When you hovering, click on Ctrl+V, add an arrow to Canvas - hovering for the whole element is still displayed:
Steps to Reproduce
CCCCCCCCCCCCCCCCCCCCCCC
Actual behavior

System remove atom under mouse cursor.
Since that moment - pressing DEL button causes nothing
Expected behavior

System removes all selected atoms
Ketcher version [e.g. v2.4.2].
The text was updated successfully, but these errors were encountered: