epam / epam/Indigo

After pasting from the clipboard, the IDT preview tooltip does not show the IDT alias on the canvas

Open
#3,448 0 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
IDT Priority: Low
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

_**Case 1:**_
**Steps to Reproduce**
1. Go to Macromolecules mode.
2. Click on the “A” (layout switch) button in the top panel.

Image

3. Then click the “Flex layout” button(the branching icon).

Image

4. Clear Canvas.
5. Click on Open Structure.

Image

6. Choose Paste From Clipboard.
7. Click on "Ket"

Image

8. Choose IDT from the dropdown menu and input: `/55HydMe-dC/`.
Image

9. Hover mouse over nucleotide to get preview tooltip on main screen.

_**Case 2:**_
**Steps to Reproduce**
1. Go to Macromolecules mode.
2. Click on the “A” (layout switch) button in the top panel.

Image

3. Then click the “Flex layout” button(the branching icon).

Image

4. Clear Canvas.
5. Click on Open Structure.

Image

6. Choose Paste From Clipboard.
7. Click on "Ket"
8. Choose IDT from the dropdown menu and input: `/3ThioMC3-D/`Image
9. Hover mouse over CHEM SS3 to get preview tooltip on main screen

**Actual behavior**
After pasting from the clipboard, the IDT preview tooltip does not show the IDT alias on the canvas. But when we select same monomer from library and add it to canvas IDT alias is shown.
![2024-08-07_11h08_08](https://github.com/user-attachments/assets/5507c9b5-1410-4a52-8765-1fa83e7577ff)

image

**Expected behavior**
After pasting from the clipboard, the IDT preview tooltip show the IDT alias on the canvas
![2024-08-07_11h22_38](https://github.com/user-attachments/assets/e52baeef-3ae1-434c-af09-48af587e78e7)

image

**Desktop:**
- OS: Windows 11
- Browser Chrome
- Version 124.0.6367.79 (Official Build) (64-bit) and (127.0.6533.122) x 64

**Ketcher version**
[Version 2.24.0-rc.1]
**Indigo version**
[Version 1.23.0-rc.1]

**Additional context**
Bug found when testing:
https://github.com/epam/ketcher/issues/4880
https://github.com/epam/ketcher/issues/5078
https://github.com/epam/ketcher/issues/4926

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.