[GNC] Deleting Transaction from Reconcile Deletes Wrong Transaction

john jralls at ceridwen.us
Fri Dec 30 12:03:33 EST 2022


The "wonkiness on the Mac" was indeed limited to Macs. That doesn't mean that Windows can't also develop wonkiness, but I don't maintain Gtk's Windows backend nor do I know much about how it works so unlike the Mac backend I can't fix it.

Your description of the problem doesn't match the macOS wonkiness anyway. That was about focus going to the wrong window, not window actions getting applied to the wrong tree view in a window.

For testing you can use File>Save As to create a SQLite3 version of your book, saved as a file on your local disk, then make a copy of that and work on the copy. That makes it easy to reset for another test attempt. With that in place can you reproduce the bug at will? If so is the transaction that actually gets deleted the same every time? Is there a positional relationship, either in the reconcile window or the register, between the transaction you want to delete and the one that gets deleted?

Regards,
John Ralls


> On Dec 30, 2022, at 6:55 AM, Thomas Forrester <tlforrester at gmail.com> wrote:
> 
> Ah.  I reported the version [GnuCash 4.11 Build ID: 4.11+(2022-06-25) using
> a MariaDB backend], but totally forgot to mention I'm running on Windows 11.
> 
> Hopefully the "wonkiness" seen on the Mac isn't present in Windows?
> 
> Or hopefully it's gone on all platforms in 4.13, as you've suggested, which
> I installed yesterday to get current.
> 
> On Fri, Dec 30, 2022 at 1:38 AM David H <hellvee at gmail.com> wrote:
> 
>> I'm sure he read what you wrote and assumed you were running Gnucash 4.12
>> on MacOS Ventura :-)  If not please advise OS and Gnucash version.
>> 
>> If that is indeed the case check out
>> https://lists.gnucash.org/pipermail/gnucash-user/2022-November/103465.html
>> and https://gitlab.gnome.org/GNOME/gtk/-/issues/5305#note_1592320 for all
>> the gory details.  Basically popups passed the mouse clicks etc through to
>> the underlying register.  Fixed in 4.13 thanks goodness.
>> 
>> Regards David H.
>> 
>> 
>> 
>> On Fri, 30 Dec 2022 at 13:47, Thomas Forrester <tlforrester at gmail.com>
>> wrote:
>> 
>>> I guess you didn't read what I wrote.  So, let me say it again (via the
>>> magic of copy/paste):
>>> 
>>> "I was right-clicking on a transaction in the right (credit) column.  It
>>> was already highlighted, and there was no other transaction highlighted.
>>> The right-click context menu appeared alongside the mouse pointer which
>>> was
>>> positioned on the highlighted credit transaction.  From that menu I
>>> selected and confirmed the delete of the highlighted credit transaction.
>>> A
>>> debit transaction was deleted instead."
>>> 
>>> Reverting to a backup after doing as much work as I had leading up to that
>>> reconciliation in that session would have been a multitude of times more
>>> painful.  Bad stuff always happens after lots of other stuff has happened
>>> -
>>> Murphy's Law.  The backup is for truly catastrophic stuff, or maybe if
>>> you're just lucky and haven't done anything else yet.
>>> 
>>> This is hardly and interface error.  And checking the 4.13 change log
>>> reveals nothing addressing this or any related reconciliation bug.  The
>>> known issues list doesn't even identify it.  I don't think it's on
>>> anyone's
>>> radar.
>>> 
>>> On Thu, Dec 29, 2022 at 4:28 PM Adrien Monteleone <
>>> adrien.monteleone at lusfiber.net> wrote:
>>> 
>>>> That sounds like a GTK bug. You were raising a context menu on what was
>>>> selected, not where the mouse pointer was located. If you had a line in
>>>> the left pane selected, that is what got deleted.
>>>> 
>>>> Maybe reverting to a backup file and making it your main file would be
>>>> in order for restoring your books to a sane state then starting the
>>>> reconciliation over.
>>>> 
>>>> As for the bug, I suppose you can file it, but I wouldn't be surprised
>>>> if it is a GTK rather than GnuCash problem.
>>>> 
>>>> But before you do, try GnuCash 4.13 first. I think the GTK version was
>>>> just bumped on that release.
>>>> 
>>>> Regards,
>>>> Adrien
>>>> 
>>>> On 12/29/22 3:36 PM, Thomas Forrester wrote:
>>>>> I was reconciling several credit card statements for the same card and
>>>> had
>>>>> noticed that a subscription payment I had set up as an automatic entry
>>>> was
>>>>> showing up even though I had canceled the subscription.  Clearly, I
>>>> hadn't
>>>>> discontinued the automatic transaction entry in GnuCash.  I ignored
>>>> several
>>>>> of the subscription transactions while reconciling, but then I
>>> thought I
>>>>> might as well just delete them in the Reconcile screen since you can
>>>>> right-click and delete transactions right there.  With the first ot 3
>>> of
>>>>> the transactions highlighted, I right-clicked on it and selected
>>>> delete.  I
>>>>> clicked OK to the confirmation message affirming I was sure I wanted
>>> to
>>>>> delete the transaction. I rather mindlessly repeated that action a
>>> couple
>>>>> of times, then realized the transactions weren't deleting.  Much to my
>>>>> horror, I realized transactions on the left (debit) column for the
>>>>> reconciliation was getting shorter, not the right (credit) column
>>> where
>>>> the
>>>>> highlighted item I was trying to delete was.
>>>>> 
>>>>> Again, I'm going to stress this: I was right-clicking on a
>>> transaction in
>>>>> the right (credit) column.  It was already highlighted, and there was
>>> no
>>>>> other transaction highlighted.  The right-click context menu appeared
>>>>> alongside the mouse pointer which was positioned on the highlighted
>>>> credit
>>>>> transaction.  From that menu I selected and confirmed the delete of
>>> the
>>>>> highlighted credit transaction.  A debit transaction was deleted
>>> instead.
>>>>> 
>>>>> Obviously, this is not correct behavior.
>>>>> 
>>>>> This is GnuCash 4.11 Build ID: 4.11+(2022-06-25) using a MariaDB
>>> backend.
>>>> 
>>>> _______________________________________________
>>>> gnucash-user mailing list
>>>> gnucash-user at gnucash.org
>>>> To update your subscription preferences or to unsubscribe:
>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>> -----
>>>> Please remember to CC this list on all your replies.
>>>> You can do this by using Reply-To-List or Reply-All.
>>>> 
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user at gnucash.org
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>>> 
>> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list