Android Question Printing WebView: sometimes crash

peacemaker

Expert
Licensed User
Longtime User
HI, All

I'm trying to send a WebView content to a printer (sure, always after wv_PageFinished) by system PrintManger, by printer.PrintWebView or by UltimateWebView.PrintContent that anyway calls system's printing dialog and the preview rendering is started.
But sometimes (actually, often) during this preview rendering the process is crashed (with huge system log with the "CRASHPAD MINIDUMP" and stack contents, backtrace...).
The bigger webpage - the more often crashes.

But if in the debug mode to pause execution by the breakpoint just after .PrintWebView - no crash, preview is OK and next (after tapping the print button of the dialog) printing also.
Extra Sleep after call does not help...

How to be ?
 

peacemaker

Expert
Licensed User
Longtime User
Omg...if to use another URL - no hungs...
 

Attachments

  • printwebview_test.zip
    10.9 KB · Views: 96
Upvote 0
Top