j-hui / fidget.nvim

💫 Extensible UI for Neovim notifications and LSP progress messages.
MIT License
2.01k stars 58 forks source link

display repeatedly jumps to left #228

Open humblehacker opened 8 months ago

humblehacker commented 8 months ago

Just discovered fidget after messing with kickstart.nvim. I added it to my config and fired up nvim (in neovide), and when the notifications started appearing I noticed the whole display will very briefly jump to the left repeatedly. It's a bit distracting. Hopefully there's some config option that I'm missing. Here's what it looks like. It's most noticeable at about the 6 second mark.

https://github.com/j-hui/fidget.nvim/assets/117582/701545ef-e8e1-46dc-84fb-6ea9500eb7e1

humblehacker commented 8 months ago

Looks like this is specific to neovide. It doesn't happen for me in the terminal, and I found this neovide discussion.

vhakulinen commented 5 months ago

Similar thing happens with gnvim too.

I haven't dug too deep into the code yet, but I suspect that the anchor position doesn't stay stable, or that when the width of the window chagnes, nvim sends a flush even in between the window size change and the position change.