akiyosi / goneovim

A GUI frontend for neovim.
MIT License
2.36k stars 59 forks source link

Broken smooth mouse scrolling with v0.6.5 #477

Closed pjg closed 1 year ago

pjg commented 1 year ago

In the latest release the scrolling is very jerky. It is smooth for a moment, but then it suddenly jumps a couple of lines. This makes scrolling extremely annoying.

akiyosi commented 1 year ago

@pjg Thanks for the issue report. What is your Neovim version? goneovim v0.6.5 requires Neovim 0.9.0 or higher.

pjg commented 1 year ago
neovim 0.9.1
goneovim 0.6.5
akiyosi commented 1 year ago

Your OS is MacOS right?

pjg commented 1 year ago

Yes :)

akiyosi commented 1 year ago

Hmm, the smooth scroll control is implemented a little differently between v0.6.5 and v0.6.4. However, I can still scroll smoothly on my MacOS with v0.6.5.

It is possible that some Neovim setting is affecting this. Is my understanding correct that your settings are the ones in the following dotfiles?

https://github.com/pjg/dotfiles/tree/main/.vim

pjg commented 1 year ago

This is correct. In particular this is my .vimrc: https://github.com/pjg/dotfiles/blob/main/.vimrc

akiyosi commented 1 year ago

@pjg Does your setup output a vimrc error when Neovim (Goneovim) starts? It seems that this error output is causing the settings that Goneovim requires for smooth scrolling to not be reflected properly.

pjg commented 1 year ago

Indeed it does. Here's the :messages output:

Error detected while processing .../.vim/plugged/clrzr/plugin/clrzr.vim:
line 17:
clrzr disabled: +textprop Vim feature not found

Looks like neovim doesn't support +textprop whatsoever. I think I need to disable this plugin when running in neovim context.

akiyosi commented 1 year ago

Yes, I recommend upgrading such configurations. I have confirmed that if I comment out Plug 'BourgeoisBear/clrzr' in your config, smooth scrolling works.

pjg commented 1 year ago

Yup. I can also confirm this. Thank you! A shame clrzr is no longer being maintained (with no alternatives). I any case, I can fix this on my end.