[Okular-devel] [Bug 152049] Wish: go up or down one page... minus one/N lines

Christopher Yeleighton giecrilj at stegny.2a.pl
Thu Aug 26 23:05:30 CEST 2010


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





--- Comment #13 from Christopher Yeleighton <giecrilj stegny 2a pl>  2010-08-26 23:05:23 ---
(In reply to comment #11)
> #9 This is not a bug, this is a wish, do not expect a wish to be fulfilled just
> because someone had it.
> 
> #10 Okular code is quite well organized, have a look at ui/pageview.cpp most of
> it should be probably be there, if in doubt drop by the #okular IRC channel in
> freenode where we can chat live and it's easier to give some directions.

ui/pageview.cpp:2978 is { setWidgetResizable(false); }
this, in particular, sets the vertical page step to the displayed page height.

In order to fix this once and for all, it would suffice to say

{ vscroll = this -> verticalScrollBar();
vscroll -> setPageSize (vscroll -> pageSize() * 07 / 010); }

after calling setWidgetResizable.

Of course, the hem height could be promoted to an option.

Of course, you could also make a Qt feature request out of this (who needs
documents that paginate edge to edge in continuous view?  I believe this
problem is not particular to Okular.)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list