Bug 452692 - Investment Performance by Account Only Owned
Summary: Investment Performance by Account Only Owned
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Applications
Component: reports (show other bugs)
Version: 5.1.2
Platform: macOS (DMG) macOS
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks: 488491
  Show dependency treegraph
 
Reported: 2022-04-17 08:29 UTC by Peter Orczykowski
Modified: 2024-11-26 13:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Exhibit A (167.86 KB, image/png)
2022-04-21 03:10 UTC, Peter Orczykowski
Details
Exhibit B (183.16 KB, image/png)
2022-04-21 03:10 UTC, Peter Orczykowski
Details
attachment-3583-0.txt (1.11 KB, text/plain)
2022-04-24 01:48 UTC, Peter Orczykowski
Details
Test.kmy (1.45 KB, application/octet-stream)
2022-04-24 01:48 UTC, Peter Orczykowski
Details
Screenshot from previous major version ( (61.08 KB, image/png)
2024-11-10 07:15 UTC, Ralf Habacker
Details
Screenshot from previous major version (update) (41.25 KB, image/png)
2024-11-10 07:38 UTC, Ralf Habacker
Details
Test file (updated) (13.74 KB, text/xml)
2024-11-26 13:34 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Orczykowski 2022-04-17 08:29:23 UTC
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
Comment 1 Peter Orczykowski 2022-04-21 01:26:37 UTC
Further, missing  Dividends Paid Out affect performance figures. This should be seen as a critical bug now IMHO.
Comment 2 Jack 2022-04-21 02:44:45 UTC
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.
Comment 3 Peter Orczykowski 2022-04-21 03:10:02 UTC
Created attachment 148276 [details]
Exhibit A
Comment 4 Peter Orczykowski 2022-04-21 03:10:40 UTC
Created attachment 148277 [details]
Exhibit B
Comment 5 Peter Orczykowski 2022-04-21 03:13:15 UTC
I have added two screen shots that clearly show the issue. Would that be sufficient?
Comment 6 Jack 2022-04-23 22:54:33 UTC
(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.
Comment 7 Peter Orczykowski 2022-04-24 01:48:32 UTC
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
Comment 8 Peter Orczykowski 2022-04-24 01:48:33 UTC
Created attachment 148333 [details]
Test.kmy
Comment 9 Jack 2022-04-24 23:29:57 UTC
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.
Comment 10 Ralf Habacker 2024-11-10 07:15:56 UTC
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.
Comment 11 Ralf Habacker 2024-11-10 07:38:22 UTC
Created attachment 175702 [details]
Screenshot from previous major version (update)

Screenshot from previous version updated with corrected date range
Comment 12 Thomas Baumgart 2024-11-24 08:59:07 UTC
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.
Comment 13 Ralf Habacker 2024-11-26 13:34:15 UTC
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.