Internal Viewer: scrollbar changes size during scrolling

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
Guest

Internal Viewer: scrollbar changes size during scrolling

Post by Guest »

In the text viewer, as you move up and down using say the mouse wheel the scrollbar on the right changes size as you move up and down which is probably not correct, especially towards the end of some files. Very small thing but could make the scrolling behave in odd ways sometimes.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

This is a feature rather then a bug. The size of scrollbar is computed by size of displayed text divided by total size of viewed file.

Scrollbar will be smaller when there is less text on the screen and bigger when there is more text displayed.

It is a way how the internal viewer works. It loads only needed parts of files so it can handle files with unlimited size. We want to rewrite this viewer (Unicode support), we can introduce some improvements for small files (read whole file into memory, compute line numbers, etc.).
Post Reply