I am compiling the source from the master tree on Fedora 41. I have 4 systems that have the exact same packages installed on them. In 3 of the 4 systems the Reports tab is missing. See the attached screen capture. On one system the reports tab is present but when I open a report there is text at the top of the screen. See the attached screen capture. On the self compiled versions, the burrons at the top do not work as expected. When I click on the "Export report" button, it asks me if I want to delete the report. I have also tried running the latest AppImage of the master. I get the same test at the top but the buttons appear to work correctly. I tried to compile the 5.1 branch to get my reports working. It fails at about 80% and it's not worth trying to figure out why. When I run the 5.1 AppImage, I can get all of my rpeorts with no errors.
Created attachment 179471 [details] Missing Reports Tab Reports Tab missing from 3 of my 4 identical systems when I compile the master branch from source.
Created attachment 179472 [details] Unexpected Text at top of Report Unexpected text appears at the top of all reports when I compile the master from source on 1 of my 4 systems (reports tab is missing from the other 3 systems). Note that the buttons do not work as expected, for example when I click on "Export report" it asks me if I want to delete the report.
Created attachment 179473 [details] Unexpect text at the top of reports - AppImage kmymoney-master-4162-linux-gcc-x86_64.AppImage. I get the same unexpected text at the top of reports when running the master app image. In this case the buttons work as expected and the delete button is visible and disabled. The delete button is missing on the reports on the version I compiled locally.
Created attachment 179494 [details] Buttons at top of reports in master Your buttons seem incorrect. The delete button has been removed in master. Please try to remove ~/.local/share/kxmlgui5/kmymoney/kmymoneyui.rc and see if that makes a difference.
Missing reports tab: we've seen this before and it was caused by a missing dev-package. Please check the summary of cmake to see if it was build or not. I think the last time it was the chart/diagram package that was missing.
Removing ~/.local/share/kxmlgui5/kmymoney/kmymoneyui.rc did not fix the button problem.
After deleting ~/.local/share/kxmlgui5/kmymoney/kmymoneyui.rc, it was not recreated when I ran KMM. I'm not sure if it's no longer part of the master. After deleting it and running the AppImage, the buttons still appear, including the delete button, and they appear to be working correctly. The AppImage still has the unexpected text at the top of the report.
As part of my early testing I deleted the ~/.config/kmymoney directory and this did not make any difference either.
I have installed all of the available packages with chart and devel in the name. I think this discussion you are referring to might have been with me. I will look for it later. At that time I thought I solved the problem when I installed some devel packages but it only worked on the one system and I guess I never opened a report to see the text at the top and the button issues. I only saw that the Reports tab was working. Also note that the 3 systems that do not show the reports tab have exactly the same packages installed as the one whith the reports tab working. This is the output when I compile on the machine that does show the reports tab but they are not working correctly. This is very similar to the one where the reports tab is missing. It seems odd that the reports and charts are in the list of disabled features yet the reports tab is there on one of the systems. -- The following REQUIRED packages have not been found: -- The following OPTIONAL packages have not been found: -- The following features have been enabled: * Encryption, Allows to store your financial data using strong GPG encryption. * Doxygen, Generate API documentation with Doxygen (for devs only). * Holidays, Allows fetching holidays from KDE PIM system. * Forecast view, Adds possibility to calculate forecasts. * Budget view, Adds possibility to plan a budget. * Online job outbox view, Adds outbox for sending online jobs. * SQL Storage, Allows storing your financial data in SQL database. * LibOFX, Enables OFX import, export, and Direct Connect using LibOFX library. * SQLCipher, Allows encrypting your SQLite3 database. * KBanking, Interface for the following online banking protocols: HBCI, EBICS, OFX Direct Connect, Paypal * Woob, Online banking interface using Woob. * iCalendar, iCalendar integration. * Internationalization, Generation of i18n files (messages and docs) -- The following features have been disabled: * Address book, Allows fetching payee information from KDE PIM system. * Reports view, Adds possibility to display chart and table reports. * SQL Tracer, It traces the SQL queries to the console. * IBAN/BIC data, Adds predefined IBAN/BIC numbers to KMyMoney (note: doesn't work yet). * Cost center support, Adds support for cost centers (for devs only). * Warnings as errors, Enforces all warnings to be reported as errors. * Model test, Generate modeltest code (for devs only). * QtDesigner, Qt-Designer library support (for devs only).
Could there be a conflict between kf5 and kf6? Here is a list of the packages installed on all systems with "devel" and "chart" in the package name: ghc-js-chart-devel.x86_64 kf5-kquickcharts-devel.x86_64 kf6-kquickcharts-devel.x86_64 qt5-qtcharts-devel.x86_64 qt6-qtcharts-devel.x86_64
I think the mix of qt5/kf5 and qt6/kf6 is very likely the root cause here. KMyMoney is KF5 only at this point in time (though some instructions may already be prepared for KF6 but that is untested and not supported). > After deleting ~/.local/share/kxmlgui5/kmymoney/kmymoneyui.rc, it was not recreated when I ran KMM. I'm not sure if it's no longer part of the master. That is OK. It will only get recreated in case you change the toolbar. Maybe also, when you change shortcuts, but I am not so sure about that one.
I uninstalled all of the kf6 devel packages and there was no change. The I uninstalled all of the qt6 devel packages and there was no change. If I try to uninstall all of the qt6 and kf6 packages, it wants to remove 540 packages, which probably breaks a lot of things in Fedora 41 including Plasma, which I am not running (I'm running Xfce).
To be clear, no change that means the one system that shows the reports tab still has the same problem with unexpected text at the top of the report and the buttons don't work correctly and on the 3 systems that did not show the reports tab, it's still missing. Running the AppImage also still shows the unexpected text at the top but the buttons seem to work correctly. My only option to get clean reports is to run the 5.1 AppImage.
Regarding that text at the top: looks like some CSS that is generated at the beginning of the reports. The source of that file can be found in "kmymoney/html/kmymoney.css". It is processed by KMyMoney (replaces some names with actual colors) and I see from your attached image that this happened (colors are shown in hex notation). The output of this processing is stored in ~/.config/kmymoney/html/kmymoney.css. Can you attach a copy of that file living in .config here, please? Another source can be a specifically assigned css file for reports. That setting is in Settings/Configure KMyMoney/Plugins. Then press the configure button on the right of the "Reports view" entry. Where does the Default CSS file point to and can you also attach a copy of that file here, please.
Created attachment 179576 [details] kmymoney.css ~/.config/kmymoney/html/kmymoney.css
This file is identical to the one I have on my local system. So that should not be the source of the trouble. What about the report settings section?
The only system that shows reports wasn't running so I cooldn't test it until now. I had custom css file int he reports config. I reeset it to defaults and the unexpected text is gone. The buttons still don't work correctly and 3 of my 4 systems do not show the rpeorts tab or the reports in the plugins settings.
On that one system that presents the buttons wrong can you please provide the output of the following command: find /usr -name reportsview.so -o -name forecastview.so | xargs ls -l I just built and get -rwxr-xr-x 1 root root 1327064 22. Mär 12:33 /usr/lib64/qt5/plugins/kmymoney_plugins/forecastview.so -rwxr-xr-x 1 root root 5079016 22. Mär 12:33 /usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so
On the systems that don't show the reports view at all, can you run the following cmake command (maybe as part of your scripts): cmake <source-dir> <your-options> --trace-expand > cmake.log 2>&1 and attach the cmake.log here (feel free to gzip it before).
I think you found the reason the reports tab shows up but is not working correctly on one system. It appears that on that system an old version was not uninstalled back in October. So the real question is why isn't it being created on any of my systems. When I compile a new version and install it, the first thing my script does is uninstall from the previously installed build. Something must have gone wrong with the process on that one system. That's about the time I was able to get the master to compile and install so that might be a 5.1 file. I wonder what else may be left behind. System with reports (note that I compile in /usr/local/src/kmm/ so the build directories are also found): -rwxr-xr-x 1 root root 4032464 Mar 18 11:44 /usr/lib64/qt5/plugins/kmymoney_plugins/forecastview.so -rwxr-xr-x 1 root root 15093080 Oct 5 12:46 /usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so -rwxr-xr-x 1 bcoupe Users 4032464 Mar 18 11:44 /usr/local/src/kmm/kmymoney-2025.03.18-11.42.01-GIT-MASTER/build/lib/kmymoney_plugins/forecastview.so System without reports: -rwxr-xr-x 1 root root 4032464 Mar 17 09:28 /usr/lib64/qt5/plugins/kmymoney_plugins/forecastview.so -rwxr-xr-x 1 bcoupe Users 4032464 Mar 17 09:28 /usr/local/src/kmm/kmymoney-2025.03.17-09.26.55-GIT-MASTER/build/lib/kmymoney_plugins/forecastview.so
I sent the log file to you directly.
Long story short, the Reports tab was missing because I needed to install the kdiagram2-devel.x86_64 packages from Fedora. Note that kdiagram-devel.x86_64 and kdiagram2.x86_64 were installed when the reports tab was missing. The reason the reports tab was showing on one system was because the old /usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so was not removed at some point when I started compiling and installing the master branch. On 3 of my 4 systems the old reportsview.so was not left behind, on the one where it was left behind, it kind of worked but not well. After installing kdiagram2-devel.x86_64 on all of my systems and compiling and installing the master branch I get this: find /usr -name reportsview.so -o -name forecastview.so | xargs ls -l -rwxr-xr-x 1 root root 4032464 Mar 23 07:42 /usr/lib64/qt5/plugins/kmymoney_plugins/forecastview.so -rwxr-xr-x 1 root root 16335960 Mar 23 07:42 /usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so Thanks Thomas.