Bug 440220

Summary: Institution Liability account balances display in green as if they were positive amounts
Product: [Applications] kmymoney Reporter: Mark Medoff <markm10538>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: CONFIRMED ---    
Severity: minor CC: hamdsa
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=346009
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.