Maybe because Chrome isn’t WebKit. That’s why I asked you to try Gnome Web, which is WebKit.
You’re not the only one with this problem, see https://bugs.gnucash.org/show_bug.cgi?id=799461 Regards, John Ralls > On Mar 24, 2025, at 20:12, Elliot Huntington <[email protected]> > wrote: > > Thank you for your response John. I am assuming that when you say to "save > the report to HTML and open it with a normal browser" you mean to "Export" > and choose the HTML format. So that's what I just tried to do and yes. That > worked. I exported the Income/Expense Barchart to HTML. Then I opened the > html document in Chrome, and the chart data rendered just fine. Then I opted > to print that page inside google chrome and save to PDF. The outcome was to > have a successfully generated PDF document with the proper chart data inside > it. > > Any ideas why it is necessary to perform this intermediate step to save as > HTML and then use Chrome to generate the PDF instead of just having the PDF > generation work directly from within GnuCash? > > On Mon, Mar 24, 2025 at 8:55 PM John Ralls <[email protected] > <mailto:[email protected]>> wrote: >> The graphs are implemented with JavaScript, meaning that the browser (in the >> case of GnuCash’s report tabs, a GtkWebkitWebView. >> >> If you save the report to HTML and open it with a normal browser does it >> print to PDF correctly? What if it’s Gnome Web, aka Eclipse? >> >> Regards, >> John Ralls >> >> >> > On Mar 24, 2025, at 19:36, Elliot Huntington <[email protected] >> > <mailto:[email protected]>> wrote: >> > >> > Hello, >> > >> > I'm running Arch Linux with GnuCash. >> > >> > Version: 5.10 >> > Build ID: 5.10-unknown-commit(2025-02-08) >> > >> > When I go to: "Reports -> Income & Expense -> Income & Expense Bar Chart" >> > I'm successfully able to see the report data just fine. However, when I >> > select the option to "Make Pdf" and proceed to save the report to a >> > PDF document on my computer, the report does not export properly to a >> > PDF document. It does generate a PDF document. But if I leave the printer >> > settings at the default (meaning portrait mode) then the top half of the >> > generated PDF document appears solid black and the bottom half of the >> > document appears solid white. The same happens if I just print the report. >> > Besides the page margins, the top half of the page is black and the bottom >> > half is white. If I change the print settings to be in landscape mode, both >> > the exported PDF document (and the page printed from my printer) both >> > appear solid white. Nothing prints in the report at all. >> > >> > Now, If I generate other reports and export those to PDF, they work fine. >> > For example I am able to successfully export the Income Statement, Equity >> > Statement, Balance Sheet, and Cash Flow reports to PDF documents. They >> > export just fine, and the print just fine. >> > >> > Maybe this has something to do with reports that print charts. I don't >> > understand why the Income & Expense Bar Chart report will render fine in >> > the application, but exporting it to a PDF document is broken. >> > >> > Any ideas? >> > >> > Thank you, >> > Elliot >> > _______________________________________________ >> > gnucash-user mailing list >> > [email protected] <mailto:[email protected]> >> > To update your subscription preferences or to unsubscribe: >> > https://lists.gnucash.org/mailman/listinfo/gnucash-user >> > ----- >> > Please remember to CC this list on all your replies. >> > You can do this by using Reply-To-List or Reply-All. >> _______________________________________________ gnucash-user mailing list [email protected] To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
