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

In Snake mode, structure in HELM format does not open via Paste from clipboard #5609

Closed
Tracked by #6601
Zhirnoff opened this issue Sep 30, 2024 · 1 comment
Closed
Tracked by #6601
Assignees
Labels
HELM Bucket: Bugs related to Export to HELM format mode: remote Issue is valid for remote mode Priority: High

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Sep 30, 2024

Steps to Reproduce

  1. Switch to the Macro mode (Remote mode) – the Snake mode
  2. Open the Console
  3. Load via the Paste from clipboard, selecting HELM type: PEPTIDE1{C.[Apm].D.[dC].E}|PEPTIDE2{F.[D-gGlu].G.[D-Orn].I}$PEPTIDE1,PEPTIDE2,2:R3-2:R3|PEPTIDE2,PEPTIDE1,4:R3-4:R3$$$V2.0
  4. Click on the “Add to Canvas” button

Actual behavior
The bug is reproduced with a new error, which appears after clicking the "Close" button:
Blocked aria-hidden on a <button> element because the element that just received focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden. <button class=​"MuiButtonBase-root e1oaegu30 ejign8b1 css-i5kpl3" tabindex=​"0" type=​"button" title=​"Structure will be loaded as fragment and added to Clipboard" role=​"button" data-testid=​"add-to-canvas-button">​…​</button>​flex

image

localhost-1724424078470.log

2024-08-23_15h14_13.mp4

Expected behavior
There are no errors on the canvas and in the Console. The structure in the HELM format opens in the Remote mode

Desktop (please complete the following information):

  • OS: Windows 10 Pro (version 22H2) x64
  • Browser: Сhrome
  • Version: (126.0.6478.127) x64

Ketcher version
2.24.0-rc.3, Build at 2024-07-14; 20:40:06
Original bug: #4977
Issue found while testing #5132

@Zhirnoff Zhirnoff added bug Priority: High mode: remote Issue is valid for remote mode HELM Bucket: Bugs related to Export to HELM format labels Sep 30, 2024
@Zhirnoff Zhirnoff added this to the Ketcher 2.27.0-rc.1 milestone Sep 30, 2024
@rrodionov91 rrodionov91 self-assigned this Nov 27, 2024
@Zhirnoff
Copy link
Collaborator Author

Zhirnoff commented Dec 6, 2024

Tested. Bug fixed.

2024-12-06_15h31_45

Desktop:

  • OS: Windows 11
  • Browser Chrome
  • Version 128.0.6613.120 (Official Build) (64-bit)

Ketcher version
[Version 2.28.0-rc.1]
Indigo version
[Version 1.27.0-rc.1]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HELM Bucket: Bugs related to Export to HELM format mode: remote Issue is valid for remote mode Priority: High
Projects
None yet
Development

No branches or pull requests

2 participants