Bug 507958

Summary: Equities with zero shares show despite "do not show zero balance equities" setting
Product: [Applications] kmymoney Reporter: b3+bugs-kde-org
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: zero balance equities display despite "do not show zero balance equities" option

Description b3+bugs-kde-org 2025-08-07 01:29:52 UTC
Created attachment 183842 [details]
zero balance equities display despite "do not show zero balance equities" option

SUMMARY

The Investments view does not seem to honor the "do not show zero balance equities" option. The behavior differs from the previous version, 5.1.3, of kmymoney.

STEPS TO REPRODUCE

1. create an investment account
2. add equity (stock)
3. buy shares transaction
4. sell shares transaction (to create a zero share balance)

OBSERVED RESULT

The Investments view shows equities with a zero share balance  even though the "do not show zero balance equities" is checked.

EXPECTED RESULT

Equities with zero share balances should not be displayed if the "do not show zero balance equities" option is checked.

SOFTWARE/OS VERSIONS

KMyMoney: 5.2.1-c3d3f7e
Alkimia: 8.2.70 (build against 8.2.70)
Aqbanking: Unknown (build against 6.6.1)
Gpgme: Unknown (build against 1.23.2)
Gwenhywfar: Unknown (build against 5.12.1)
KDiagram: Unknown (build against )
libical: Unknown (build against 3.0.9)
libofx: Unknown (build against 7.0.4)
SQLCipher: Unknown (build against 3.20.1)
KDE Frameworks: 6.16.0
Qt: Using 6.8.3 and built against 6.8.3
Debian GNU/Linux 13 (trixie) (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.12.38+deb13-amd64

ADDITIONAL INFORMATION