Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
Perhaps, though it will depend partly on whether gtkwebkit1 as used on Macos and Windows is recent enough to support these modern css techniques. I have no idea about that. Regards, Geert Op dinsdag 31 december 2019 16:09:13 CET schreef Adrien Monteleone via gnucash-user: > I’d have to play with it to see exactly what it does now. (It’s not > something I currently use) But that type of effect should be possible with > rollover CSS techniques and no JS required. Though I don’t know of any > solution for that with regards to PDF. > > Regards, > Adrien > > > On Dec 30, 2019 w1d364, at 4:14 PM, Geert Janssens > > wrote:> > > Op maandag 30 december 2019 18:44:37 CET schreef Adrien Monteleone: > >> I’d think the optimum long term solution would be something along the > >> lines > >> of generating a webp, png, or svg of the graph as part of the html > >> delivery. That would remove the js bloat folder. (I don’t see any reason > >> to > >> have it generated on the fly each time with a now fixed set of data) Of > >> course, that means some work, so it would be an enhancement and not much > >> of > >> a priority since it is easy enough to go the pdf route for now. > > > > You'd lose the interaction. Hovering the charts currently will provide > > more > > details on each data point. > > > > Geert > > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - > 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 gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
I’d have to play with it to see exactly what it does now. (It’s not something I currently use) But that type of effect should be possible with rollover CSS techniques and no JS required. Though I don’t know of any solution for that with regards to PDF. Regards, Adrien > On Dec 30, 2019 w1d364, at 4:14 PM, Geert Janssens > wrote: > > Op maandag 30 december 2019 18:44:37 CET schreef Adrien Monteleone: >> I’d think the optimum long term solution would be something along the lines >> of generating a webp, png, or svg of the graph as part of the html >> delivery. That would remove the js bloat folder. (I don’t see any reason to >> have it generated on the fly each time with a now fixed set of data) Of >> course, that means some work, so it would be an enhancement and not much of >> a priority since it is easy enough to go the pdf route for now. > > You'd lose the interaction. Hovering the charts currently will provide more > details on each data point. > > Geert > > > ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
Op maandag 30 december 2019 18:44:37 CET schreef Adrien Monteleone: > I’d think the optimum long term solution would be something along the lines > of generating a webp, png, or svg of the graph as part of the html > delivery. That would remove the js bloat folder. (I don’t see any reason to > have it generated on the fly each time with a now fixed set of data) Of > course, that means some work, so it would be an enhancement and not much of > a priority since it is easy enough to go the pdf route for now. You'd lose the interaction. Hovering the charts currently will provide more details on each data point. Geert ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
Concerning PDF output, I am using Print then 'Print to File' with PDF chosen (not Postscript or SVG). I find I have to tinker with Page Setup and the Gnucash onscreen window size/shape to create a graph that fits nicely on a single page PDF (this is an Expenses bar chart). I normally run Gnucash at or near 'fullscreen' and the chart gets tiled across multiple pages unless I reduce the window size and change its shape to match the page orientation. Is it expected that the screen window affects the printing size/shape? That behavior is OK, but I would prefer to have the chart autofit onto a single page if that is possible. -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
I’d think the optimum long term solution would be something along the lines of generating a webp, png, or svg of the graph as part of the html delivery. That would remove the js bloat folder. (I don’t see any reason to have it generated on the fly each time with a now fixed set of data) Of course, that means some work, so it would be an enhancement and not much of a priority since it is easy enough to go the pdf route for now. Regards, Adrien > On Dec 30, 2019 w1d364, at 9:37 AM, D via gnucash-user > wrote: > > I may be a little slow here, but it seems to me this is something of an edge > case. Isn't this analogous to sending an html file without including embedded > images? Very efficient; not very informative. > > Finally, from my perspective, a 100kb pdf is not a huge payload to be > sending, but I understand your situation may be different. > > David T. > > On December 30, 2019, at 4:06 AM, boldstripe > wrote: > > Christopher: Thanks, I confirm your method of making a Firefox webpage > creates an HTML version that works across platforms, at least from Linux to > MacOS. > > This could be useful if you really want HTML, but Firefox stores the > javascript code in a folder that is 772 kB, compared to about 8 kB for the > platform-specific HTML and about 100 kB for a PDF. > > I will study how to contribute to documentation, thank you. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
I may be a little slow here, but it seems to me this is something of an edge case. Isn't this analogous to sending an html file without including embedded images? Very efficient; not very informative. Finally, from my perspective, a 100kb pdf is not a huge payload to be sending, but I understand your situation may be different. David T. On December 30, 2019, at 4:06 AM, boldstripe wrote: Christopher: Thanks, I confirm your method of making a Firefox webpage creates an HTML version that works across platforms, at least from Linux to MacOS. This could be useful if you really want HTML, but Firefox stores the javascript code in a folder that is 772 kB, compared to about 8 kB for the platform-specific HTML and about 100 kB for a PDF. I will study how to contribute to documentation, thank you. -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - 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 gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
Christopher: Thanks, I confirm your method of making a Firefox webpage creates an HTML version that works across platforms, at least from Linux to MacOS. This could be useful if you really want HTML, but Firefox stores the javascript code in a folder that is 772 kB, compared to about 8 kB for the platform-specific HTML and about 100 kB for a PDF. I will study how to contribute to documentation, thank you. -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
Patches welcome in the documentation. Meanwhile you can open the html chart in firefox, File>Save as...>Webpage, complete and export the whole html+javascript for archival. On Sun, 29 Dec 2019 at 21:19, boldstripe wrote: > I think the user needs to know: > > 1. that the HTML Chart is platform specific > 2. that the chart will only display if GnuCash is installed > 3. that because of the above, the file is not suitable for 'archival' > storage of the chart and that PDF would be better suited to that purpose. > > I found the charts so useful I was about to email them to others who don't > use GnuCash (and on unknown operating systems). I will now archive and send > PDFs instead. > > The HTML versions of charts do have some advantages, including at present a > very small file size, so a platform agnostic (and installation agnostic) > version would be good. > > > > > > -- > Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > - > 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 gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
Let me try again to post the MacOS-specific code in the HTML chart report, which references the specific installation path of Gnucash on MacOS: Because of punctuation this was not visible in my previous post. -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
I think the user needs to know: 1. that the HTML Chart is platform specific 2. that the chart will only display if GnuCash is installed 3. that because of the above, the file is not suitable for 'archival' storage of the chart and that PDF would be better suited to that purpose. I found the charts so useful I was about to email them to others who don't use GnuCash (and on unknown operating systems). I will now archive and send PDFs instead. The HTML versions of charts do have some advantages, including at present a very small file size, so a platform agnostic (and installation agnostic) version would be good. -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
OK, thanks, I understand the problem now. As confirmation, when I open the Mac-generated HTML report on Linux and look at the code I find this line: That file path explicitly refers to a Mac-specific location for Gnucash and its contents. It clearly won't work on Linux. -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
As John already hinted, the problem is that in order to display the charts, some external javascript files are loaded. The paths to these javascript files are set when you generate the report and will refer to some files in the directory where gnucash is installed. And there's the issue: Windows, Macos and Linux all have different installation directories. So the absolute paths will only work for the platform they have been generated on. I'm not sure if we can do something about this on the gnucash site. The only thing I can think of would be to embed the javascript files directly inside the report rather than linking them. I have no idea if we can do that easily. As an aside, javascript (or more formally referred to as ecma-script) has nothing to do with java. So whether you have java installed or not doesn't impact this. We don't use any java code. Regards, Geert Op zondag 29 december 2019 21:15:11 CET schreef boldstripe: > Thank you for testing. > > Because I sync my GnuCash prefs folder, I can open the same chart report in > the same GnuCash file from Saved Configurations within GnuCash on MacOS, > Linux and Windows. The chart (an expenses bar chart) displays properly > within Gnucash on all three platforms. > > The HTML chart report export made on Windows displays in Firefox and > Internet Explorer on Windows. It does not display in Firefox on Linux or > MacOS. > > The same HTML chart report export file made on Linux displays in Firefox on > Linux, but not Firefox on Windows or MacOS. > > The same HTML chart report export file made on MacOS displays in Firefox on > MacOS but not on Safari on MacOS, and not on FireFox in Linux (have not > tested the Mac file in FF on Windows yet). > > This behavior is reproduced if the HTML file is stored either in a > file-synced local folder (pCloud) or on a Network Attached Server on my > local network. > > Before testing, I updated my Java installation on MacOS and Windows using > new installers at java.com, but at the 'verify' check (an Oracle URL), only > Internet Explorer on Windows gives a clean 'verified' response. With other > browsers and platforms I receive some variation on a message that > verification did not work, or with FireFox a message that FF 64-bit has not > supported JRE plugins since September 2018. > > I am not qualified to know whether it is a GnuCash-specific problem. If you > think it is not, then I will not post a bug report. > > > > -- > Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - > 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 gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
Thank you for testing. Because I sync my GnuCash prefs folder, I can open the same chart report in the same GnuCash file from Saved Configurations within GnuCash on MacOS, Linux and Windows. The chart (an expenses bar chart) displays properly within Gnucash on all three platforms. The HTML chart report export made on Windows displays in Firefox and Internet Explorer on Windows. It does not display in Firefox on Linux or MacOS. The same HTML chart report export file made on Linux displays in Firefox on Linux, but not Firefox on Windows or MacOS. The same HTML chart report export file made on MacOS displays in Firefox on MacOS but not on Safari on MacOS, and not on FireFox in Linux (have not tested the Mac file in FF on Windows yet). This behavior is reproduced if the HTML file is stored either in a file-synced local folder (pCloud) or on a Network Attached Server on my local network. Before testing, I updated my Java installation on MacOS and Windows using new installers at java.com, but at the 'verify' check (an Oracle URL), only Internet Explorer on Windows gives a clean 'verified' response. With other browsers and platforms I receive some variation on a message that verification did not work, or with FireFox a message that FF 64-bit has not supported JRE plugins since September 2018. I am not qualified to know whether it is a GnuCash-specific problem. If you think it is not, then I will not post a bug report. -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] HTML Chart exports are blank on MacOS/Windows browsers
> On Dec 29, 2019, at 6:56 AM, boldstripe wrote: > > HTML exports of charts (reports) can open and display satisfactorily in any > browser on Linux, but they are blank on MacOS or Windows. > > On a MacOS or Windows browser, the chart area is blank (white). Any > accompanying text table underneath the chart displays as expected, below the > blank area. > > Text-only HTML reports are visible on MacOS and Windows. > > Is there fix for this? Should I report it as a bug? On MacOS it works for me with Chrome (my usual browser) and Firefox. Safari fails to display anything and examining the page in the console shows that it's failing to open the Javascript files in GnuCash.app. I don't see how that's GnuCash's problem. Several Windows users have reported that they can view graphical reports in the browser in the course of investigating https://bugs.gnucash.org/show_bug.cgi?id=797283. Regards, John Ralls ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
[GNC] HTML Chart exports are blank on MacOS/Windows browsers
HTML exports of charts (reports) can open and display satisfactorily in any browser on Linux, but they are blank on MacOS or Windows. On a MacOS or Windows browser, the chart area is blank (white). Any accompanying text table underneath the chart displays as expected, below the blank area. Text-only HTML reports are visible on MacOS and Windows. Is there fix for this? Should I report it as a bug? -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.