microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.27k stars 8.27k forks source link

Background image not transparent when "useAcrylic": true #8410

Closed ks2k2d closed 3 years ago

ks2k2d commented 3 years ago

Environment

Windows build number: 10.0.19041.0
Windows Terminal version (if applicable): 1.4.3243.0

Any other software?

Steps to reproduce

"useAcrylic": true, "acrylicOpacity": 0.5, "backgroundImage": "...some_file"

Expected behavior

Transparent background image is visible behind the text according to "acrylicOpacity".

Actual behavior

Fully opaque background image is visible.

image

pinxau1000 commented 3 years ago

You need to specify backgroundImageOpacity!

example:

{
                "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
                "hidden": false,
                "name": "Ubuntu",
                "source": "Windows.Terminal.Wsl",
        "commandline": "wsl -d Ubuntu",
        "tabTitle": "Ubuntu",
        "acrylicOpacity":0.75,
        "closeOnExit":true,
        "colorScheme":"Campbell",
        "fontFace":"Consolas",
        "fontSize":12,
        "historySize":9001,
        "backgroundImage": "<PATH>",
        "backgroundImageStretchMode": "none",
        "backgroundImageOpacity": 0.1,
        "icon":"<PATH>",
        "padding":"0, 0, 0, 0",
        "snapOnInput":true,
        "useAcrylic":true
}

ubuntu_windowsTerminal_2

ks2k2d commented 3 years ago

Seems to work.

AthsaraFernando commented 6 months ago

instead of this line "acrylicOpacity": 0.5 use this "opacity": 50,