vim 9.0.698, columns=100,lines=55
Two files with only one line: screen lines: longer ~90, shorter ~34
command: gvim/vim -u NONE -U NONE
then: set smoothscroll

There are no asan errors. Trying to figure out valgrind now.
Any hints/suggestions on tracking it down, like what to look at in the
debugger, welcome.

=== vim longer # the longer file, ~90 screen lines

=== test 1: gvim -u NONE -U NONE longer
- ^E the screen does not scroll. The cursor moves to the next screen
  line (as it should) for a small fraction of a second, then back.

=== test 2: gvim -u NONE -U NONE longer
- click somewhere in the middle of the line, several screen lines down.
- ^E,^Y work as expected, until the cursor gets to the top, then it
  behaves as described in test 1 above.

=== vim shorter # the shorter file, ~34 screen lines

===== test 1: gvim -u NONE -U NONE shorter
- ^E a few times, screen scrolls as expected
- ^Y once, display jumps so first line is visible, and cursor is
  on the first line, and not one screen line from where it was.

===== test 2: gvim -u NONE -U NONE shorter
- click somewhere in the middle of the line, several screen lines down.
- ^E scrolls up 1 screen line. But the cursor does not move, it stays
  at the same screen location, instead of staying on the same character.
- Do a few more ^E, same pattern.
- Do ^Y and it stays on the same character as expected, keep going
  until no change, first characters of file are visible at the top.
- Do ^E, screen scrolls one line, cursor jumps to where it should be.


-ernie

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/a9de0c85-8b5d-111b-d5da-2783573d42f7%40raelity.com.

Raspunde prin e-mail lui