Using unfocussedAppearance resets terminal background color #22348

Closed
opened 2026-01-31 08:10:30 +00:00 by claunia · 2 comments
Owner

Originally created by @Archomeda on GitHub (Oct 4, 2024).

Windows Terminal version

1.20.11781.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

  1. Add the following to settings.json -> profiles -> defaults:
"unfocusedAppearance": 
{
  "opacity": 70,
  "useAcrylic": true
}
  1. Open a new tab
  2. Run Write-Output "`e]4;262;rgb:68/4a/00`e\", which turns the background into a dark yellow color
  3. Unfocus Windows Terminal
  4. See that the background color is back to its original color

Expected Behavior

The background color should not be reset to its original color.

Actual Behavior

The background color is reset to its default color.

Originally created by @Archomeda on GitHub (Oct 4, 2024). ### Windows Terminal version 1.20.11781.0 ### Windows build number 10.0.22631.0 ### Other Software _No response_ ### Steps to reproduce 1. Add the following to settings.json -> profiles -> defaults: ```json "unfocusedAppearance": { "opacity": 70, "useAcrylic": true } ``` 2. Open a new tab 3. Run ```Write-Output "`e]4;262;rgb:68/4a/00`e\"```, which turns the background into a dark yellow color 4. Unfocus Windows Terminal 5. See that the background color is back to its original color ### Expected Behavior The background color should not be reset to its original color. ### Actual Behavior The background color is reset to its default color.
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:10:30 +00:00
Author
Owner

@similar-issues-ai[bot] commented on GitHub (Oct 4, 2024):

We've found some similar issues:

  • #14337 , similarity score: 83%
  • #9834 , similarity score: 83%
  • #11990 , similarity score: 82%

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@similar-issues-ai[bot] commented on GitHub (Oct 4, 2024): We've found some similar issues: - #14337 , similarity score: 83% - #9834 , similarity score: 83% - #11990 , similarity score: 82% If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue. > Note: You can give me feedback by 👍 or 👎 this comment.
Author
Owner

@Archomeda commented on GitHub (Oct 4, 2024):

Ah, it looks like #11990 is similar.

@Archomeda commented on GitHub (Oct 4, 2024): Ah, it looks like #11990 is similar.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22348