[GH-ISSUE #2722] [Bug]: Amount changed (x100) after category change #8023

Closed
opened 2026-04-10 18:10:37 -05:00 by GiteaMirror · 10 comments
Owner

Originally created by @prigal on GitHub (May 7, 2024).
Original GitHub issue: https://github.com/actualbudget/actual/issues/2722

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)

What happened?

In transaction list, when editing category on some transactions, amount is automatically multiplied per 100.

Capture vidéo du 2024-05-07 09-06-38.webm

I have no rule that modify the amount.

My formatting settings (french)
image

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome

Operating System

Linux

Originally created by @prigal on GitHub (May 7, 2024). Original GitHub issue: https://github.com/actualbudget/actual/issues/2722 ### Verified issue does not already exist? - [X] I have searched and found no existing issue - [X] I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file) ### What happened? In transaction list, when editing category on some transactions, amount is automatically multiplied per 100. [Capture vidéo du 2024-05-07 09-06-38.webm](https://github.com/actualbudget/actual/assets/895267/497c2941-f7f7-4ad4-b54e-7bbebb269250) I have no rule that modify the amount. My formatting settings (french) ![image](https://github.com/actualbudget/actual/assets/895267/1707055a-0474-4976-b92e-d047a64de78c) ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Chrome ### Operating System Linux
GiteaMirror added the bug label 2026-04-10 18:10:37 -05:00
Author
Owner

@youngcw commented on GitHub (May 7, 2024):

do you have an example budget or import file we could use to debug?

<!-- gh-comment-id:2098744328 --> @youngcw commented on GitHub (May 7, 2024): do you have an example budget or import file we could use to debug?
Author
Owner

@prigal commented on GitHub (May 7, 2024):

hello, unfortunately I can't reproduce on a clean and empty budget file (with same bank link through gocardless and same settints, up to experimental ones) and I can't share my real budget file.

I can only reproduce the same bug when clicking on "cleared" icon, it does the same, multiply per 100.

I will do some tests again tonight.

<!-- gh-comment-id:2098794355 --> @prigal commented on GitHub (May 7, 2024): hello, unfortunately I can't reproduce on a clean and empty budget file (with same bank link through gocardless and same settints, up to experimental ones) and I can't share my real budget file. I can only reproduce the same bug when clicking on "cleared" icon, it does the same, multiply per 100. I will do some tests again tonight.
Author
Owner

@l2ysho commented on GitHub (May 11, 2024):

I have the same issue but only in my main file, it seems app switching . and , back and forth when I made any edit on record (same in budgeting window.)

<!-- gh-comment-id:2105966483 --> @l2ysho commented on GitHub (May 11, 2024): I have the same issue but only in my main file, it seems app switching `.` and `,` back and forth when I made any edit on record (same in budgeting window.)
Author
Owner

@prigal commented on GitHub (May 13, 2024):

@l2ysho I think you're right, this is the bug.

<!-- gh-comment-id:2108110423 --> @prigal commented on GitHub (May 13, 2024): @l2ysho I think you're right, this is the bug.
Author
Owner

@l2ysho commented on GitHub (Jun 3, 2024):

Any news about this? btw it behave the same in multiple browsers (Safari, Opera)

<!-- gh-comment-id:2144765226 --> @l2ysho commented on GitHub (Jun 3, 2024): Any news about this? btw it behave the same in multiple browsers (Safari, Opera)
Author
Owner

@leikoilja commented on GitHub (Jun 5, 2024):

uh, just notices the same issue after upgrading to 24.6.0, my amount is randomly changing.
I have noticed it during manually adding new transactions and tapping 'tab' when going through fields to fill and now an issue when i just click 'cleared' checkbox:
https://github.com/actualbudget/actual/assets/10655107/cf308403-c7de-4543-8983-97e643001f16

For info, my formatting:
image

