Ledger Behavior
Thomas Baumgart
thb at net-bembel.de
Sat Jan 31 13:49:48 GMT 2026
On Freitag, 30. Januar 2026 18:12:15 CET Brendan Coupe via KMyMoney-devel wrote:
> On 1/30/26 9:35 AM, Thomas Baumgart via KMyMoney-devel wrote:
> > On Freitag, 30. Januar 2026 16:15:06 CET Cooler via KMyMoney-devel wrote:
> >
> >> I am also affected by this bug. I compiled KMM from git master
> >> (commit 59be0db6; BUILD_WITH_QT6) on Debian Linux. The Debian KMM
> >> package based on release 5.2.1 is not affected. I could do a
> >> 'git bisect' if that was of help but compiling KMM on my laptop
> >> takes quite some time.
> >>
> >> For me, the following workaround appears to stop the jumping. In
> >> Settings -> Ledger -> Display Tab -> Information headers
> >> select
> >> 'Show last reconciliation entry with date and balance in ledger'
> >>
> >> Before, the selection was
> >> 'Show all reconciliation entries with date and balance in ledger'
> >> which I guess is the default because I never changed that setting.
>
> This setting fixed it for me. I'm not sure why since I'm not clear what
> the difference is but it works so I'm happy.
Well, it was a mixture of delayed refreshes of the screen, sorting and
modifications to the reconciliation model (which for simplicity is reloaded
completely after each change). This caused the current index to be set based
on the number of visible items when the reconciliation entries were not
loaded and sorted and once that happened, the view was positioned based
on the now invalid index.
The delays are necessary because otherwise it will resort all open ledgers
upon each and every modification of a transaction. And that is just too time
consuming. So the sorting is delayed to the time when all changes have
settled. This was very imminent and visible at the end of the reconciliation
process where it took very long to switch the transactions from state C to R.
Fixing that a while back caused the jumping to start. But all of that now
seems to be fixed.
> When I enter a ledger, I'm at the bottom. When I duplicate an
> transaction, it's added to the bottom and the ledger adjust so that the
> new transaction is at the bottom.
>
> > No need to do a bisect.
> >
> > Just added commit cf9df4b7 which should improve this a lot.
> Does this mean this change to my settings won't be necessary?
> >
> > Thomas
> >
> > p.s. The random footer text just hits the nail on the head :)
> It's funny how often the fortune is appropriate.
--
Regards
Thomas Baumgart
-------------------------------------------------------------
My son asked me what our IP address was. I pointed to the toilet.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20260131/deeb72d1/attachment.sig>
More information about the KMyMoney-devel
mailing list