Created attachment 49598 [details] Anon file to reproduce the bug Version: unspecified (using KDE 4.4.4) OS: Linux Checkout the attached file. If you select the 'Investment value graph' (maybe an incorrect translation) 'Investiții/Graficul valorii de investiții' and configure it so that all data is displayed the application hangs in an infinite loop (CPU of a core at 100%). Reproducible: Always
what are your price precision settings?
(In reply to comment #1) > what are your price precision settings? I've reproduced this with a price precision of 4 digits.
I've tried the file with the reports "Investment Price Graph" and "Investment Worth Graph", with price precision 9 and 4 digits. In all cases it worked fine. It does take a couple of seconds longer than other reports, but that's it. It might be hitting some MyMoneyMoney overflow issue, so perhaps if you can debug and trace where it enters into a loop, we can add some decimal reduction there.
(In reply to comment #3) > I've tried the file with the reports "Investment Price Graph" and "Investment > Worth Graph", with price precision 9 and 4 digits. In all cases it worked fine. > It does take a couple of seconds longer than other reports, but that's it. > > It might be hitting some MyMoneyMoney overflow issue, so perhaps if you can > debug and trace where it enters into a loop, we can add some decimal reduction > there. Just to rule out a misunderstanding here: Did you configure the report so that in the 'Date' filter you select 'All dates'?
Showing all dates took 5 minutes and 1GB to display the graph, but it did. :D Now, perhaps we should agree on what "Show all dates" means, and add a constraint such as the first opening date among the selected account, or similar, but that's more a usability issue, and definitively not a crash.
(In reply to comment #5) > Showing all dates took 5 minutes and 1GB to display the graph, but it did. :D > > Now, perhaps we should agree on what "Show all dates" means, and add a > constraint such as the first opening date among the selected account, or > similar, but that's more a usability issue, and definitively not a crash. OK then, I've set the bug category to 'crash' because I thought it's an infinite loop because I didn't wait for it to end (5 minutes is a lot). I've guessed that 'All dates' means 'All dates on which data is available'. The account is opened for about 4 years so I didn't think it should require that much since a year works almost instantly.
It shows data ever since there is data for the file, which I think includes currencies. Anyway, any change in there has to be left for after release unless it's critical.
(In reply to comment #7) > It shows data ever since there is data for the file, which I think includes > currencies. > Anyway, any change in there has to be left for after release unless it's > critical. If it takes 5 minutes I wouldn't close this as working. This behavior can easily be seen as the application hanging.
It doesnt crash and it only happens when requesting all dates. I don't say I won't work on this, but certainly not now. Any change to improve performance will likely cause problems. Also, reports will go through a revamp after release that will make any report moot.