goneovim icon indicating copy to clipboard operation
goneovim copied to clipboard

Scrolling by mouse causes some uncalled-for chars to appear

Open eyalk5 opened this issue 4 years ago • 14 comments

image

The it will save on top doesn't exists.

To reproduce: scroll up several times using the mouse (fast)

To solve(maybe): do redraw on mouse scrolling (?)

I am on macos High-Sierra with 0.0.46.

eyalk5 avatar May 09 '20 23:05 eyalk5

Hi How often does this problem occur? Also, does it happen with goneovim -u NONE?

akiyosi avatar May 14 '20 09:05 akiyosi

Couldn't reproduce it with -u NONE

eyalk5 avatar May 17 '20 22:05 eyalk5

It happens 30% percent of the time

eyalk5 avatar May 17 '20 22:05 eyalk5

Is 30% the incidence rate ingoneovim -u NONE? Or is it a situation where the occurrence rate at normal startup is 30% and does not occur in goneovim -u NONE?

Also, if you can't reproduce it in goneovim -u NONE, are there any keymaps or other settings related to scrolling in your settings, for example?

akiyosi avatar May 18 '20 12:05 akiyosi

In my normal vimrc, happens 30 percent of the time. Yes, there are settings such as scrolloff and lines. I tried with them in the setting of minimal vimrc to no avail. Btw happens also with pgdown.

eyalk5 avatar May 23 '20 23:05 eyalk5

I've tried to reproduce it in your vimrc, but I can't. Does the mouse you're using have such a feature that accelerates the speed of scrolling as hardware?

akiyosi avatar May 26 '20 17:05 akiyosi

no, it happens with pgdown too. It is less severe without set scrolloff=3. I open goneovim from terminal(iterm) to get the tab key working, it is worth mention

eyalk5 avatar Jun 03 '20 21:06 eyalk5

It didn't happen in the last version you have sent.

eyalk5 avatar Jun 05 '20 21:06 eyalk5

The bug still exists. I have spent little in evaluating it previously, but now when I countinously work with it, I have noticed it again.

eyalk5 avatar Jun 18 '20 01:06 eyalk5

vimcap3

This is using the last version(actions), when doing scroll with the mouse. It really doesn't happen with pgup/pgdown.

But especially if you do scroll up serval times and then left-click, it happens - most of window area is duplicated and appears again in an offset.

This also happens in ./goneovim -u NONE vimcap4

eyalk5 avatar Jul 14 '20 23:07 eyalk5

@eyalk5 Thanks for the detailed report!

I have perfectly identified the cause of the problem. I will try to fix it soon.

akiyosi avatar Jul 15 '20 12:07 akiyosi

Hi I fixed this problem. Would you please confirm the fix in the latest Actions binary? https://github.com/akiyosi/goneovim/actions

akiyosi avatar Jul 16 '20 23:07 akiyosi

Yeh, seems good! thanks. I will see how it will be in the following days, and close it probably.

eyalk5 avatar Jul 22 '20 02:07 eyalk5

This breaks scrolling on mac os for me:

autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif

(this opens nerdtree at start)

glebtv avatar May 26 '21 09:05 glebtv