wez / wezterm

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

Unwanted transparency #4886

Closed BlackCherryCat closed 9 months ago

BlackCherryCat commented 9 months 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

20240127-113634-bbcac864

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

When I updated to version 20240127-113634-bbcac864 the wezterm interface began to have transparency, and I don't know how to set it opaque

To Reproduce

Update from '20230712-072601-f4abf8fd' to '20240127-113634-bbcac864' in Windows

Configuration

-- Pull in the wezterm API local wezterm = require("wezterm")

-- This table will hold the configuration. local config = {}

-- In newer versions of wezterm, use the config_builder which will -- help provide clearer error messages if wezterm.config_builder then config = wezterm.config_builder() end

-- This is where you actually apply your config choices

config.font = wezterm.font("FiraCode Nerd Font Ret")

-- For example, changing the color scheme: config.color_scheme = "Laser" config.default_prog = { "D:/Scoop/apps/pwsh/current/pwsh.exe" } -- and finally, return the configuration to wezterm return config

Expected Behavior

Have the same opacity as before

Before updating: Captura de pantalla 2024-01-28 164456

After updating: Captura de pantalla 2024-01-28 164822

Logs

No response

Anything else?

No response

wez commented 9 months ago

try setting config.front_end = 'OpenGL'

BlackCherryCat commented 9 months ago

that solves my problem, but, at the cost of changing the rendering API? I will guess that the WebGpu rendering API comes with more personalization and styling, but using wezterm with OpenGL will not make it perform worse? and, It's impossible to change transparency settings with WebGpu enabled?

wez commented 9 months ago

The level of WebGpu support varies on different platforms and hardware combinations. For yours it sounds broken and incomplete, and that that you should therefore use OpenGL instead. The primary difference between them is that webgpu will tend to use vulkan by default. In theory, vulkan applications can achieve higher performance and throughput than opengl, but in the case of wezterm, the performance difference is unlikely to be noticeable to a human anyway.

BlackCherryCat commented 9 months ago

Okay, thanks for your information and for solving my problem. Will see if in the future the WebGpu API is better implemented

github-actions[bot] commented 8 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.