Bug 261990 - kmymoney balance chart sometimes represents under-value on current day offsetting future balances
Summary: kmymoney balance chart sometimes represents under-value on current day offset...
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.8.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-03 19:21 UTC by Jared B
Modified: 2018-09-08 12:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Anon files to recreate (464.00 KB, text/xml)
2011-01-03 19:21 UTC, Jared B
Details
Screenshot of bug (37.17 KB, image/png)
2011-01-03 19:26 UTC, Jared B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jared B 2011-01-03 19:21:04 UTC
Created attachment 55530 [details]
Anon files to recreate

Version:           4.5.2 (using KDE 4.5.1) 
OS:                Linux

On some of my accounts, the balance chart sometimes cuts off on the current day to show a value less then the current balance, future movements on the chart are off set accordingly.

Reproducible: Always

Steps to Reproduce:
Open attached anonymous files
Choose an account eg A000073 / A000074 to enter ledger view
Select [Show Balance Chart]

Actual Results:  
Balance chart indicates balance approx -$1000 to current day balance and puts the future balance out. Past balances are currect

Expected Results:  
Balance chart indicates correct balance on current day and curve is continuous.

OS: Linux (i686) release 2.6.35-23-generic Kubuntu 10.10 under VirtualBox on Widnows 7.
Compiler: cc

I'm on Claydoh's repo's but I'm pretty sure I noticed on the Kubuntu 10.10 repo version also. 

Note on another account A000064 the balance chart displays correctly.
Comment 1 Jared B 2011-01-03 19:26:38 UTC
Created attachment 55531 [details]
Screenshot of bug
Comment 2 Thomas Baumgart 2011-01-04 08:37:24 UTC
I duplicated the problem here using KDE 4.3.5 and an nvidia video driver (in case that is important) using the attached demo file.

Could this be a problem in libkdchart?
Comment 3 Alvaro Soliverez 2011-01-04 11:26:23 UTC
Does the report table show the correct numbers? (eg. the error only shows on the chart)
Comment 4 Jared B 2011-01-04 18:47:30 UTC
If I hover the mouse cursor over the chart, the numbers are incorrect, as per the chart.
Comment 5 Alvaro Soliverez 2011-01-04 18:52:50 UTC
Not hover over the chart, but switch to the report table. Does it show the same numbers?
Comment 6 Jared B 2011-01-05 08:45:27 UTC
Yes,  the Net Worth Forecast report is also incorrect (I note this when I select individual accounts under report config). Thanks for pointing the out, I thought that was the workaround!

Would it be right to say that this is only an issue on sub-accounts? As it is not an issue on A000064 (the parent account in the anon files)? The figures on this account are correct as per future transactions viewed in the ledger.
Comment 7 Thomas Baumgart 2011-06-04 10:24:29 UTC
Update: I used the attached anon file, entered all pending schedules and the problem is still present using today's svn trunk rev 1234945.
Comment 8 Alvaro Soliverez 2012-04-28 21:25:54 UTC
This problem is still present in git master. Updating affected version.
Comment 9 Cristian Oneț 2014-07-29 08:51:46 UTC
This can still be reproduced with the attached file but the date needs to be set to 2011-01-03. Could we gen an updated anonymous file?
Comment 10 Thomas Baumgart 2018-09-08 12:31:35 UTC
Unable to reproduce on 5.0