#741207 gnucash: Split amount lost when tabbing off without an account specified when trading accounts enabled

Package:
gnucash
Source:
gnucash
Description:
personal and small-business financial-accounting software
Submitter:
John Marter
Date:
2018-12-09 17:03:05 UTC
Severity:
normal
#741207#5
Date:
2014-03-09 23:11:53 UTC
From:
To:
Dear Maintainer,

In 2.2.9 If I did not fill out the account field for a split it would
default in Orphan-USD and leave my typed amount in place.

Now it still defaults in Orphan-USD, but it clears the amount that I typed.

Can the old behavior be restored?

Steps to reproduce:
With a new gnucash file with the default accounts (although really this
should work on any file):

1. Open the Cash in Wallet account register
2. Click on Split
3. Tab 4 times to the memo field type a memo: "abc"
4. Tab 2 times to the received field type an amount 100
5. Tab 2 times opening up a new split  line At this point the account filed
    shows the "Cash in Wallet" account on the first split.
6. Tab once.  Type a memo "xyz"
7. Tab 3 times. Change the higlighted value of 100 to 30.
8. Tab once, opening up a new split.

It is at this point that the behaviors are different.  2.2.9 still shows 30
in the spend column. 2.6.1 shows a blank amount on the previous split and
100 on the newly opened split.

#741207#10
Date:
2014-06-06 21:04:54 UTC
From:
To:
Le dimanche 09 mars 2014 à 18:11 -0500, John Marter a écrit :

I followed carefully your instructions in order to replicate this
behavior with both 1:2.6.1-2 and 1:2.6.3-1, but I did not get the
problem that you describe. In both cases, GnuCash correctly sets the
"Orphan-USD" account, and does not clear the amount.

Can you please verify that you can still reproduce this issue? Is there
something specific about your setup?

Best,

#741207#17
Date:
2014-06-06 23:18:11 UTC
From:
To:
I have just tried it again.  I am now using 1.6.3.  I still see the same
problem.

I tried on my main account using KDE with a file with 10 years of history.
I  also tried it on a test login with an almost new and empty set of
accounts on Gnome.

I am not aware of anything special about my setup other than that I have
multi-arch enabled.  I can try to do this again with a minimal install of
Debian, but unfortunately I will have to wait until after June 15th
before I have time for that.

Thanks for looking into it.  I will continue to try to characterize this
problem.

#741207#22
Date:
2014-06-06 23:27:17 UTC
From:
To:
Aha, got it! I have trading accounts enabled on both systems.
When I disabled that on my test login, the problem went away.

I don't know if trading accounts were available in 2.2.9, but I
would not have had them enabled when I did that test.

I hope that helps.
-John

#741207#27
Date:
2014-10-05 02:44:55 UTC
From:
To:
retitle 741207 gnucash: Split amount lost when tabbing off without an account specified when trading accounts enabled
tags 741207 - moreinfo unreproducible
found 741207 gnucash/1:2.6.4-1
thanks

I believe the revelation that trading accounts must be enabled satisfies
the request for more info and makes this behavior reproducible.