GNOME Bugzilla – Bug 417652
Scrolling bug exposed by nvi
Last modified: 2007-03-22 23:32:27 UTC
This was reported in Launchpad: https://bugs.launchpad.net/ubuntu/+source/vte/+bug/91017 nvi does not use a restricted scrolling region but instead jumps to the last line, scrolls down, jumps back to the penultimate line and insteads the new text. Due to a little bit of premature optimization, the insert_delta for the scroll event was only updated after the cursor moved up a row and so did not trigger the required scrolling.
Created attachment 84461 [details] [review] Ensure the cursor when updating insert_delta [e.g. after a scroll]
Created attachment 84536 [details] [review] Ensure the row when updating the insert delta A much simpler patch without the refactoring.
r1836: 2007-03-16 Chris Wilson <chris@chris-wilson.co.uk> Bug 417652 – Scrolling bug exposed by nvi * src/vte.c (vte_terminal_insert_rows), (_vte_terminal_ensure_row), (vte_terminal_ensure_cursor), (_vte_terminal_update_insert_delta): Ensure the rows before updating the insert delta and refactor the common code.
*** Bug 421696 has been marked as a duplicate of this bug. ***