Bug 506644

Summary: Crashes when autosaving and editing split transaction
Product: [Applications] kmymoney Reporter: kde.lunchbox714
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 5.2.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.2.1
Sentry Crash Report:

Description kde.lunchbox714 2025-07-05 17:02:13 UTC
SUMMARY
KyMyMoney crashes during autosave when you are editing split transactions. It looks like the save was successful with the except for the transaction I was editing.

STEPS TO REPRODUCE
1.  Create or edit a transation
2.  Open the split transaction window
3.  Wait for autosave to happen

SOFTWARE/OS VERSIONS
Windows: 11 V 2009 (x86_64)
KyMyMoney: 5.2.0-07871e8

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2025-07-06 07:55:34 UTC
Git commit 2b627d512b3672c6cade0a012fd654c2bc66e58e by Thomas Baumgart.
Committed on 06/07/2025 at 07:54.
Pushed by tbaumgart into branch 'master'.

Postpone autosave until editing transactions is done
FIXED-IN: 5.2.1

M  +48   -1    kmymoney/kmymoney.cpp
M  +2    -0    kmymoney/kmymoney.h
M  +2    -0    kmymoney/views/kmymoneyview.cpp
M  +2    -0    kmymoney/views/kmymoneyview.h
M  +3    -0    kmymoney/views/kpayeesview.cpp
M  +3    -0    kmymoney/views/ktagsview.cpp
M  +8    -0    kmymoney/views/ledgerview.cpp
M  +2    -0    kmymoney/views/ledgerview.h
M  +3    -0    kmymoney/views/ledgerviewpage.cpp
M  +2    -0    kmymoney/views/ledgerviewpage.h
M  +3    -0    kmymoney/views/simpleledgerview.cpp
M  +2    -0    kmymoney/widgets/kmymoneyviewbase.h

https://invent.kde.org/office/kmymoney/-/commit/2b627d512b3672c6cade0a012fd654c2bc66e58e
Comment 2 Thomas Baumgart 2025-07-07 19:23:25 UTC
Git commit 39ccf10f0c49abec7fb353322f16131a188402fc by Thomas Baumgart.
Committed on 07/07/2025 at 19:23.
Pushed by tbaumgart into branch '5.2'.

Postpone autosave until editing transactions is done
FIXED-IN: 5.2.1
(cherry picked from commit 2b627d512b3672c6cade0a012fd654c2bc66e58e)

M  +48   -1    kmymoney/kmymoney.cpp
M  +2    -0    kmymoney/kmymoney.h
M  +2    -0    kmymoney/views/kmymoneyview.cpp
M  +2    -0    kmymoney/views/kmymoneyview.h
M  +3    -0    kmymoney/views/kpayeesview.cpp
M  +3    -0    kmymoney/views/ktagsview.cpp
M  +8    -0    kmymoney/views/ledgerview.cpp
M  +2    -0    kmymoney/views/ledgerview.h
M  +3    -0    kmymoney/views/ledgerviewpage.cpp
M  +2    -0    kmymoney/views/ledgerviewpage.h
M  +3    -0    kmymoney/views/simpleledgerview.cpp
M  +2    -0    kmymoney/widgets/kmymoneyviewbase.h

https://invent.kde.org/office/kmymoney/-/commit/39ccf10f0c49abec7fb353322f16131a188402fc