GNOME Bugzilla – Bug 346159
General Ledger seems to confuse the blank transaction
Last modified: 2018-06-29 21:08:51 UTC
SVN r14456. Steps to reproduce: * Create a new file (without txn's) * Tools->General Ledger * Actions->Blank Transaction (or toolbar button) You will see two empty txn's, each one (green) txn line and one (gray) split, last split active. * Click the memo of the first txns first split (2nd line) * Click somewhere in the second txn Now only one txn is left 8-) This seems to be a way to get rid of superfluous blank lines: Go to the top blank txn, then repeatedly click the first split and then the next transaction. On the other hand, a way to reproduce them is: Go to the last txn line, then repeatedly click the previous (last but one, 2 lines up, green ;-)) txn and click the new(!) txn. Closing the general ledger does not help. I am not sure about possible data loss or corruption, but I do not expect really evil things to happen.
I'm also experiencing this problem with 2.0.4. Thanks for the tip on deleting the extra blank transactions.
I as well am experiencing this issue. I am using version 2.2.5. The workaround works great though. Keep up the good work!
*** Bug 347531 has been marked as a duplicate of this bug. ***
*** Bug 346509 has been marked as a duplicate of this bug. ***
*** Bug 541386 has been marked as a duplicate of this bug. ***
I also see that closing the general ledger and reopening it will show one more empty transaction than the previous time.
Re comment 6: Actually it is worse. If you open the general ledger, then close it, then open and close "n" other registers, you will get n+1 new empty transactions upon reopening the general ledger. I suspect that gnc_split_register_cleanup() isn't doing things quite right. This may be a separate problem from what Andreas has reported though.
This involves a few things that may or may not be separate bugs: 1. For each open register there is a "blank transaction" containing a "blank split", which is the place you enter new transactions. The general ledger is displaying all of these plus its own. So if you have "n" other registers open, the general ledger will show those "n" blank transactions (plus its own at the very bottom). 2. Yet another blank transaction appears for each time that a register was closed and didn't properly clean up after itself. 3. Clicking into the split of a blank transaction and out of it makes it unexpectedly disappear. Of course #3 disappears if #1 and #2 are solved, because then the extra blank transactions won't appear in the first place.
I have committed r17896 which fixes #2 of comment 8.
Just wanted to point out that the bug is not limited to Linux. I have the same bug in version 2.2.9 of the Windows version. Not complaining, it's wonderful software. Thanks.
Changing OS as per comment 10
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=346159. Please continue processing the bug there and please update any external references or bookmarks.