Bug 470640 - Split transactions are difficult to enter
Summary: Split transactions are difficult to enter
Status: RESOLVED NOT A BUG
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.1.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-04 17:53 UTC by k6lw
Modified: 2023-06-07 15:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description k6lw 2023-06-04 17:53:50 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
On AppImage 5.1.504, Editing a split transaction "adds" any changed amount to the existing amount.


STEPS TO REPRODUCE
1. Add new transaction selecting a similar previous one
2. Enter split transaction screen.
3. Click on an amount to edit.
4. Enter new amount and press enter. The number will change, but not to the amount you entered. 

OBSERVED RESULT
Tried to change a value of -1678 to value -1888 and the window showed -3566

EXPECTED RESULT
-1888 should have been shown

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Current LTE version
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Sorry, not on my linux partition and don't want to reboot machine to find out and then need to start over.
Comment 1 k6lw 2023-06-07 06:11:14 UTC
Kubuntu version 22.04
Plasma Version 5.24.7
Framework 5.92.0
QT 5.15.3
Kernal 5.15.0-73

KMyMoney 5.1.3-3bdff3d4b
Comment 2 Thomas Baumgart 2023-06-07 15:13:55 UTC
That is by design. In your case, pressing the minus sign opens the calculator and subtracts the value you enter (1888) from the number that is already in the edit widget (-1678). That sum sure is -3566. A workaround is to clear the value in the widget first by pressing the delete button. Upcoming versions of KMyMoney have separate edit widgets for debit and credit values and there is no need to enter negative values anymore.