Terminal: Acrylic transparency not working

Created on 22 Jun 2019  路  53Comments  路  Source: microsoft/terminal

I have set the useAcrylic to true and I changed the acrylicOpacity to 0.2, but it is still a solid color. Has anyone run into this issue before? Have I done something wrong?
Untitled

Needs-Attention Needs-Tag-Fix Needs-Triage

Most helpful comment

@leptr try turning on transparency effects on windows at Settings>Personalization>Colors. Should probably show the acrylicOpacity. I was also wondering for the same thing for days and it turns out my windows settings is preventing it 馃檪

All 53 comments

what's your gpu?

what's your gpu?

Intel HD Graphics, integrated in the laptop

My old PC has intel G33 and had same problem with acrylic. I had to buy a cheap nvidia G710 to see transparency effects in apps like Groove Music.

@leptr do you get acrylic transparency in _any_ modern windows application? Try Calculator, its entire window is acrylic!

@leptr do you get acrylic transparency in _any_ modern windows application? Try Calculator, its entire window is acrylic!

No I do not! I didn't even know calculator was like that. How's it different from the transparency on Linux? I have dual boot and terminal in linux is transparent, do those two have anything to do with each other?

Windows has some policies about when it will turn on blurred transparency鈥攊t prefers to save battery, to not overly tax the GPU, etc. Unfortunately, since we are trying to be good citizens we aren鈥檛 trying to override that ... and I don鈥檛 think it鈥檚 possible, anyway :)

@leptr Linux transparency is often done in OpenGL while the new Fluent Design in Windows 10 uses DirectX. If the gpu is old enough then you won't get transparencies on your laptop.

So while you are correct and transparency isn't supported by my GPU, I have also found that it can be turned off in the settings. If you right click onto the Desktop and click Personalize and then go to Colors, you will find a button called Transparency effects. It can enable/disable the transparency throughout your system and while it still hasn't enabled the acrylic for me, some parts of the UI have become transparent now. So maybe this will help anyone who has the same problem as me.

I've found that the app installed from the Store does not have working acrylic, but the app compiled from github has working acrylic (my build is a bit older, and not sure what commit the Store version is generated from...). Should I file a new issue?

edit: the store version I'm running is v0.2.1715.0
Not sure the commit of the self-compiled one; it's from a while ago and I don't see a way to get windows/store/terminal to tell me (it should probably do that...)

@leptr try turning on transparency effects on windows at Settings>Personalization>Colors. Should probably show the acrylicOpacity. I was also wondering for the same thing for days and it turns out my windows settings is preventing it 馃檪

So while you are correct and transparency isn't supported by my GPU, I have also found that it can be turned off in the settings. If you right click onto the Desktop and click Personalize and then go to Colors, you will find a button called Transparency effects. It can enable/disable the transparency throughout your system and while it still hasn't enabled the acrylic for me, some parts of the UI have become transparent now. So maybe this will help anyone who has the same problem as me.

THANK YOU!

I have the same issue.
Version: 0.5.2762.0

CPU: AMD 3900x
GPU: Nvidia 2080
Powersettings: Ryzen High Performance
Transparency in Windows: on
Opacity in settings: 0.5

Any suggestions?
@DHowett-MSFT

if you're using a laptop and it's not plugged in, acrylic is turn off (probably to save battery).

Similar to @iamkentleom I had "Transparency effects" turned off in Settings => Personalization => Colors, turning that back on I had to close/re-open Windows Terminal to see the transparency take effect.

Is it not possible to use this without enabling the option globally in Windows? I don't want acrylic for the rest of my system.

Nope, sorry.

you need to put the acrylic configuration in global setting, not in each terminal setting area.
image

@toomding not a great suggestion as it doesn't solve the underlying problem the user is having. Using the acrylic option in the global settings will not make it work as opposed to using it in a specific terminal setup.

@toomding it's not working for me :(

@toomding it's not working for me :(

Try turn on personalization's transparent setting, or just copy your setting file to another computer see will it work, try to pinpoint the problems from config or windows.
and if maybe try go to app store update windows teminal preview .
if all of that didn't help. i recommend you to use alacritty . it is the emulator what i am using now.the windows's blur effect isn't that attractive to me . so i changed to alacritty for transparent effect.

@toomding it's not working for me :(

sorry for that.

@toomding it's not working for me :(

sorry for that.

Thank you for your kind help. To give you more context, the problem does not seem to lie in the config of windows terminal but Windows. There used to be translucency effect, but it disappeared after a recent Windows Insider Update. I'm using 10.0.19603.1000 currently.

I use both Alacritty for WSL2 and Windows Terminal for some Windows specific jobs :D

It works again after upgrading to 10.0.19608.1006 (Windows is not really easy to debug except for Windows systems developers)

19613.1005 not working
image

Same exact thing as @railjty but with 19631.1 still nothing.

i fixed it , go to windows costumize settings , colors , switch trans effect to on , done :)

Still doesn't work for me.

I got same problem,

but done by enabling Transparancy effects
image

it works!
image

