Completed
Last Updated: 26 May 2021 08:34 by ADMIN
Christian
Created on: 19 Sep 2019 11:39
Category: PDFViewer
Type: Bug Report
0
Print failed on second call

Hello,

 

i have some problems with the updated pdf viewer.

Print

The new print feature failed after the second print call.

Reproduction steps

  1. call https://demos.telerik.com/kendo-ui/pdfviewer/index
  2. click on print
  3. abort browser print dialog
  4. call again, there is no content in the print dialog preview or output

 

Search

Furthermore the search wont work for me, i get only an browser alert and console log entry.

console log on init

jquery-3.4.1.min.js:2 Uncaught (in promise) Error: Syntax error, unrecognized expression: <span>
    at Function.se.error (jquery-3.4.1.min.js:2)
    at se.tokenize (jquery-3.4.1.min.js:2)
    at se.compile (jquery-3.4.1.min.js:2)
    at se.select (jquery-3.4.1.min.js:2)
    at se (jquery-3.4.1.min.js:2)
    at Function.se.matches (jquery-3.4.1.min.js:2)
    at Function.k.filter (jquery-3.4.1.min.js:2)
    at F.fn.init.k.fn.<computed> [as parent] (jquery-3.4.1.min.js:2)
    at F.fn.init.unwrap (jquery-3.4.1.min.js:2)
    at init.processTextNode (kendo.all.js:158104)

 

console log on search

Uncaught TypeError: Cannot read property 'matches' of undefined

 

I try to show the pdf viewer in an kendo window, is there any problem known?

 

Beste regards

Christian

6 comments
ADMIN
Angel Petrov
Posted on: 26 May 2021 08:34

Hi,

Most probably caused by the Adblock, closing this due to inactivity.

Regards,
Angel Petrov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Dimitar
Posted on: 18 Oct 2019 09:13

Hi Christian,

Thank you for investigating this further.

The probable cause for the issue is that the specified Adblock add-on treats the new browser tabs for the print dialog as potential ads, thus preventing them. I would suggest to try with another Adblock addon and see if the issue is resolved.

We will also consider adding a note in the documentation regarding this.

Regards,
Dimitar
Progress Telerik



Christian
Posted on: 16 Oct 2019 06:25

Hi Dimitar,

i've disabled some browser addons for testing and the misconduct is produced by Adblock Plus. Disable ad blocking does not help to solve this problem, only when i disable the whole adblock addon, the print function work on second, third (and so on) call.

 

Thank you for your help.

 

Best regards

Christian

ADMIN
Dimitar
Posted on: 09 Oct 2019 10:33

Hello Christian,

I have tested the demo on the exact same version of Chrome, however, I was not able to reproduce the issue. Could you think of any specific details that would enable me to consistently reproduce the issue and examine it further?

I would suggest to try and disable all addons and reset browser to default setting to verify if this is not the cause for the issue.

Regards,
Dimitar
Progress Telerik



Christian
Posted on: 07 Oct 2019 07:55

Hello Dimitar,

 

thanks for the info at the search grid function.

 

PdfViewer

I also upload an screentogif animation that shows the problem with pdf viewer. This occurs only in Google Chrome for me. Is it possible that any browser settings lead to this behavior?.

 

Best regards,

Christian

Attached Files:
ADMIN
Dimitar
Posted on: 26 Sep 2019 08:23

Hello Christian,

I was not able to replicate the Print issue by testing both locally and in the Basic Usage Demo of the PDFViewer. Here is a short screencast that demonstrates the steps that I followed. Could you please examine it and let me know if I am missing an important step that would enable reproducing the issue?

In terms of the search issue with jQuery 3.4.1 - I can confirm that this is a bug in the PDFViewer functionality. I have logged it in the Kendo UI GitHub repository from where you could start tracking our progress on it:

I am also happy to let you know that I have pushed a fix for the issue. After the item undergoes extensive testing, and if everything is working correctly, then the fix will be included in the next Service Pack.

As a token of gratitude for helping us discover this issue, I have also updated your Telerik Points accordingly. Additional information could be found in your Telerik Profile.

Regarding the last query - there should be no issues when the PDFViewer is integrated inside a Kendo Window widget. In case you notice any strange behavior, please open a new support thread and describe the issue so that we could investigate it further.

Regards,
Dimitar
Progress Telerik