[Okular-devel] [okular] [Bug 107544] show context when doing PageUp PageDown

James Ruan ruanbeihong at gmail.com
Mon Jun 10 04:55:49 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=107544

--- Comment #7 from James Ruan <ruanbeihong at gmail.com> ---
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 );
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list