tried that too @kgfathur and nothing yet :( wonder if it has to do with anything related to RDP/terminal services on Windows since I'm trying this on an Azure VM.

i'm having this problem as well. i just updated to 19041 from 18063 though. not sure what's different when it comes to transparency between the two but none of these solutions work for me. i've had the option in personalization on already, and i have transparency on everything else. i reinstalled terminal this second time around and the first time, whenever i tried applying a background image, it would be completely covered by the solid black color of the terminal, and you could only see the image in the bezels of it.

Hey I've got totally crazy idea - for the people who acrylic absolutely just isn't working for, does it work in Notepads? They're using a custom acrylic implementation which might help debug this situation further.

@zadjii-msft No. No transparency whatsoever. I using a Surface Studio 2 and this has been an issue i've noticed for the past month. I'm running the May 2020 update as well (19041.329). I've already did an entire reinstall of the OS and still nothing. I figured it was something with maybe a "battery" but as you know this is a desktop so I'm really confused. I can get transparency in the taskbar but for anything else (calculator, settings, etc...). And yes, I've tried both of the transparency buttons in the settings (even tried some registry edits and that didn't do anything but reverted back)

Huh. That's really peculiar. I honestly don't have any idea why even the Notepads version of acrylic wouldn't work, they're just using the Composition effects directly, without the battery (and others) policy applied.

@zadjii-msft Yea, there's a bug somewhere (seems rare) as doing a system restore (full wipe) should have fixed it for me but I don't know what to do at this point. I left feedback through the feedback app (or maybe +1 someone else who had the same issue. ) It's obviously a bug at the OS level and not the app level.

We get reports of this pretty constantly (#5698 was one of the more recent ones with plenty of details), so I've reached out to the Composition team to see if they have any ideas what might be going on here. No promises, but they'll probably be better at debugging this than I will.

Okay, the initial feedback was:

  • Acrylic doesn't work if there's not the GPU hardware for it. A Surface Studio probably has the hardware, but it won't work if you're running the app in a VM or over remote desktop (for example).
  • If you wanted to help investigate, could you run dxdiag (instructions here), and send the output to the email in @DHowett's profile? He'll be able to share that with the Composition team so they can investigate exactly _why_ it's not working.

Thanks @zadjii-msft ...I'll do that. (and no vm or rdp usage but thanks for that info)...emailing @DHowett

@chriswoelfel as a sanity check, is there Acrylic in the Start Menu?
I get a very faint amount using the host backdrop on the main body of the Start Menu:
image

and a little bit of in-app as well with the sidebar:
image

Nope, which is why I said it's a system level thing. I have transparency in the taskbar (and transparency works within apps like terminal ONLY if I have a background image...). There's no acrylic throughout the entire system (like settings). All of it is opaque.
image

image
@zadjii-msft nothing yet, but as I mentioned I am on an Azure VM over RDP so that may explain why. Gonna try dxdiag and provide output just for the sake of it. Thanks for clarifying that.

EDIT: indeed dxdiag reveals over RDP it's using a different adapter so I suppose that throws it off. Also wondering if the VM has GPU support if there are any RDP settings that would make it work.
image

hmm. well in my instance i'm not using RDP or an azure vm, which is understandable as to why it wouldn't produce acrylic effects over those connections. start menu and notepads produces a transparent effect so i am still seeing it, just having problems with terminal. i emailed the above my dxdiag info, but i'll post some more stuff here shortly.

edit: okay so further inspection yields that nothing is opaque in my start menu anymore. can see the effects in applications like notepads still. here is essentially what i'm seeing when i have acrylic on and a background image. having just acrylic on or off doesn't change anything with or without the picture.
bezels

The windows terminal lost transparency after I updated the system, but the start menu still have. I have changed the json but it does not work. After I turn off and on the transparency effects in the system settings, the terminal had an acrylic effect again.

Setting the useAcrylic property to true, got things working for me.

turns out for me this was a antialiasingMode and cursorShape conflict. these two cant seem to be enabled with each other and it produces the black box effect for me as I posted in the picture above.

I might got a solution from microsoft/microsoft-ui-xaml repo.

https://github.com/microsoft/microsoft-ui-xaml/issues/2737#issuecomment-650471950

I have the latest windows update and just installed the Terminal, transparency setting is "on" and it doesn't work, maybe because of hardware as already said but thing is.. Powershell has transparency, then what!?

Captura de pantalla (48)

After 19041.388 I lost taskbar transparency also. On PC with Gigabyte GTX 2070 super

For those who can't, it is on system level not specific windows terminal issue, when you enable transparency on windows settings it work for me (after restart the windows terminal).

The question now is how could i enable acrylic without enabling windows 10 transparency settings ??

As mentioned here https://github.com/microsoft/terminal/issues/1414#issuecomment-640125263 turn on transparency and then re-start Windows Terminal

image
When I enable this, the acrylic opacity is not working. When I disable this, it works

Having the same issue on Thinkpad X1 carbon 6th gen with Windows 2004. There is also no acrylic effect on start menu with the transparency effect on.

Processor: i7-8550u
GPU: UHD620
OS Build 19041.423

In my case, the issue is related to Intel GPU's DPP feature, which is an OEM enabled feature that loads a 3D LUT colour mapping profile to GPU. My laptop needs that feature to map screen colour gamut to sRGB otherwise everything will be oversaturated. If I disable that (by deleting HKEY_LOCAL_MACHINE\SOFTWARE\Intel\IGFX key in the registry and restart), the acrylic effect can work again.

I could fix this problem by first disable the transparency mode in windows and then turn it on again. (Windows Settings -> Customize -> Colors -> "Transparancy effects")
Afterwards start new Windows Terminal.

@AkgunFatih if you don鈥檛 have anything nice to say, you are welcome to not leave a comment on this repository.

Was this page helpful?
0 / 5 - 0 ratings