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

Toggling between Flex and Sequence modes causes loosing layout info #5372

Closed
AlexeyGirin opened this issue Aug 27, 2024 · 1 comment · Fixed by #5616
Closed

Toggling between Flex and Sequence modes causes loosing layout info #5372

AlexeyGirin opened this issue Aug 27, 2024 · 1 comment · Fixed by #5616
Assignees
Labels
Flex mode Bucket: Flex canvas related mode Priority: High Sequence mode Bucket: Sequence mode related issues User`s Feedback

Comments

@AlexeyGirin
Copy link
Collaborator

Steps to Reproduce

  1. Toggle to Macromolecules mode - Flex mode
  2. Load from file: System should remember the canvas mode on Molecules_Macromolecules mode switch (do not switch to Sequernce by default).zip
    image
  3. Toggle to Sequence mode
  4. Toggle back to Flex mode

Actual behavior
System lost layout info
image

Expected behavior
System keeps layout info
image

Versions

  • Ketcher Version 2.24.0-rc.2 Build at 2024-08-14; 19:06:32
  • Indigo Toolkit Version 1.23.0-rc.2.0-g6a2a7526a-x86_64-linux-gnu-11.2.1
  • Chrome Version 127.0.6533.100 (Official Build) (64-bit)
  • Win10
@AlexeyGirin AlexeyGirin added bug Priority: High User`s Feedback Sequence mode Bucket: Sequence mode related issues Flex mode Bucket: Flex canvas related mode labels Aug 27, 2024
@AlexeyGirin AlexeyGirin added this to the Ketcher 2.26.0-rc.1 milestone Aug 27, 2024
@mnmsvlw mnmsvlw self-assigned this Sep 30, 2024
NataliaLoginova pushed a commit that referenced this issue Oct 29, 2024
…t info (#5616)

* #5372 - toggling between flex and sequence modes causes loosing layout info

* #5372 - enable sequence mode layout recalculation only after sequence update

* Fix bug

* Update monomer position

* Update scrolling condition

* Update screenshots

* Update failed test screenshots

* Update screenshots

* Update sequence mode screenshot

* Resolve merge conflicts
@AlexeyGirin
Copy link
Collaborator Author

Verified.
image

  • Ketcher Version 2.27.0-rc.1 Build at 2024-11-05; 14:55:18
  • Indigo Toolkit Version 1.26.0-rc.1.0-g904d2d992-wasm32-wasm-clang-19.0.0
  • Chrome Version 130.0.6723.117 (Official Build) (64-bit)
  • Win10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flex mode Bucket: Flex canvas related mode Priority: High Sequence mode Bucket: Sequence mode related issues User`s Feedback
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants