Approved
Last Updated: 07 Nov 2019 13:29 by Darryl

Bug report

Currently the result of PDFViewer printing is affected by PDFViewer scale option. When scale is less than 200%, the letters in the printed PDF appear blurred.

Reproduction of the problem

  1. Go to https://demos.telerik.com/kendo-ui/pdfviewer/index
  2. Set scale option to 100%
  3. Print to PDF using "Microsoft Print to PDF" printer. (The final result is the same compared to actual printing to a physical printer)
  4. For consistency set the following print options, e.g. in Chrome:
  • Paper size: A4
  • Pages per sheet: 1
  • Margins: None
  • Scale: Default

Current behavior

Text in printed PDF file is blurred

400% to 100%

Expected/desired behavior

Text in printed PDF file is clear.
NOTE: Clear text may be achieved if PDFViewer scale option is set to 400% on the demo before printing.

Environment

  • Kendo UI version: 2019.3.1023
  • Browser: all
Completed
Last Updated: 11 Oct 2019 11:54 by ADMIN
Release 2019.R3.SP.next

Bug report

When jQuery 3.4.1 is used paging through PDF file content results in wrong scroll position and no content in PDFViewer

Reproduction of the problem - sample file 1

  1. Use the following setup:
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,user-scalable=1,initial-scale=1.0" />
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.common.min.css">
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.rtl.min.css">
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.default.min.css">

    <!-- <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script> -->
    <!-- <script src="https://code.jquery.com/jquery-2.2.4.min.js"></script> -->
    <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>

    <script src="https://kendo.cdn.telerik.com/2019.3.917/js/kendo.all.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
    <script>
    window.pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.worker.js';
    </script>
</head>
<body">
    <div id="pdf-viewer"></div>
    <script>
        (function () {
            var viewer = $("#pdf-viewer").kendoPDFViewer({
                pdfjsProcessing: {
                 file: "./Export_numbered.pdf"
                }
            }).getKendoPDFViewer();
        })();
    </script>
</body>
</html>
  1. Use the following sample PDF - Export_numbered.pdf

  2. Click on Next page button 3 times:
    image

  3. Click on Next page button once again

Current behavior

Pager shows page 5, but there is no content displayed. Scrolling over the PDFViewer scrolls and displays the content.

Expected/desired behavior

Pager shows page 5 and page 5 is visible on the top of the PDFViewer.
Reproducible when the jQuery version in the setup is changed to 1.12.4 or 2.2.4.

Reproduction of the problem - sample file 2

  1. Use the setup above with the PDF file from demos -
    sample.pdf
  2. Click on Next page button 2 times:

Current behavior

Pager shows page 3, but there is no content displayed. Scrolling over the PDFViewer scrolls and displays the content.

Expected/desired behavior

Pager shows page 3 and page 3 is visible on the top of the PDFViewer.
Reproducible when the jQuery version in the setup is changed to 1.12.4 or 2.2.4.

Environment

  • Kendo UI version: 2019.3.917
  • jQuery version: 3.4.1
  • Browser: all
Approved
Last Updated: 04 Oct 2019 05:40 by ADMIN
Created by: Bilal
Comments: 0
Category: PDFViewer
Type: Feature Request
1

I have experience with OpenText Brava Enterprise. I've had the chance to integrate their Viewer in our in-house document management system. This viewer opens up to 100 file formats and allows to add/remove/edit annotations on files and saves these annotations as a separate layer on top of the file. So next time you open the same file to view, you can load the annotations (via API) calls and place the layer of annotations on top.

I was hoping I would see the same thing with Telerik PDF Viewer (and I am aware this works only for PDF). To allow the user to add a Text comment, Shapes, Stamps, Image, PDF Bookmark, etc.

Pending Review
Last Updated: 27 Sep 2019 10:02 by mike
Created by: mike
Comments: 0
Category: PDFViewer
Type: Feature Request
1
I have created the PDF viewer and it works ok with most of PDFs except for those that have electronic signature. The signature section is blanked out. Would you have any fix or workaround for the problem?
Pending Review
Last Updated: 18 Oct 2019 09:13 by ADMIN
Created by: Christian
Comments: 5
Category: PDFViewer
Type: Bug Report
0

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

Completed
Last Updated: 15 Oct 2019 14:24 by ADMIN
Release 2019.R3.SP.next

Bug report

The download functionality of the PDFViewer component doesn't work on Apple mobile devices both on Chrome and Safari browsers.

*Note: The above behavior is not represented on Android devices.

Reproduction of the problem

  1. Open this demo https://demos.telerik.com/kendo-ui/pdfviewer/indexon iPad or iPhone
  2. Tap on the "Download" icon of the PDFViewer.

Current behavior

Nothing happens when the Download icon is tapped. After this tapping part of the other component functionalities like "open" and "search" stop working.

Expected/desired behavior

When the download icon is tapped a "save file" popup should appear and the user can save the currently viewed PDF file.

Environment

  • Kendo UI version: 2019.3.917
  • jQuery version: x.y
  • Browser: [Chrome 77.0.3865.69 | iOS 12.4.1 Safari ]
Approved
Last Updated: 09 Oct 2019 15:14 by ADMIN
Created by: Sławek
Comments: 0
Category: PDFViewer
Type: Feature Request
0
I'd like to ask if you plan to add a feature to PDFViewer allowing opening files secured with an owner password.