epam / epam/Indigo

Clean Up action doesn't work when the arrow is on Canvas and corrupted element is selected

Open
#2,192 0 comments 0 reactions 0 assignees View on GitHub
Layout Priority: Medium Reactions
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
1. Add an arrow
2. Add Benzene ring
3. Corrupt the ring:
![image](https://github.com/user-attachments/assets/6f7f5d5a-99f7-4f41-b426-a952331e6f79)
4. Select the ring:
![image](https://github.com/user-attachments/assets/a81a211d-2d35-4bdd-a2e8-7a91dad7b429)
5. Click on Clean Up:
![image](https://github.com/user-attachments/assets/bae0dd3b-96ed-4d6f-bef3-887691529702)

**Expected behavior**
Error isn't displayed, ring is fixed:
![image](https://github.com/user-attachments/assets/f1c097a1-0069-4a6f-b961-cc16dab3f98f)

**Actual behavior**
Error is displayed:
![image](https://github.com/user-attachments/assets/c00e1abd-1e0f-4280-9103-04b9098cbf95)

**Environment details:**
- Ketcher version: [Version 2.23.0-rc.3] Build at 2024-07-14; 20:34:10
- Indigo version: Version 1.22.0-rc.3.0-gbb5c51fc2-wasm32-wasm-clang-19.0.0

**Action item**:
- **Need to automate this case after the fix.**

**Additional context**
- Detected during preview tests for Image feature - https://github.com/epam/Indigo/issues/2144. This issue is reproducible for images as well, as for now, images are not in the 2.23.0-rc.3. **The fix should be verified for images, shapes and text as well**.

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.