Bug 343485

Summary: Page up/down keys scroll register more than one page
Product: [Applications] kmymoney Reporter: BobSCA <bobs_spam_0>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: CONFIRMED ---    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: 4.7.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description BobSCA 2015-01-28 23:28:17 UTC
When paging through the register using the keyboard, the screen scrolls more than the number of transactions currently displayed. 

Strangely, when paging by clicking on the scroll bar the correct number of transactions are scrolled.

Reproducible: Always

Steps to Reproduce:
1. View register (I'm using 1920 x 1200 resolution).
2. Hit Page-Up or Page-Down
3.

Actual Results:  
The screen scrolls roughly 1.5 ~ 3 screens, depending on the position on the screen of the currently selected transaction.

Expected Results:  
The screen should scroll up or down 1 screen height.
Comment 1 Ralf Habacker 2017-06-27 19:06:03 UTC
The implementation of the page scroll up/down code is located in Register::scrollPage()
Comment 2 Thomas Baumgart 2017-07-02 16:57:29 UTC
Note: this is the old register code which will be removed at some point in time.