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

Sync mode causes incorrect letter input after adding a monomer in non-sync mode #6631

Open
Zhirnoff opened this issue Mar 7, 2025 · 0 comments
Labels
Antisense Bucket: Antisense related issues Priority: Medium Sequence mode Bucket: Sequence mode related issues Severity: Medium Medium level visibility to the user

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Mar 7, 2025

Description:
When a user adds a monomer (U) in antisense with sync mode disabled, the antisense strand flips to the top during editing. After enabling sync mode and clearing the canvas, the letter input becomes reversed, meaning pressing "A" types "U" and pressing "U" types "A".

Steps to Reproduce

  1. Open sequence mode and create sense and antisense chains.
  2. Disable sync mode and add monomer "U" in the antisense chain.
  3. Notice that the antisense strand flips during editing.
  4. Enable sync mode and click Clear Canvas.
  5. Try to type "A" or "U" on the keyboard.

Actual behavior
The letter input is reversed:
Pressing "A" types "U".
Pressing "U" types "A".

Expected behavior
Letter input should remain correct: pressing "A" should type "A", pressing "U" should type "U".

Video

2025-03-07_18h13_37.mp4

Desktop:

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

Ketcher version
[Version 3.2.0-rc.1]
Indigo version
[Version 1.30.0-rc.1]
This bug was found while testing: #6254

@Zhirnoff Zhirnoff added Antisense Bucket: Antisense related issues Priority: Medium Sequence mode Bucket: Sequence mode related issues Severity: Medium Medium level visibility to the user labels Mar 7, 2025
@Zhirnoff Zhirnoff added this to the Ketcher 3.2.0-rc.2 milestone Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Antisense Bucket: Antisense related issues Priority: Medium Sequence mode Bucket: Sequence mode related issues Severity: Medium Medium level visibility to the user
Projects
None yet
Development

No branches or pull requests

1 participant