[GNC] GNUCash 3.0: Report Printing problems

Geert Janssens geert.gnucash at kobaltwit.be
Tue Apr 10 09:53:38 EDT 2018


Op woensdag 4 april 2018 22:19:33 CEST schreef Adrien Monteleone:
> I see I have both as well. Perhaps removing it didn’t make it into the final
> commit.
> 
> Regards,
> Adrien
> 
As I commented on one of the bugs that got marked as a duplicate we need to 
distinguish between linux systems on the one hand and OSX and Windows on the 
other.

For linux we moved to webkit2, which no longer exposes an easy function to 
print to pdf. Our intention was to move to webkit2 on Windowss and OS X as 
well, but due to technical issues this hasn't happened for the 3.0 release 
(and I don't know if we ever will be able to - webkit2 won't build on those 
systems).

As we were migrating to webkit2, we found the missing pdf feature and amended 
the code to simply display the print dialog in both cases. Only then we came 
to the conclusion webkit2 wasn't going to happen on Windows and OS X and had 
to revert parts of the code. I suspect we mixed up there which leads to the 
current situation on Windows and OS X.

Geert




More information about the gnucash-user mailing list