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

RNA Builder section (Base, Sugar, Phosphate) do not highlight corresponding monomer in library on first click #6830

Open
Zhirnoff opened this issue Apr 3, 2025 · 0 comments
Labels
Monomer Library Priority: High RNA Builder Bucket: RNA builder related issues Severity: Medium Medium level visibility to the user

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Apr 3, 2025

Description:
Clicking on the Base, Sugar, or Phosphate cards in the RNA Builder does not open the corresponding section in the library and does not select the monomer that is currently set in the builder. According to the requirements:

1. When a base is picked in the RNA Builder, clicking on the Base card in RNA Builder should lead to that base in the Bases subsection of the library and the base card should appear selected (as if it was clicked on).

4. Modifying sugars and phosphates should follow the logic from requirement 1 if all sugars/phosphates are the same (or there is only one)...

Currently, the behavior is inconsistent: nothing happens on first click. Only after clicking the same card a second time does the library scroll to the corresponding monomer and highlight it.

Steps to Reproduce

  1. Open RNA Builder.
  2. Add Base/Sugar/Phosphate not from the top of Library
  3. Click once on the Base/Sugar/Phosphate in RNA Builder
  4. Observe that the library does not scroll to selected monomer.

Actual behavior
Clicking once does nothing. Only the second click highlights the monomer.
This behavior works as expected in the popup version of Ketcher — the library opens the correct section and highlights the selected monomer on the first click.

Expected behavior
Clicking on the Base/Sugar/Phosphate card in the RNA Builder should immediately scroll to the relevant section in the library and highlight the selected monomer.

Video

2025-04-03_16h37_11.mp4

Desktop:

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

Ketcher version
[Version 3.3.0-rc.1]
Indigo version
[Version 1.31.0-rc.1]

This bug was found while testing: #6519

@Zhirnoff Zhirnoff added Monomer Library Priority: High RNA Builder Bucket: RNA builder related issues Severity: Medium Medium level visibility to the user labels Apr 3, 2025
@Zhirnoff Zhirnoff added this to the Ketcher 3.3.0-rc.2 milestone Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Monomer Library Priority: High RNA Builder Bucket: RNA builder related issues Severity: Medium Medium level visibility to the user
Projects
None yet
Development

No branches or pull requests

1 participant