Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 15, 2026

How the feature works? / How did you fix the issue?

  • Problem: In the S-Group Properties dialog, the Subtype combobox rendered narrower than Type/Repeat pattern when selecting Copolymer, and the default “Not Specified” value appeared blank when selected.
  • Changes

Check list

  • unit-tests written
  • e2e-tests written
  • documentation updated
  • PR name follows the pattern #1234 – issue name
  • branch name doesn't contain '#'
  • PR is linked with the issue
  • base branch (master or release/xx) is correct
  • task status changed to "Code review"
  • reviewers are notified about the pull request
Original prompt

This section details on the original issue you should resolve

<issue_title>Subtype combo box width is less than other combo boxes on S-Group Properties dialog</issue_title>
<issue_description>Steps to Reproduce

  1. Open Molecules mode (clean canvas)
  2. Load following SMILES: CCCCC
Image
  1. Select whole molecule
Image
  1. Press S-Group button (or Ctrl+G keyboard shortcut) to open S-Group Properties dialog
  2. Change Type combo box value to Copolymer

Actual behavior
Subtype combo box width is less than other combo boxes
Image

Expected behavior
Subtype combo box width is equal to Type and Repeat pattern combo boxes
Image

Environment details:

  • Ketcher Version 3.11.0-rc.1 2025-11-27; 18:06:40
  • Indigo Version 1.39.0-rc.1.0-gddb882b27-wasm32-wasm-clang-19.0.0
  • Chrome Version 142.0.7444.176 (Official Build) (64-bit)
  • Win10</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix width of subtype combo box in S-Group Properties dialog Align S-Group subtype combobox width with other selects Jan 15, 2026
Copilot AI requested a review from AlexeyGirin January 15, 2026 14:10
@AlexeyGirin
Copy link
Collaborator

@copilot you did changes in right direction but when I open S-Group dialog the default value (Not Specified) is not visible if selected. It is present in combo box list but if I select it - selected value remain blank. All other values are visible if selected. Please make it visible as well as other values from the list

Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 15, 2026

@copilot you did changes in right direction but when I open S-Group dialog the default value (Not Specified) is not visible if selected. It is present in combo box list but if I select it - selected...

Fixed. The “Not Specified” option now shows when selected. Screenshot: https://github.com/user-attachments/assets/0cf4a69a-9b22-4794-866f-7ae484668d9b

Copilot AI changed the title Align S-Group subtype combobox width with other selects Align S-Group subtype combobox width and default option visibility Jan 15, 2026
@AlexeyGirin AlexeyGirin marked this pull request as ready for review January 21, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subtype combo box width is less than other combo boxes on S-Group Properties dialog

2 participants