Bug 513777 - KMyMoney Undo Entry Creation
Summary: KMyMoney Undo Entry Creation
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.2.1
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-24 10:37 UTC by pc
Modified: 2025-12-25 08:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screenshots etc showing undo entry issue (145.83 KB, application/pdf)
2025-12-24 10:37 UTC, pc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pc 2025-12-24 10:37:27 UTC
Created attachment 187934 [details]
screenshots etc showing undo entry issue

SUMMARY
In a credit card account if I delete a “Charge” entry, and then using the toolbar “Undo” button, I am expecting the account to be the same as before the deletion. This does not appear to be the case as when I use the “Undo” button two entries are created, a “Charge” and a “Credit”.
However, if I now now save the KMyMoney account file the unexpected “Credit” entry disappears and all is as expected.
The behaviour can be shown in a simple account setup.

I will attach a pdf showing screenshots.

STEPS TO REPRODUCE
1. Create a credit card account with a few entries
2. Delete a "Charge" entry
3. Using the toolbar "Undo" button to restore the deleted "Charge" entry

OBSERVED RESULT
After the "Undo" action two entries are created, a "Charge" and a "Payment"

EXPECTED RESULT
I was only expecting the deleted "Charge" payment to be be created.
Also note if I save the KMyMoney account file the unexpected "Payment" entry disappears.

SOFTWARE/OS VERSIONS
Windows 11
Ubuntu 24.04 using AppImage

ADDITIONAL INFORMATION
I will attach a pdf showing screenshots.
Comment 1 Thomas Baumgart 2025-12-25 08:55:20 UTC
Note: this one only shows in KF6/Qt6. On KF5/Qt5 KMyMoney works as expected.