Helge Hafting wrote:
Scrolling has improved a lot since the last time I compiled!
There is stiill one problem though:

I have a long document, near the end is a sequence
of 3 images with nothing between them.
Each image is slightly taller than the main window.

I can not scroll up through these images with the
page-up key.  LyX gets stuck!

Scrolling with the arrow keys, with the scrollbar arrow
or clicking the jump-scroll area of the scrollbar all
works perfectly though.
Scrolling down through the images using page-down
also works. It is only page-up that gets stuck.
My guess: page-up also positions the cursor, the
cursor can't go in the middle of an image, so
the cursor position is "rounded" to the nearest
useable position, which is below. Then LyX jumps so the
nearest useable position is visible - we don't want a
off-screen cursor. On the next page up, this
process repeats and we end up with the
same cursor position.

Suggested fix:
Page up should always move the cursor to a higher position, unless the cursor already is on top of the document.
So when "one page up" has no useable cursor
position, move it further up instead of down. After all,
the user could have an image the size of 5
main windows. But when he press page up, he means "up".

Your analysis seems correct. There are a few remaining problems with automatic scrolling, this one and the mouse selection autoscroll which get stuck.

Abdel.

Reply via email to