Bug 440739

Summary: Switching away from Ledger view and back without changing accounts should retain its position
Product: [Applications] kmymoney Reporter: Dawid Wróbel <me>
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 5.1.2   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In: 5.2
Sentry Crash Report:

Description Dawid Wróbel 2021-08-08 10:54:03 UTC
SUMMARY
Switching away from Ledger view and back without changing accounts should retain its position.


STEPS TO REPRODUCE
1. Open an account in ledger and scroll up the list so that the bottom-most transaction shown is not the most recent one
2. Switch away from Ledger view
3. Switch back to the Ledger view

OBSERVED RESULT
The ledger is reset and the bottommost transaction is the most recent one added, not the one that the ledger was focused on prior to switching away from the view

EXPECTED RESULT
Ledger should be positioned on the same transaction as before switching away from the view.