SUMMARY A result from the calculator widget in the transaction entry "dialog" is not always preserved. STEPS TO REPRODUCE 1. Create and enter a transaction with an amount of, say, 100. 2. Duplicate the transaction. 3. Double-click the new transaction to edit it. 4. Click the calculator button in the amount field. 5. Do some operation in the calculator widget, e.g., + 100 and press Enter key. 6. Do not click anything else in the dialog, just click Enter button. OBSERVED RESULT After step 5 I see 200 in the Amount field. After step 6 (in the entered transaction) the Amount is 100 again. EXPECTED RESULT The amount stays 200 as has been calculated.
There is a workaround: if after exiting the calculator widget, in step 6, I simply click into the amount field before clicking Enter button, then the amount is correctly saved.
Git commit d1441bf7990c3e134554b56eb689cc5fafabfa41 by Thomas Baumgart. Committed on 06/09/2025 at 13:07. Pushed by tbaumgart into branch 'master'. Emit signal when returning value from calculator in amount widget FIXED-IN: 5.2.2 M +1 -0 kmymoney/widgets/amountedit.cpp https://invent.kde.org/office/kmymoney/-/commit/d1441bf7990c3e134554b56eb689cc5fafabfa41
Git commit b00f7681a8fbf12b036374fd68a2eaa577e5befe by Thomas Baumgart. Committed on 06/09/2025 at 13:35. Pushed by tbaumgart into branch '5.2'. Emit signal when returning value from calculator in amount widget FIXED-IN: 5.2.2 (cherry picked from commit d1441bf7990c3e134554b56eb689cc5fafabfa41) M +1 -0 kmymoney/widgets/amountedit.cpp https://invent.kde.org/office/kmymoney/-/commit/b00f7681a8fbf12b036374fd68a2eaa577e5befe