[GH-ISSUE #4220] [Bug]: Certain splits always show as needing more funds. #8725

Closed
opened 2026-04-10 19:00:56 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @youngcw on GitHub (Jan 22, 2025).
Original GitHub issue: https://github.com/actualbudget/actual/issues/4220

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

If an existing transaction is turned into a split, the check for sum(child_amounts)=parent_amount is always showing even if the children add up.

Image

I checked a file export and it looks like the transaction is getting flagged as having an error in the db with the "missing" amount. So maybe whats happening is that the error is not removed when the transaction is balanced and saved. Then when the account is opened again, the error is still in the db and is showed as the missing amount popover.

The "fix splits" option does not fix this, and it is still exists on a new transaction if the original is duplicated.

How can we reproduce the issue?

Steps to recreate:

  1. Open edge build
  2. Modify an existing transaction to be a split
  3. Make the split lines match the parent total, see the popover go away.
  4. Navigate away from the account, then go back into the account. The popover will act like there is a broken split even though the amounts add up.

Where are you hosting Actual?

None

What browsers are you seeing the problem on?

No response

Operating System

None

Originally created by @youngcw on GitHub (Jan 22, 2025). Original GitHub issue: https://github.com/actualbudget/actual/issues/4220 ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? If an existing transaction is turned into a split, the check for sum(child_amounts)=parent_amount is always showing even if the children add up. ![Image](https://github.com/user-attachments/assets/0f14a996-abda-4b54-9fe5-27b70782f5c4) I checked a file export and it looks like the transaction is getting flagged as having an error in the db with the "missing" amount. So maybe whats happening is that the error is not removed when the transaction is balanced and saved. Then when the account is opened again, the error is still in the db and is showed as the missing amount popover. The "fix splits" option does not fix this, and it is still exists on a new transaction if the original is duplicated. ### How can we reproduce the issue? Steps to recreate: 1. Open edge build 2. Modify an _existing_ transaction to be a split 3. Make the split lines match the parent total, see the popover go away. 4. Navigate away from the account, then go back into the account. The popover will act like there is a broken split even though the amounts add up. ### Where are you hosting Actual? None ### What browsers are you seeing the problem on? _No response_ ### Operating System None
GiteaMirror added the regressionbug labels 2026-04-10 19:00:56 -05:00
Author
Owner

@youngcw commented on GitHub (Jan 22, 2025):

As a side note, the popover always has a scrollbar, which is strange. Also if the split is a deposit, then the "amount left" amount will change between positive and negative when the split expansion is toggled

<!-- gh-comment-id:2607864001 --> @youngcw commented on GitHub (Jan 22, 2025): As a side note, the popover always has a scrollbar, which is strange. Also if the split is a deposit, then the "amount left" amount will change between positive and negative when the split expansion is toggled
Author
Owner

@run4est commented on GitHub (Jan 23, 2025):

@youngcw the scrollbar can be removed by changing the hardcoded maxHeight of the popover to 42px.
packages/desktop-client/src/components/transactions/TransactionsTable.jsx
line 1139: style={{ width: 375, padding: 5, maxHeight: '42px !important' }}
But it reappears based on the amount 10 digits including decimal place or negatives values with 9 digits including decimal place.

<!-- gh-comment-id:2610984257 --> @run4est commented on GitHub (Jan 23, 2025): @youngcw the scrollbar can be removed by changing the hardcoded maxHeight of the popover to 42px. packages/desktop-client/src/components/transactions/TransactionsTable.jsx line 1139: `style={{ width: 375, padding: 5, maxHeight: '42px !important' }}` But it reappears based on the amount 10 digits including decimal place or negatives values with 9 digits including decimal place.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#8725