[PR #14456] [MERGED] Fix a couple issues with experimental.useBackgroundImageForWindow #30096

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/14456
Author: @zadjii-msft
Created: 11/28/2022
Status: Merged
Merged: 11/29/2022
Merged by: @undefined

Base: mainHead: dev/migrie/b/14260-bgImageForWindow


📝 Commits (4)

  • fdb6752 This is one of the bugs I found, the residual image after disabling one
  • 14e270d the other part
  • 7b952cd Migrate spelling-0.0.21 changes from main
  • fe22354 Merge remote-tracking branch 'origin/main' into dev/migrie/b/14260-bgImageForWindow

📊 Changes

1 file changed (+21 additions, -14 deletions)

View changed files

📝 src/cascadia/TerminalApp/TerminalPage.cpp (+21 -14)

📄 Description

This fixes two issues with experimental.useBackgroundImageForWindow I discovered while looking at #14260

  • It looks like the opacity of the whole-window BG image wouldn't hot reload if the path didn't.
  • set useBGForWindow:true, focus a pane with an image, then set it to useBGForWindow:false, and observe a pane with <100 opacity. You'll be able to see the BG image left behind!

These are pretty easy to miss, so I can see how it happened.

I don't think this technically closes that thread, though. Ultimately, I think OP's settings were just wrong (and possible didn't hot-reload). There's another, trickier bit I'm discussing in that thread, that might deserve its own separate follow-up for discussion.


🔄 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/14456 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 11/28/2022 **Status:** ✅ Merged **Merged:** 11/29/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/migrie/b/14260-bgImageForWindow` --- ### 📝 Commits (4) - [`fdb6752`](https://github.com/microsoft/terminal/commit/fdb6752daccd87dc6862bcc8ca4b86d23471c8f3) This is one of the bugs I found, the residual image after disabling one - [`14e270d`](https://github.com/microsoft/terminal/commit/14e270d57e517b8b73e4dc64afd750b17fcfd438) the other part - [`7b952cd`](https://github.com/microsoft/terminal/commit/7b952cdfb932257bcb8caff09310cd6b9e7ed3e8) Migrate spelling-0.0.21 changes from main - [`fe22354`](https://github.com/microsoft/terminal/commit/fe22354856621fa567e8fb9251ee212932f070e9) Merge remote-tracking branch 'origin/main' into dev/migrie/b/14260-bgImageForWindow ### 📊 Changes **1 file changed** (+21 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/TerminalPage.cpp` (+21 -14) </details> ### 📄 Description This fixes two issues with `experimental.useBackgroundImageForWindow` I discovered while looking at #14260 * It looks like the opacity of the whole-window BG image wouldn't hot reload if the path didn't. * > set useBGForWindow:true, focus a pane with an image, then set it to useBGForWindow:false, and observe a pane with <100 opacity. You'll be able to see the BG image left behind! These are pretty easy to miss, so I can see how it happened. I don't think this _technically_ closes that thread, though. Ultimately, I think OP's settings were just wrong (and possible didn't hot-reload). There's another, trickier bit I'm discussing in that thread, that might deserve its own separate follow-up for discussion. --- <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:38:38 +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#30096