Bug 229915

Summary: Scroll up/down should display previous 1-2 lines
Product: [Applications] okular Reporter: Oleg Atamanenko <oleg.atamanenko+kde>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Half-rendered line on the bottom before scroll down
Half-rendered line on the top after scroll down

Description Oleg Atamanenko 2010-03-08 10:09:35 UTC
Version:           0.10.1 (using 4.4.1 (KDE 4.4.1), Chakra)
Compiler:          gcc
OS:                Linux (i686) release 2.6.32-ARCH

Currently it is difficult to use scroll up/down using buttons 'page up' and 'page down' because pressing those buttons moves the whole screen.

And it causes the following situation:
If last line on the screen is not fully rendered (only half from top) and I press page up then okular scrolls down one screen and last line (which becomes first after scrolling) renders only bottom half so I'm unable to read that line and I have to press up and down.

See attached screenshots.
Comment 1 Oleg Atamanenko 2010-03-08 10:15:06 UTC
Created attachment 41434 [details]
Half-rendered line on the bottom before scroll down
Comment 2 Oleg Atamanenko 2010-03-08 10:15:38 UTC
Created attachment 41435 [details]
Half-rendered line on the top after scroll down
Comment 3 Oleg Atamanenko 2010-03-08 10:22:35 UTC
I suggest to detect incomplete rendered line and render it correctly. Maybe it will be much better to render previous 2-3 lines so user will not lose context of his reading.
Comment 4 Pino Toscano 2010-03-08 12:16:31 UTC

*** This bug has been marked as a duplicate of bug 152049 ***