SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Select Investment Report By Account as of today 2. Change Report option to Only Owned 3. OBSERVED RESULT Column Dividends Paid Out not showing EXPECTED RESULT Dividends Paid Out shown SOFTWARE/OS VERSIONS Windows: macOS: 12.3.1 (21E258) Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Further, missing Dividends Paid Out affect performance figures. This should be seen as a critical bug now IMHO.
The column not being displayed on the report is completely separate from whether or not the dividends are accounted for in performance figures. It would help a great deal if you could share a small test file demonstrating the problem, especially if the problem is more than simply a display issue.
Created attachment 148276 [details] Exhibit A
Created attachment 148277 [details] Exhibit B
I have added two screen shots that clearly show the issue. Would that be sufficient?
(In reply to Peter Orczykowski from comment #1) The screen shots show that the columns disappear, and I believe one of the developers already had a solution in mind for that issue. However, you claim that this affects performance figures. This is what we need a demonstration of. As I said in Comment #2, I do not believe that the missing columns have any effect on performance figures.
Created attachment 148332 [details] attachment-3583-0.txt I have created a small test file with only one stock and few transactions. There are two saved reports under Favourite that show the issue, Kind Regards, Peter
Created attachment 148333 [details] Test.kmy
Thanks, that is useful. I realize that the change in values is likely not because of the hidden columns, but due to differences in how the report is generated when limited to only owned. Now we just need to trace through the code to understand those differences.
Created attachment 175700 [details] Screenshot from previous major version ( In the previous major version of kmymoney the column "Dividends paid out" is included in the associated report.
Created attachment 175702 [details] Screenshot from previous major version (update) Screenshot from previous version updated with corrected date range
After looking at the code, I have to disagree with what has been stated in comment #2 and comment #9 above: it does make a difference if the column is included or not, at least for the totals. A possible change to adjust the code has been proposed on https://invent.kde.org/office/kmymoney/-/merge_requests/242.
Created attachment 176134 [details] Test file (updated) I updated the test file to show associated values directly on opening the reports. Also reports has been added showing that the column "annualized return" depends on the date range of the report.