wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
18.15k stars 810 forks source link

Cannot get Wezterm Terminal Transparent/Acrylic BG on Windows #6265

Open kandalgaonkarshubham opened 1 month ago

kandalgaonkarshubham commented 1 month ago

What Operating System(s) are you seeing this problem on?

Windows

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

20240203-110809-5046fc22, Nightly Build: 20241007-103714-ed430415

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

My problem is, even after setting my window background opacity to 0, the terminal is not transparent; I just see pure black color in the background. I tried finding this issue online but couldn't find anything related to it anywhere.

I am using Windows 11

To Reproduce

Happens on fresh install on windows 11

Configuration

local wezterm = require("wezterm")

local mux = wezterm.mux

-- This will hold the configuration.

local config = wezterm.config_builder()

wezterm.on('gui-startup', function(cmd)

local tab, pane, window = mux.spawn_window(cmd or {})

window:gui_window():maximize()

end)

config.font = wezterm.font "JetBrainsMono NFM"

config.default_prog = {"C:\Program Files\PowerShell\7\pwsh.exe"}

config.window_decorations = "RESIZE"

config.window_background_opacity = 0

config.win32_system_backdrop = 'Acrylic'

return config

Expected Behavior

config.window_background_opacity = 0 should make the terminal's background transparent but in my case its totally black

Logs

Debug Overlay wezterm version: 20241007-103714-ed430415 x86_64-pc-windows-msvc Window Environment: Windows Lua Version: Lua 5.4 OpenGL: AMD Radeon(TM) Graphics 4.5.0 Core Profile Context 24.7.1.240618 Enter lua statements or expressions and hit Enter. Press ESC or CTRL-D to exit

Anything else?

No response

ErvinRacz commented 3 days ago

The "Acrylic" backdrop bg doesn't work for me either. Tried to use The fornt_end = "OpenGL" option too.

OS Name: Microsoft Windows 11 Enterprise OS Version: 10.0.26100 N/A Build 26100

Name & DriverVersion: Intel(R) Arc(TM) Graphics; 32.0.101.5972 wezterm version: 20240203-110809-5046fc22