-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Acrylic background not applied at startup #16052
Comments
Here's a possibly goofy question - those times when it starts up without acrylic applied, if you just start typing on the keyboard, does that show up in the Terminal/? My hypothesis is that this is similar to #15479. Are you launching the Terminal by shift+clicking on the taskbar? Are there any other terminals running, or are you using |
The windows does have focus, I can type but in order to see the acrylic background I have to focus another windows and go back to the Terminal one.
Just a single click.
Just one single Terminal window. EDIT: note that I have never experienced the focus issue you have linked and this behavior with acrylic has started yesterday after installing 1.18.2681.0. |
Okay my dumb hypothesis is that the window has foreground, but isn't activated for some reason. I'm not even sure that's possible but user32 is dark and full of terrors. Can you try out the following theme? "theme": "Test",
"themes":
[
{
"name": "Test",
"tab":
{
"background": "terminalBackground",
"showCloseButton": "always",
"unfocusedBackground": "#00000000"
},
"tabRow":
{
"background": "#00ff00ff",
"unfocusedBackground": "#ff0000ff"
},
"window":
{
"applicationTheme": "dark",
}
},
] That should aggressively change the color of the titlebar, depending on if the window is activated or not. When you first launch the terminal (when acrylic isn't working), which color do you get? |
I have the same problem. Is there any solution |
Hmm. Okay, here's another dumb question. Is there any other terminal window running when you're doing this? Or even more accurately, any other Terminal process? I wonder if the acrylic isn't getting appropriately applied when we reheat an old window (a la #15424). Like, the theory of that case is
another observation here is that acrylic in the tab row was applied, so it's not just like, a rendering bug. This is more than just the control that's not acrylic, it's acrylic as a whole.
Not yet. The newly re-written acrylic in Terminal Preview (to allow unfocused acrylic) might help here? |
@zadjii-msft no other process or windows running. I have also experienced this the first time I started Terminal after a reboot (note that auto startup is disabled). Is this that hard to reproduce for the team? |
I also had this issue after the Windows 11 app store update yesterday. default set "cmd", When running the bat file, reproduce this issue 100%. |
This looks fixed in v1.19.10302.0 for me, however tab row is still affected (probably related to #16661) |
Well, I got that issue since this update and never had it before. Same as above - just launch the Terminal (in my case from Start menu) and it doesn't have Acrylic background until I switch to a different window and back (once in a while just switching to different window will apply Acrylic). So far it is 100% reproducible, ever since installing v1.19.10302.0 the app never launched with Acrylic applied right from the launch. Have this issue on two computers (laptop and desktop), both with Win11 23H2. |
OK, turns out that latest version started somehow interfering with Mica for Everyone. After I added Terminal process to the blocklist in Mica for Everyone, Acrylic is now properly applied on startup (this was not needed before latest stable). |
you know what? this may be related to #16745 Another user reported that things got better after adding |
Windows Terminal version
1.18.2681.0
Windows build number
10.0.19045.0
Other Software
No response
Steps to reproduce
Just open Terminal.
In the following gif I am just opening Terminal from the taskbar icon and closing it with ALT+F4 multiple times in a row.
Acrylic background is applied only on the first startup (but it's random).
Expected Behavior
Acrylic background applied
Actual Behavior
Acrylic background sometimes is not applied
The text was updated successfully, but these errors were encountered: