[PR #11368] [MERGED] Always init the BG opacity with the renderer #28527

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/11368
Author: @zadjii-msft
Created: 9/29/2021
Status: Merged
Merged: 9/29/2021
Merged by: @undefined

Base: mainHead: dev/migrie/b/11315-cleartype-oof


📝 Commits (1)

  • 76e3477 Always init the BG opacity with the renderer

📊 Changes

2 files changed (+3 additions, -5 deletions)

View changed files

📝 src/cascadia/TerminalControl/ControlCore.cpp (+2 -4)
📝 src/cascadia/TerminalControl/TermControl.cpp (+1 -1)

📄 Description

Missed this in #11180. I forgot to init the BG opacity with the renderer on startup, because that matters when you have "antialiasingMode": "cleartype",.

Repro json

{
    "commandline": "cmd.exe",
    "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
    "hidden": false,
    "opacity": 35,
    "antialiasingMode": "cleartype",
    "padding": "0",
    "name": "Command Prompt"
},

🔄 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/11368 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 9/29/2021 **Status:** ✅ Merged **Merged:** 9/29/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/migrie/b/11315-cleartype-oof` --- ### 📝 Commits (1) - [`76e3477`](https://github.com/microsoft/terminal/commit/76e347760980d3c7c7213bedf66dded59938c069) Always init the BG opacity with the renderer ### 📊 Changes **2 files changed** (+3 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/ControlCore.cpp` (+2 -4) 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+1 -1) </details> ### 📄 Description Missed this in #11180. I forgot to init the BG opacity with the renderer on startup, because that matters when you have `"antialiasingMode": "cleartype",`. Repro json ```json { "commandline": "cmd.exe", "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": false, "opacity": 35, "antialiasingMode": "cleartype", "padding": "0", "name": "Command Prompt" }, ``` * [x] Fixes #11315 --- <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:29:05 +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#28527