yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.34k stars 30 forks source link

No text rendered in telescope popup #199

Closed raghur closed 2 years ago

raghur commented 3 years ago

So upgraded to latest and telescope no longer shows any text

2021-09-08_0926

reverting to 0.2.349+9f6430d-43-g646a86f and all seems to be well. I also tried 0.2.392+g646a86f-20-g3b521db - but that has the same problem too.

Is there anything I should try? or do I need any additional config?

Env: KDE Neon 5.22 (Ubuntu 20.04), Nvidia drivers

yatli commented 3 years ago

noted, thanks! I've also encountered this today with coc.nvim.

yatli commented 3 years ago

Are you saying that this problem also exists in 0.2.x? Then it's not related to the new multigrid (and will be easier to debug!) Turning on FVimFontDrawBounds reveals that no text rendering is done in the floating window:

image

yatli commented 3 years ago

It should exist in 0.2.x if you're running with multigrid. Confirmed it's a z-order issue.

citizen428 commented 3 years ago

@yatli I still seem to have this issue with v0.3.489+g98c4036 (W11, installed via Scoop and Ubuntu) image

yatli commented 3 years ago

uh oh here we go again. reopening.

13k commented 2 years ago

Same here.

OS: Fedora Linux 35 x86_64 Kernel: 5.16.8-200.fc35.x86_64 DE: KDE Plasma 5.23.5 WM: kwin (Wayland) GPU: AMD Navi 21, driver: amdgpu

20220215-171327

FVimFontDrawBounds v:true:

20220215-172117

There's text where arrow is pointing to.

TheLazyLemur commented 2 years ago

I can confirm that I have this same issue when running Neovim 0.7 on both Ubuntu and Windows.

OS: Windows GPU: AMD Radeon

&

OS: Ubuntu 21.10 Kernel: 5.13.0-30-generic DE: I3 WM GPU: Nvidia gtx 1060

yatli commented 2 years ago

To begin attacking this bug, I'll prepare a version that draws the z index of each window. Please attach pictures so I can identify the problem.

yatli commented 2 years ago

image

I don't know... This conflicts with the current logic:

Clearly, the content is being wiped out by the outer frame.

yatli commented 2 years ago

https://github.com/yatli/fvim/commit/2c1625bdb2b6acf7e547e0b6b7f07b366794a3b1?diff=unified#diff-279af2dd9ccff73c764c6abc2f3f81d266fdda9428638a0f6be7bf9f4030c62cL838-R838

Me cannot sort. 😅

yatli commented 2 years ago

With corrected z-order and creation sequence sorting:

image