The R-Group structure is relocated incorrectly when the Layout server function are applied
- Dominant language
- C++
- Stars
- 406
- Forks
- 134
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 24
Description
**Steps to Reproduce**
1. Launch the Ketcher
2. Create a structure (e.g. benzene)
3. Define it as R-Group member (e.g. R25)
4. Click on the `Clean-up` button
Expected behavior
Structure is relocated to the **top** left of the canvas

**Actual behavior**
Structure is relocated to the **down** left of the canvas
OS: [Windows NT 10.0 Win64; x64]
Browsers: Google Chrome: Version 102.0.5005.61/FireFox: Version 99.0.1 (64-bit)
Microsoft Edge: Version 101.0.1210.39 (Official build) (64-bit)
Ketcher v2.4.2-346-g71f17d98
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in Ketcher by creating a benzene R-group member and clicking Clean-up. Trace the Layout server function's handling of R-group structures and verify the fix by confirming the structure is relocated to the top-left of the canvas.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100