Peter, You [re]discovered a quirk of GnuCash that it is possible to leave a transaction having an uncommitted pending edit, then edit the 'home' split line from a different account of the same transaction by deleting the 'home' account. GnuCash then automagically commits the edit and it disappears from view in that account. If the complete transaction disappeared rather than only the 'home' split line, I would consider that a true bug which should be reported. For the part about the 'home' split line disappearing, It would be an uphill battle to get this quirk fixed because some users consider that a feature rather than a bug. I have submitted a couple of enhancement bug reports without seeing any action.
I personally try to discipline myself to always jump to a different account register to edit and never edit the account field in the 'home' split line of a transaction, but sometimes I slip up. As for finding lost pending edits, I try tricks like hitting the tab key to see if there is one in the current account register, or trying to save the file to see if a warning appears about an uncommitted edit in another account register. A complication to this is that the automagic backup can work without triggering the warning about uncommitted edits, which will then leave the Save button greyed out when there is still an uncommitted edit. Further, if there is an uncommitted edit in a special register such as the general ledger, a search result or 'with child' register, it gets harder to figure out exactly which register tab is the culprit. I'd better get off the soap box. David Carlson On Sun, Nov 17, 2019 at 11:19 PM Peter West <p...@pbw.id.au> wrote: > I found a transaction in Orphan-AUD. It was a split, and the Orphan > component was zero. Maybe I had forgotten part of the split, and then > corrected it, leaving nothing in the Orphan-AUD account. > > I wanted to remove this transaction from Orphan-AUD. As I recall, I tried > to remove the Orphan line from the copy of the transaction under the > Orphan-AUD tab. Uh-uh. Something about the anchoring to another account. > > So I went to the parent account (an asset account) of the split, and tried > to delete the null Orphan-AUD line. That seemed to work. > > Back to the Orphan-AUD tab, delete this transaction as a whole. Presto! > All gone. > > Bad mistake. Deleting transaction was good to its word, and deleted the > whole transaction. I lost the only references I had to the original > transaction (from August). > > What is the correct method? > > Peter > > > -- > Peter West > p...@pbw.id.au > But he cried out all the more, “Son of David, have mercy on me!” > > _______________________________________________ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > -- David Carlson _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.