Bug 458551 - When editing splits, automatically pre-fill the amount with the remaining balance
Summary: When editing splits, automatically pre-fill the amount with the remaining bal...
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (show other bugs)
Version: git (master)
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-31 13:59 UTC by Dawid Wróbel
Modified: 2022-09-04 09:37 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 Dawid Wróbel 2022-08-31 13:59:11 UTC
SUMMARY
When editing splits, it would be convenient if the amounts were pre-filled with the remaining balance. So, e.g., when editing first split, the amount would be filled with a total amount. If that balance was edited manually (e.g. halved by typing '/2' on the keyboard), the next split would be pre-filled with the remaining amount. 

This is how GnuCash does it and it speeds up split editing dramatically.
Comment 1 Thomas Baumgart 2022-09-04 09:37:27 UTC
Git commit c4f9d792060067610860595406fb03136f83e23d by Thomas Baumgart.
Committed on 04/09/2022 at 09:36.
Pushed by tbaumgart into branch 'master'.

Pre-fill unassigned amount to new split

M  +1    -0    kmymoney/mymoney/mymoneyenums.h
M  +3    -0    kmymoney/mymoney/splitmodel.cpp
M  +6    -3    kmymoney/views/splitdialog.cpp
M  +31   -2    kmymoney/views/splitview.cpp
M  +3    -0    kmymoney/views/splitview.h

https://invent.kde.org/office/kmymoney/commit/c4f9d792060067610860595406fb03136f83e23d