fidget.nvim
fidget.nvim copied to clipboard
display repeatedly jumps to left
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
Looks like this is specific to neovide. It doesn't happen for me in the terminal, and I found this neovide discussion.
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.
The bug isn't in fidget.nvim, but in GUI(s). They must keep the windows (grids in GUI terms) anchored to their position when they are resized.
For reference, the fix to gnvim: https://github.com/vhakulinen/gnvim/commit/24e8a74e76ff8f62ea2f98e3c363efb48d489e46