-
-
Notifications
You must be signed in to change notification settings - Fork 840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background opacity not applied on explicit background color #1425
Comments
The behavior isn't a bug, it's just different from Kitty :)
If an application requests that the background be an explicit true color value or an explicit palette index we respect that and use it: it is distinctly different from setting the background color attribute to default. |
Cool! Great to know. :-) (I agree on this particular taste. I've adjusted all my scripts to emit explicitly default background instead when I want it to be transparent.) |
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. |
What Operating System(s) are you seeing this problem on?
Linux X11
WezTerm version
wezterm 20211219-110753-48dd57ab
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
In some terminals, like for example Kitty, when background opacity is set it is applied to all cases of background color matching the theme's background color. When using 24-bit true color escape sequences, this might affect opacity.
To Reproduce
Enable
window_background_opacity
(to an excessive value to show the problem). Set background color to#1E1E29
.Print out text using that explicit background color.
Configuration
Expected Behavior
The section with the same background color as the terminal's background should use transparent background.
Logs
No response
Anything else?
Screenshot from Wezterm:
Screenshot from Kitty:
The text was updated successfully, but these errors were encountered: