Neovide: [Blurred Floating Windows] broken with vim-clap

Created on 4 Jan 2021  路  11Comments  路  Source: Kethku/neovide

See screenshot below.
Maybe due to vim-clap using floating_win or maybe due to the background render by vim-clap ? Can't tell..
Neovide with multiGrid:
image
Neovim:
image

bug

Most helpful comment

Ah yes. I'm actively working on how to fix this, but its somewhat involved. I'd appreciate patience :)

All 11 comments

Related to #14 ?

Yeay, also to these recent addition to README: https://github.com/Kethku/neovide#blurred-floating-windows and this checked todo https://github.com/Kethku/neovide/pull/347

Yeah this makes sense. Currently blurred windows are applied to all floating windows. I don't really know yet of a good way to stop this from happening/I don't have a system to specify per window options that can get synced to the front end.

Ideally I would love to have the system track the built in window transparency option so that it works with vanilla transparent floating windows, but I haven't spent the time to figure out how to do that yet. If anybody has any ideas for what that might look like, I'm all ears.

Having the same issue here with CoC (symbol rename and code action menus).

Ah yes. I'm actively working on how to fix this, but its somewhat involved. I'd appreciate patience :)

I found it helpful as a workaround to let g:neovide_window_floating_blur = 0 so that this issue will just reduce the contrast of the text and not also blur it.

here a screenshot with @lf- workaround:
image
Is it possible to disable the window_floating management by neovide while still using others multiGrid features ?

Also, I don't see window_floating option in the wiki, maybe it's worth write it down ?
Thank's for your hard work btw ! Really appreciate :heart:

EDIT: the best workaround I found is to also set let g:neovide_window_floating_opacity = 0.
EDIT2: this option will not work properly if you're using tab or other floating window (will be transparent). Guess I will pass on multiGrid features for now :(

What is different about clap/telescope? Normal floating windows render properly
image
image

Only telescope is broken
image

The difference is that telescope and some other plugins use multiple floating windows to create the border effect.

Because neovide doesn't pay attention to the buffer local transparency settings, the system blurs the background.

The fix is complicated because neovide today doesn't pay attention buffer local options or settings, only global ones. So its a big change to add support to the settings system for it.

Closing in favor of more detailed https://github.com/Kethku/neovide/issues/720

Was this page helpful?
0 / 5 - 0 ratings

Related issues

habamax picture habamax  路  67Comments

ssxwcz picture ssxwcz  路  50Comments

IBS27 picture IBS27  路  29Comments

aj3423 picture aj3423  路  45Comments

Ninmi picture Ninmi  路  53Comments