The PDF preview doesn't load in Chrome 85.0.4183.121 MacOS 10.15.6
-
We are using JSReport version 2.6.1 and noticed that in the web app designer PDF previews rendered by wkhtmltopdf are not showing up.
It works on the latest version of Safari though.
-
hi! i have macOS 10.13.6 and the same version of chrome but I don't see an issue with a pdf generated by wkhtmltopdf, not sure why on different macOS it will be an issue if any this definitely looks like a chrome bug, and not sure what we can do about it. is there any error shown in the preview? or in the browser console when this happens?
-
No errors, not in the jsreport console output nor in the Chrome's console, here is the debug output is I click debug:
+49 Executing recipe wkhtmltopdf +52 wkhtmltopdf --debug-javascript --disable-local-file-access --dpi 96 --javascript-delay 3000 --page-size Letter --margin-bottom 4mm --margin-top 6mm --disable-smart-shrinking /var/folders/p8/b1rks_v54wlf13c0nn_jydnm0000gp/T/jsreport/autocleanup/8fd11555-3120-47f2-b8f8-effbab66c0e6.html /var/folders/p8/b1rks_v54wlf13c0nn_jydnm0000gp/T/jsreport/autocleanup/8fd11555-3120-47f2-b8f8-effbab66c0e6.pdf +5634 Loading pages (1/6) [> ] 0% [======> ] 10% [=========================> ] 43% [===========================> ] 46% [============================> ] 48% [============================> ] 48% [==============================> ] 50% [================================> ] 54% [=================================> ] 56% [==================================> ] 58% [====================================> ] 60% [=====================================> ] 62% [======================================> ] 64% [=======================================> ] 66% [=========================================> ] 69% [==========================================> ] 71% [=============================================> ] 75% [==============================================> ] 77% [===============================================> ] 79% [==================================================> ] 84% [===================================================> ] 86% [====================================================> ] 88% [============================================================] 100% Counting pages (2/6) [============================================================] Object 1 of 1 Resolving links (4/6) [============================================================] Object 1 of 1 Loading headers and footers (5/6) Printing pages (6/6) [> ] Preparing [========> ] Page 1 of 7 [================> ] Page 2 of 7 [=========================> ] Page 3 of 7 [==================================> ] Page 4 of 7 [==========================================> ] Page 5 of 7 [===================================================> ] Page 6 of 7 [============================================================] Page 7 of 7 Done +5638 Skipping storing report. +5638 Rendering request 13 finished in 5638 ms
-
it appears to be a local issue with chrome, incognito mode works just fine
-
i see, what a bug :) maybe some browser extension (if you have some installed) can cause this, maybe it is worth to try with your browser extensions disabled, which is the default in incognito mode
-
yes, thank you!