wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Background blur not working

Open TakenMC opened this issue 2 years ago • 6 comments

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

Windows

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

N/A

WezTerm version

20231004-113117-11dec45f

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

I can't seem to get the background blur feature to work even when setting opacity to 0, trying all blur modes and all front ends.

To Reproduce

I just open the terminal...

Configuration

local wezterm = require("wezterm")
local act = wezterm.action

local config = {}

if wezterm.config_builder then
    config = wezterm.config_builder()
end

config.leader = { key = "a", mods = "CTRL", timeout_milliseconds = 1000 }
local mykeys = {
    { key = "L", mods = "CTRL",       action = wezterm.action.ShowDebugOverlay },
    { key = "v", mods = "CTRL|SHIFT", action = act.PasteFrom("Clipboard") },
    { key = "+", mods = "CTRL",       action = act.IncreaseFontSize },
    { key = "-", mods = "CTRL",       action = act.DecreaseFontSize },
    { key = "C", mods = "CTRL",       action = act.CopyTo("Clipboard") },
    { key = "f", mods = "CTRL|SHIFT", action = wezterm.action.ToggleFullScreen },
    { key = "q", mods = "CTRL|SHIFT", action = wezterm.action.QuitApplication },
    {
        key = "v",
        mods = "LEADER",
        action = wezterm.action.SplitPane({ direction = "Right", size = { Percent = 50 } }),
    },
    {
        key = "h",
        mods = "LEADER",
        action = wezterm.action.SplitPane({ direction = "Down", size = { Percent = 25 } }),
    },
    {
        key = "c",
        mods = "LEADER",
        action = act.CloseCurrentPane({ confirm = true }),
    },
    {
        key = " ",
        mods = "LEADER",
        action = act.ActivateCommandPalette,
    },
    {
        key = "LeftArrow",
        mods = "CTRL|SHIFT",
        action = act.ActivatePaneDirection("Left"),
    },
    {
        key = "RightArrow",
        mods = "CTRL|SHIFT",
        action = act.ActivatePaneDirection("Right"),
    },
    {
        key = "UpArrow",
        mods = "CTRL|SHIFT",
        action = act.ActivatePaneDirection("Up"),
    },
    {
        key = "DownArrow",
        mods = "CTRL|SHIFT",
        action = act.ActivatePaneDirection("Down"),
    },
    {
        key = "n",
        mods = "LEADER",
        action = act.SpawnTab("CurrentPaneDomain"),
    },
}

config.font_size = 16
config.window_background_opacity = 0.8
-- config.front_end = "Software"
-- config.window_background_opacity = 0
-- config.win32_system_backdrop = "Acrylic"
config.hide_tab_bar_if_only_one_tab = true
config.audible_bell = "Disabled"
config.window_close_confirmation = "NeverPrompt"
config.color_scheme = "Catppuccin Mocha"
config.default_prog = { "C:\\Program Files\\PowerShell\\7\\pwsh.exe", "-nologo" }
config.font = wezterm.font("Mononoki Nerd Font Mono", { weight = "Regular", stretch = "Normal", style = "Normal" })
config.disable_default_key_bindings = true
config.keys = mykeys

return config

Expected Behavior

To have the blur function...

Logs

wezterm version: 20231004-113117-11dec45f x86_64-pc-windows-msvc Window Environment: Windows WebGPU: name=AMD Radeon(TM) Graphics, device_type=IntegratedGpu, backend=Vulkan, driver=AMD proprietary driver, driver_info=22.20.44.56, vendor=4098, device=5688

Anything else?

This is what the window looks like with acrylic as the setting

image

TakenMC avatar Oct 09 '23 17:10 TakenMC

Seems to be a duplicate of #4145 - same issue here though. I'm curious if a recent Windows update triggered the issue. I've never had Acrylic working but I also just tried getting it to work for the first time today.

Original pull request was https://github.com/wez/wezterm/pull/3528/commits/3e7786d1c5088ff2653d5d3119316e6f4eedeb7e#.

mackieem avatar Oct 15 '23 16:10 mackieem

The of the options for config.win32_system_backdrop work for me, only if i do not have a background image. Windows 11 build 22635.2700

phortonssf avatar Nov 15 '23 17:11 phortonssf

also experiencing this issue, windows 10 build 19045.3693, wezterm build 20230712-072601-f4abf8fd. as mentioned in #4145 weird lag occurs when i attempt to move the window with acrylic activated, and a border of failed acrylic spills over the border

ListeningGarden avatar Nov 19 '23 05:11 ListeningGarden

I see this issue with the webgpu frontend, works with the opengl frontend.

gsuuon avatar Dec 13 '23 17:12 gsuuon

Got the same issue with all three front_end options

ghr74 avatar Jan 23 '24 22:01 ghr74

I have this issue too, but I solved it by enabling transparency effects in Windows settings!

Image

Before:

Image After:

Image

ARazaMaths avatar May 17 '25 23:05 ARazaMaths