-
Notifications
You must be signed in to change notification settings - Fork 515
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
Non-transparent command line when multigrid is enabled #1508
Comments
Unrelated, unfortunately. Even with |
this issue still exists. // grid_renderer.rs
if is_floating {
self.paint
.set_alpha((255.0 * ((100 - style.blend) as f32 / 100.0)) as u8);
} else if (SETTINGS.get::<WindowSettings>().transparency - 1.0).abs() > f32::EPSILON
// Only make background color transparent
&& self.paint.color() == self.get_default_background()
{
self.paint.set_alpha(0);
} probably the logic must be updated here. i'll check it when I have some time. |
With #1870, you can control the transparency of the commandline with the highlight group But unfortunately, that is not enough, since you can't set blend for the default background it only affects floating windows(which the commandline technically is, see the blend documentation https://neovim.io/doc/user/syntax.html#%3Ahighlight. None as a workaround does also not work, since, none is specified as the default color, not transparent by the UI documentation https://neovim.io/doc/user/ui.html So, we need this fix neovim/neovim#24472. |
@fredizzimo thank you. that's a well made explanation. I guess this also impacts the treesitter highlight, which would be also amazing to fix. look to the green grid highlighted bellow. It should always have 1.0 as opacity. CleanShot.2024-01-17.at.18.24.12.mp4 |
I created a proposal for dealing with global transparency |
Describe the bug
When using
--multigrid
the command line is for some reason not transparent. See screenshot below which shows to equivalent instances where the only difference is that the left uses multigrid.To Reproduce
Steps to reproduce the behavior:
:highlight MsgArea guifg=#ffffff guibg=none
Expected behavior
Transparent command line.
Screenshots
Desktop (please complete the following information):
Additional
Possibly related to #1387
The text was updated successfully, but these errors were encountered: