Bug 440220 - Institution Liability account balances display in green as if they were positive amounts
Summary: Institution Liability account balances display in green as if they were posit...
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-24 10:48 UTC by Mark Medoff
Modified: 2023-08-18 18:23 UTC (History)
1 user (show)

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 Mark Medoff 2021-07-24 10:48:42 UTC
SUMMARY
When viewing the INSTITUTIONS tab, Liability account balances show in green and should show in red

STEPS TO REPRODUCE
1. Create Asset and Liability accounts
2. Assign above accounts to same Institution
3. View Institution tab

OBSERVED RESULT
Both Asset and Liability accounts with Green text as if they are both positive amounts. Total Balance for institution correctly appears in green or red depending on whether it is positive or negative.

EXPECTED RESULT
Liability balances should appear in red text since they are negative numbers.

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

ADDITIONAL INFORMATION
Comment 1 Hamdsa 2021-09-16 15:18:18 UTC
Similar Issue, using Windows platform with latest master build version (5.1.80)
When viewing the Accounts tab, same behavior.
At least for me, it appears it's only a display issue as the actual calculation/reporting of Net Worth (as displayed on the bottom of the screen) is being done properly, but still it's problematic to see your liability accounts as green with positive values.
Comment 2 Jack 2023-08-18 18:23:08 UTC
I just rediscovered this in master, and it looks like it had been fixed previously (https://bugs.kde.org/show_bug.cgi?id=346009)
Originally reported against 5.1.x Appimage - I see in compiled source from git master on Linux.
I believe it is only a display issue in the Accounts View, although using red for liabilities and expenses might be better.  However, on the Institutions View, some distinction is really necessary, as is correct calculation of Total Value.