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
More floating window rendering issues #2502
Comments
I'm commenting on the first issue first, and will investigate the second one next.
There are basically two options, I think.
|
For the second issue, I'm not 100% sure yet, but almost. The preview window consists of two subwindows, the first one has this anchor
While the second one has this:
So, the second one is attached to the first one, but the first one is actually anchored outside the screen. Neovim does not reposition floats that are outside the grid, so we are forced to do it ourselves: But I think our code is a bit too naive and only consider each window individually. Therefore, it only re-positions the outer window with the borders, leaving the inner one in place, which means that they start to overlap. I think we just need to consider all the attached floating windows as a whole group and reposition it as a whole. |
@fredizzimo after looking at it some more, I think the second issue may be a I'm honestly not sure if this is something neovim should do something about when multigrid is enabled? It does appear to clamp the values in the terminal, so it is technically inconsistent, but I'm not sure if the way neovim/neovide handles it now is really wrong. |
In
mini.files
the help window is transparent (edit: it's only transparent with respect to the underlying float, not the main buffer):In
neo-tree
the preview window isn't transparent, but the contents are off by one, where the first line is rendered one line too high, and the bottom content line is blank:Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: