After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 346159 - General Ledger seems to confuse the blank transaction
General Ledger seems to confuse the blank transaction
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Register
git-master
Other All
: Normal normal
: ---
Assigned To: gnucash-ui-maint
gnucash-ui-maint
: 346509 347531 541386 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-06-28 22:51 UTC by Andreas Köhler
Modified: 2018-06-29 21:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Köhler 2006-06-28 22:51:46 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.
Comment 1 Tom Purl 2007-01-05 03:13:04 UTC
I'm also experiencing this problem with 2.0.4.  Thanks for the tip on deleting the extra blank transactions.  
Comment 2 David Ciani 2008-05-11 22:36:27 UTC
I as well am experiencing this issue. I am using version 2.2.5. The workaround works great though. Keep up the good work!
Comment 3 Andreas Köhler 2008-05-13 23:29:57 UTC
*** Bug 347531 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Köhler 2008-05-13 23:30:44 UTC
*** Bug 346509 has been marked as a duplicate of this bug. ***
Comment 5 Andreas Köhler 2008-07-05 21:18:03 UTC
*** Bug 541386 has been marked as a duplicate of this bug. ***
Comment 6 Charles Day 2009-01-21 18:02:02 UTC
I also see that closing the general ledger and reopening it will show one more empty transaction than the previous time.
Comment 7 Charles Day 2009-01-21 18:36:04 UTC
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.
Comment 8 Charles Day 2009-01-30 00:43:37 UTC
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.
Comment 9 Charles Day 2009-02-12 17:18:38 UTC
I have committed r17896 which fixes #2 of comment 8.
Comment 10 don fox 2009-04-14 22:03:52 UTC
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.
Comment 11 Geert Janssens 2011-01-28 21:16:58 UTC
Changing OS as per comment 10
Comment 12 John Ralls 2018-06-29 21:08:51 UTC
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.