Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features restored to defaults when unfocused #18222

Closed
angelog0 opened this issue Nov 20, 2024 · 2 comments
Closed

Features restored to defaults when unfocused #18222

angelog0 opened this issue Nov 20, 2024 · 2 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@angelog0
Copy link

angelog0 commented 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?

@angelog0 angelog0 added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Nov 20, 2024
@carlos-zamora
Copy link
Member

Thanks for filing! This is actually by design. Here's a comment that provides some more details: #14337 (comment)

Marking this as a /dup of #14337

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Nov 21, 2024
@angelog0
Copy link
Author

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants