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

Cursor position is incorrect when editing sequence in Macro mode #5725

Closed
Zhirnoff opened this issue Oct 11, 2024 · 1 comment · Fixed by #5783 or #5813
Closed

Cursor position is incorrect when editing sequence in Macro mode #5725

Zhirnoff opened this issue Oct 11, 2024 · 1 comment · Fixed by #5783 or #5813
Assignees
Labels

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Oct 11, 2024

Steps to Reproduce

  1. Open Ketcher and switch to Macro mode.
  2. Add a sequence of monomers to the canvas.
  3. Right-click on a monomer ( or double click ) in the sequence (e.g., the 8th monomer) and start editing the sequence.

Actual behavior
The cursor appears to the left of the monomer that was clicked, which is inconsistent with the expected editing behavior. This can lead to confusion when modifying the sequence.
2024-10-11_13h36_17

Expected behavior
The cursor should appear to the right of the monomer on which the right-click ( double click ) was made, allowing for editing after the selected monomer
2024-10-11_13h36_31

Desktop:

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

Ketcher version
[Version 2.26.0-rc.1]
Indigo version
[Version 1.25.0-rc.1]
Bug related to task: #4888
#187898331

@Zhirnoff
Copy link
Collaborator Author

Tested. Bug fixed.

2024-10-21_12h42_54.mp4

Desktop:

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

Ketcher version
[Version 2.26.0-rc.4]
Indigo version
[Version 1.25.0-rc.2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment