|
Rank: Member Groups: Member
Joined: 3/27/2020 Posts: 23
|
Hello,
If I trigger a WebView print using JS window.print(), there is quite a long delay (approx. 2 seconds) before the dialog box pops-up.
Using Chrome, there is no delay, the print dialog box pops-up instantly.
Any idea how to reduce the delay using WebView?
Best regards, Benoit
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
We have looked into this issue. This is due to our code tries to query the default printer settings on the .NET side before the print (in order to support BeforePrint event). We have optimized that part of the code and it should improve significantly in our next build.
Please keep in mind that since the print flow still has to "detour" to the .NET side in order to trigger the corresponding events, it will still be somewhat slower than Chrome.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 3/27/2020 Posts: 23
|
Great, thank-you for this awesome support.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
You are very welcome. Please feel free to let us know if there is anything else.
|
|
Rank: Member Groups: Member
Joined: 3/27/2020 Posts: 23
|
Many thanks for the last release. It speeds up the print dialog a lot!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Great. Thanks for confirming!
|
|