[PR #12099] [MERGED] Update RGB values when selecting a conhost color property #28846

Open
opened 2026-01-31 09:31:10 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/12099
Author: @j4james
Created: 1/6/2022
Status: ✅ Merged
Merged: 1/7/2022
Merged by: @undefined

Base: main ← Head: fix-color-properties


📝 Commits (1)

  • 247d61e Update color value fields in properties dialog.

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 src/propsheet/ColorsPage.cpp (+5 -0)

📄 Description

When editing colors in the conhost properties dialog, and you select an
item to update (e.g. Screen Text, or Screen Background), the associated
color swatch for that item would be highlighted, but the RGB color
values weren't updated to reflect that selection. This PR fixes it so
the RGB values are now correctly refreshed.

I just copied the three lines used up update the color value fields from
the code that handles changes to the color swatch selection. I didn't
think it was worth pulling those three lines out into a separate
function.

Validation Steps Performed

I've manually verified that the RGB values are now refreshed correctly
when selecting a color item to update.

Closes #1220


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/12099 **Author:** [@j4james](https://github.com/j4james) **Created:** 1/6/2022 **Status:** ✅ Merged **Merged:** 1/7/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `fix-color-properties` --- ### 📝 Commits (1) - [`247d61e`](https://github.com/microsoft/terminal/commit/247d61e2badc1e7f8e662aa4fe8502455b136c8b) Update color value fields in properties dialog. ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/propsheet/ColorsPage.cpp` (+5 -0) </details> ### 📄 Description When editing colors in the conhost properties dialog, and you select an item to update (e.g. Screen Text, or Screen Background), the associated color swatch for that item would be highlighted, but the RGB color values weren't updated to reflect that selection. This PR fixes it so the RGB values are now correctly refreshed. I just copied the three lines used up update the color value fields from the code that handles changes to the color swatch selection. I didn't think it was worth pulling those three lines out into a separate function. ## Validation Steps Performed I've manually verified that the RGB values are now refreshed correctly when selecting a color item to update. Closes #1220 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:31:10 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28846