Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotkey (Del) can't delete Functional Groups and Salts abbreviation #2420

Closed
Zhirnoff opened this issue Mar 27, 2023 · 1 comment · Fixed by #2478, #2562 or #2564
Closed

Hotkey (Del) can't delete Functional Groups and Salts abbreviation #2420

Zhirnoff opened this issue Mar 27, 2023 · 1 comment · Fixed by #2478, #2562 or #2564
Assignees
Labels

Comments

@Zhirnoff
Copy link
Collaborator

Steps to Reproduce

  1. Open Ketcher
  2. Add Functional Groups and Salts abbreviations on canvas
  3. Hover mouse over Functional Groups and Salts abbreviations and press hotkey (Del)

Actual behavior
Functional Groups and Salts abbreviations are not deleted

Expected behavior
Functional Groups and Salts abbreviations are deleted

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 109.0.5414.120 (Official Build) (64-bit)

Ketcher version
Version 2.9.0-rc.5

@Zhirnoff Zhirnoff added the bug label Mar 27, 2023
@Zhirnoff Zhirnoff added this to the Ketcher 2.10.0-rc.1 milestone Mar 27, 2023
@Nitvex Nitvex assigned Ziprion and unassigned Nitvex Apr 10, 2023
Ziprion pushed a commit that referenced this issue Apr 13, 2023
Ziprion pushed a commit that referenced this issue Apr 18, 2023
Ziprion pushed a commit that referenced this issue Apr 18, 2023
Nitvex pushed a commit that referenced this issue Apr 19, 2023
…ion (#2478)

* #2420 - hotkey del can not delete functional groups and salts abbreviation

* #2420 - fix bonds iteration

* #2420 - change variable name

---------

Co-authored-by: Maxim Novikov <Maxim_Novikov@epam.com>
@Zhirnoff
Copy link
Collaborator Author

A contracted function group abbreviation is removed with the DEL hotkey. But now it became possible to delete parts of the expanded functional group or salt with the DEL hotkey. When trying to change the functional group or salt, a warning window should appear (EDIT ABBREVIATION)

2023-04-24_14h06_02.mp4

@Zhirnoff Zhirnoff reopened this Apr 24, 2023
Ziprion pushed a commit that referenced this issue Apr 26, 2023
ghost pushed a commit that referenced this issue May 1, 2023
ghost pushed a commit that referenced this issue May 1, 2023
ghost pushed a commit that referenced this issue May 1, 2023
@ghost ghost linked a pull request May 1, 2023 that will close this issue
Nitvex pushed a commit that referenced this issue May 1, 2023
…tion (#2562)

* #2420 - hotkey del can not delete functional groups and salts abbreviation

* #2420 - fix deleting behavior

* #2420 - Added struct type const

---------

Co-authored-by: Maxim Novikov <Maxim_Novikov@epam.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment