Version: (using KDE Devel) Installed from: Compiled sources OS: Linux At the moment kpdf is excuting PgUp/PgDn up to the pixel making very hard continous reading. Leave some context, 10-20 pixels, if possible to compute one line height.
I`d like it to be an option, so users could determine how many lines, pixels or percents of the viewport the context would be.
> I`d like it to be an option, so users could determine how many > lines, pixels or percents of the viewport the context would be. Should be turned on by default with some sane value.
Konqueror is doing it automatically, no need for additional option IMO.
*** Bug 127282 has been marked as a duplicate of this bug. ***
Still valid for okular 4.2
The problem is still annoying in verion 0.14.
After looking into the code, I find Okular::Settings::scrollOverlap(), which is 0% by default. The programmer has considered the problem but didn't set the default value right (any value above 0 would be more appropriate I think). Just for quick location: void PageView::updatePageStep() { const QSize vs = viewport()->size(); horizontalScrollBar()->setPageStep( vs.width() ); verticalScrollBar()->setPageStep( vs.height() * (100 - Okular::Settings::scrollOverlap()) / 100 ); }
The programmer has set the default right value. You may have a different opinion and that's why you have an option to change it.