epam / epam/Indigo

Add/Remove hydrogens should not remove selection from any type of items on the canvas (labels, atoms, bonds and etc)

Open
#1,656 1 comment 0 reactions 1 assignee Claimed by @AliaksandrDziarkach View on GitHub
Hydrogens Priority: Medium
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Environment details (please complete the following information):**
- Indigo Toolkit Version 1.18.0-rc.5.0-gb21ab5ad5-wasm32-wasm-clang-12.0.0
- Ketcher Version 2.18.0-rc.2 Build at 2024-01-26; 15:56:57
- Chrome Version 120.0.6099.225 (Official Build) (64-bit)
- Win10
- Issue found while testing https://github.com/epam/Indigo/issues/1589

**Describe the bug**
Add/Remove hydrogens should not remove selection from any type of items on the canvas (labels, atoms, bonds and etc)

**Steps to Reproduce**
1. Load from file: [AllTypeOfItems.zip](https://github.com/epam/Indigo/files/14112805/AllTypeOfItems.zip) (unzip first)
2. Press Ctrl+A
3. Press Add/Remove explicit hydrogens button
![image](https://github.com/epam/Indigo/assets/26869421/383ace19-9562-4448-9551-cc6367bd2dbb)

**Actual behavior**
System removes selection
![image](https://github.com/epam/Indigo/assets/26869421/10d1810f-48f6-4238-af94-869d60765398)

**Expected behavior**
Selection remain in place
![image](https://github.com/epam/Indigo/assets/26869421/81e9ad49-5026-4b9c-8128-21010bb4306d)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.