<!-- gh-comment-id:2149523860 --> @leikoilja commented on GitHub (Jun 5, 2024): uh, just notices the same issue after upgrading to 24.6.0, my amount is randomly changing. I have noticed it during manually adding new transactions and tapping 'tab' when going through fields to fill and now an issue when i just click 'cleared' checkbox: https://github.com/actualbudget/actual/assets/10655107/cf308403-c7de-4543-8983-97e643001f16 For info, my formatting: <img width="641" alt="image" src="https://github.com/actualbudget/actual/assets/10655107/4ce7632c-8a18-42a7-aabe-e0f748b03d7a">
Author
Owner

@prigal commented on GitHub (Jun 7, 2024):

Hi, just did the upgrade too and bug is still there.

<!-- gh-comment-id:2154461037 --> @prigal commented on GitHub (Jun 7, 2024): Hi, just did the upgrade too and bug is still there.
Author
Owner

@julianwachholz commented on GitHub (Jul 4, 2024):

You mentioned you use Chrome. The "space-dot" number format is currently defined to use the dje locale, which Chrome does not support. It falls back to en_US for me.

Chrome (126.0.6478.127):

> Intl.NumberFormat('dje').format(1200.33)
< '1,200.33'

Firefox (127.0.2):

> Intl.NumberFormat('dje').format(1200.33)
< "1 200.33" 

I would consider changing the number formats to locales supported by all major browsers (which can probably be difficult). I couldn't find any locale supported in Chrome that uses a non-breaking space thousand separator and a period decimal separator.

I also found a small bug that could possible fix this issue:
https://github.com/actualbudget/actual/pull/2981/files#diff-f00ab63a0b721dd9afc0e9f181bc480d0c002c255e741c37c596e7a2b14212a8R41

@youngcw to reproduce the x100 bug, one can use the demo:

  1. Create a new demo budget
  2. Change number format to "1 000.33"
  3. Go to BofA account, find the "Housy House" Mortgage transaction
  4. Toggle the Clear flag

Expected result: Amount stays 1200
Actual result: Amount changes to 1.20

<!-- gh-comment-id:2208691844 --> @julianwachholz commented on GitHub (Jul 4, 2024): You mentioned you use Chrome. The "space-dot" number format is [currently defined to use the `dje` locale](https://github.com/actualbudget/actual/blob/f18bce60946a970199be8f5d4144033d355f81ce/packages/loot-core/src/shared/util.ts#L273), which Chrome does not support. It falls back to `en_US` for me. Chrome (126.0.6478.127): ``` > Intl.NumberFormat('dje').format(1200.33) < '1,200.33' ``` Firefox (127.0.2): ``` > Intl.NumberFormat('dje').format(1200.33) < "1 200.33" ``` I would consider changing the number formats to locales supported by all major browsers (which can probably be difficult). I couldn't find any locale supported in Chrome that uses a non-breaking space thousand separator and a period decimal separator. I also found a small bug that could possible fix this issue: https://github.com/actualbudget/actual/pull/2981/files#diff-f00ab63a0b721dd9afc0e9f181bc480d0c002c255e741c37c596e7a2b14212a8R41 @youngcw to reproduce the x100 bug, one can use the demo: 1. Create a new demo budget 2. Change number format to "1 000.33" 3. Go to BofA account, find the "Housy House" Mortgage transaction 4. Toggle the Clear flag **Expected result:** Amount stays 1200 **Actual result:** Amount changes to 1.20
Author
Owner

@youngcw commented on GitHub (Nov 4, 2024):

Is this still happening to people? The unsupported dje format was removed and may have fixed the issue.

<!-- gh-comment-id:2455776951 --> @youngcw commented on GitHub (Nov 4, 2024): Is this still happening to people? The unsupported dje format was removed and may have fixed the issue.
Author
Owner

@leikoilja commented on GitHub (Nov 5, 2024):

cannot tell which release exactly, but it has not been a problem for me on the latest releases

<!-- gh-comment-id:2456959978 --> @leikoilja commented on GitHub (Nov 5, 2024): cannot tell which release exactly, but it has not been a problem for me on the latest releases
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#8023