Features restored to defaults when unfocused #22572

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

Originally created by @angelog0 on GitHub (Nov 20, 2024).

Windows Terminal version

1.22.241118002-preview

Windows build number

10.0.19045.5131

I would WT semitransparent when unfocused, so I added to defaults this

"defaults":
{
   "unfocusedAppearance":
   {
    "opacity": 50
   },
...
}

Without the above option, when unfocused WT conserve all features of the current profile (color scheme, cursor shape etc.). With the above code, when unfocused WT is semitransparent but colorScheme etc are restored to default for each profile. This is a bit annoying because one should add for each profile something like:

...
"colorscheme": mycolors
...
// For each profile
"unfocusedAppearance":
   {
    "colorScheme": mycolors
   },

Why does WT not conserve those features when one uses the unfocusedAppearance option?

Originally created by @angelog0 on GitHub (Nov 20, 2024). ### Windows Terminal version 1.22.241118002-preview ### Windows build number 10.0.19045.5131 I would WT semitransparent when unfocused, so I added to `defaults` this ``` "defaults": { "unfocusedAppearance": { "opacity": 50 }, ... } ``` Without the above option, when unfocused WT conserve all features of the current profile (color scheme, cursor shape etc.). With the above code, when unfocused WT is semitransparent but `colorScheme` etc are restored to default for each profile. This is a bit annoying because one should add for each profile something like: ``` ... "colorscheme": mycolors ... // For each profile "unfocusedAppearance": { "colorScheme": mycolors }, ``` Why does WT not conserve those features when one uses the `unfocusedAppearance` option?
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 08:17:19 +00:00
Author
Owner

@carlos-zamora commented on GitHub (Nov 21, 2024):

Thanks for filing! This is actually by design. Here's a comment that provides some more details: https://github.com/microsoft/terminal/issues/14337#issuecomment-1306244206

Marking this as a /dup of #14337

@carlos-zamora commented on GitHub (Nov 21, 2024): Thanks for filing! This is actually by design. Here's a comment that provides some more details: https://github.com/microsoft/terminal/issues/14337#issuecomment-1306244206 Marking this as a /dup of #14337
Author
Owner

@angelog0 commented on GitHub (Nov 23, 2024):

At the end I added

"unfocusedAppearance":
                {
                    "colorScheme": "My_Colors",
                    "opacity": 75
                }

for each shell I use (MSYS2, WSL, DOS, PS..) but it flickers when there are more tabs and one switches between them. This does not occurs with MinTTY, for example. The flicker is a bit annoying so I reverted the changes in settings.json...

@angelog0 commented on GitHub (Nov 23, 2024): At the end I added ``` "unfocusedAppearance": { "colorScheme": "My_Colors", "opacity": 75 } ``` for each shell I use (MSYS2, WSL, DOS, PS..) but it flickers when there are more tabs and one switches between them. This does not occurs with MinTTY, for example. The flicker is a bit annoying so I reverted the changes in settings.json...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22572