Ticket #2283 (new defect) — at Initial Version

Opened 14 years ago

Last modified 9 years ago

mcview scrolling issues with heavy utf-8 files

Reported by: egmont Owned by:
Priority: major Milestone: 4.8.14
Component: mcview Version: 4.7.3
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

wget http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt
mcview UTF-8-demo.txt

Scroll up and down with the arrow (or pgup/pgdn) keys. Notice that very often a partial line appears on the top row, you have to press the arrow key twice or even more times to actually scroll by one line.

This happens when the topmost line that you're scrolling in or out contains lots of non-ascii characters. More precisely, I believe this occurs exactly when the number of bytes forming the topmost row is bigger than the terminal's width.

Buggy both in 4.7.3 and 4.7.0.7, fully UTF-8 environment.

Change History

Changed 14 years ago by egmont

Screenshot - though experiencing the behavior is much more useful

Note: See TracTickets for help on using tickets.