strange sorting behavior

Chuck Cox chuck at chezcox.net
Thu Jun 14 00:47:00 EDT 2012


I'm using Gnucash 2.4.10 on Windows Vista, installed from the Win32
package on the gnucash.org site.

Everything seems to be working well except I've just noticed that one
of my account registers is behaving oddly. Please see attached screen
shots.

The register shown is sorted in the "standard" sort order. When
looking at a series of withdrawals, I would expect the balance in the
right-most column to decrease going down the page from one transaction
to the next. As you can see in the "before" screenshot, sometimes the
balance goes up, sometimes it goes down.

If I scroll upwards (back in time), things look normal until about a
week ago. I've tried sorting different ways, but every time I go back
to "standard" sort, it looks just like the screenshot again. Closing
this account register and re-opening it again had no effect. Doing
"Actions -> Check & Repair -> All transactions" had no effect either.

The only thing that fixed it was quitting Gnucash entirely and then
re-starting it. When I opened up this account register again, it is
now sorted "properly" i.e. the balance decreases correctly from one
transaction line to the next. (See "after" screenshot)

If you compare the two screenshots, you'll notice that the transaction
descriptions and deposit/withdrawal amounts all appear in the same
order. It's only the Balance column that is different between the two.
So it doesn't appear it was mixing up the transaction data, it was
just not calculating the balance correctly from one transaction to the
next.

I believe this has something to do with importing transactions because
I had just finished importing some right before I noticed this
strangeness. The register window was open and I did "Actions -> Online
Actions -> Get transactions". After matching things up in the
transaction matcher window and clicking OK, the imported transactions
were inserted into the register and that's when I noticed the balances
were wrong.

So to sum up: the problem went away when I re-started Gnucash; my
transaction data appears to be intact; there appears to be a problem
in updating the register display after importing transactions.

I'll be happy to try to answer any questions to help better define and
track down the source of the problem...


Thanks,
Chuck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnucash-before.jpg
Type: image/jpeg
Size: 183345 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20120613/da227888/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnucash-after.jpg
Type: image/jpeg
Size: 190648 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20120613/da227888/attachment-0003.jpg>


More information about the gnucash-user mailing list