split amount opposite sign don't work when using + button

Bug #1976138 reported by Noel Utter
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Low
Maxime DOYEN

Bug Description

OS: Windows 10
HomeBank version: 5.5.5 (bug already noticed in previous versions)

When I add a positive amount in the split for a negative amount transaction, the sign is no kept and goes negative.

I have to edit the split to change the sign.

Example:
- Create a transaction with an amount of -1000€
- Open transaction splits
- Enter an amount of 200€ (positive)
- Click on "+" button to add the split line
-> The split line is created with an amount of -200€ (negative) and the unassigned amount goes to -800€
Turnaround:
- Edit the line using the pencil button
- Change the sign
- Click on the check button
-> The split line is corrected with the amount well signed, and the unassigned amount goes to -1200€

Revision history for this message
Noel Utter (noelutter) wrote :

See printscreens in attached document.

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

http://homebank.free.fr/help/dlg-spli.html

Amount the amount of the split line
to force a positive amount enter +xxx
to force a negative amount enter -xxx

Changed in homebank:
status: New → Invalid
Revision history for this message
Noel Utter (noelutter) wrote :

Sorry, but if the total amount is negative, it isn't OK: Impossible to add a positive split line even with adding the "+" sign (without using the turnaround).

If the total amount is positive, adding a negative split line is OK.

Changed in homebank:
status: Invalid → New
Revision history for this message
letoloke (molina26ricardo) wrote :

i believe mdoyen is correct here, i saw the screenshots and don't see any problems, the way its behalf now it's ok, just add the minus sing and that's it

There are situations where i have an income that contains a commission on it, this kind of transaction split can help since it has an income and expense kind of in the same transaction, however i stop using split transactions since i can't export them correctly

Revision history for this message
TG (tiagograca) wrote :

Related to https://bugs.launchpad.net/homebank/+bug/1965803

Even if I use the + sign in front, HomeBank doesn't seem to keep it : https://bugs.launchpad.net/homebank/+bug/1965803/+attachment/5581311/+files/tRg5lXYeRu.gif

Anyone able to reproduce?

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

ok, its when you click on + button
when you enter on after inpit amount +200 it works

simply miss a gtk_spin_button_update somewhere

Maxime DOYEN (mdoyen)
summary: - Wrong sign in transaction split
+ split amount opposite sign don't work whe using + button
Changed in homebank:
assignee: nobody → Maxime DOYEN (mdoyen)
importance: Undecided → Low
milestone: none → 5.5.6
status: New → Confirmed
status: Confirmed → In Progress
Maxime DOYEN (mdoyen)
summary: - split amount opposite sign don't work whe using + button
+ split amount opposite sign don't work when using + button
Maxime DOYEN (mdoyen)
Changed in homebank:
status: In Progress → Fix Committed
Maxime DOYEN (mdoyen)
Changed in homebank:
status: Fix Committed → Fix Released
Revision history for this message
Noel Utter (noelutter) wrote :

Hello Maxime, sorry but this bug is still present in 5.5.6

See attached document

Revision history for this message
William (william-n-havard) wrote :

I can confirm the bug is still here. It also happens when trying to add a negative number to a positive amount. See attached screenshots.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.