Unplanned
Last Updated: 05 Nov 2024 14:33 by Peg

Bug report

PDF with a mixture of portrait and landscape pages shows incorrect page numbers in PDFViewer



Reproduction of the problem

Dojo: https://dojo.telerik.com/VtqGfXZA

Load a PDF with mixture of portrait and landscape pages.

Environment

jQuery: 3.4.1

Kendo UI version: 2024.3.1015
Browser: [all ]

                     
Unplanned
Last Updated: 26 Jun 2024 10:22 by Samantha

Bug report
PDFViewer focuses zoom input when the user clicks on zoom-in icon in Safari on iPhone and iPad

Reproduction of the problem

Dojo: https://dojo.telerik.com/AvOZeriz

Click on zoom in icon

Expected/desired behavior
Focus shall remain on the zoom in icon

Environment
Kendo UI version: [all]
Browser: [Safari]

Unplanned
Last Updated: 29 Mar 2024 09:22 by Satish
Created by: Satish
Comments: 0
Category: PDFViewer
Type: Feature Request
5
Expose the ability to show interactive inputs similarly to the PDF.js library.
Unplanned
Last Updated: 14 Feb 2024 20:11 by Nikhil
Created by: Nikhil
Comments: 0
Category: PDFViewer
Type: Feature Request
1

Hi Team,

I understand at the moment there is a limitation to exporting Hierarchical Grids to PDF.  I would like to request in the future a way to somehow overcome this.  

Thank you!

Unplanned
Last Updated: 23 Jan 2024 15:25 by Taki Xaftellis
Created by: Taki Xaftellis
Comments: 0
Category: PDFViewer
Type: Feature Request
1
Hi Team,

I would like to request a way to hide/disable the new scroller for the Kendo UI PDFViewer.  

Thank you!
Unplanned
Last Updated: 31 Oct 2024 08:20 by ADMIN
Scheduled for 2024 Q4 (Nov)
Currently, if you zoom a page beyond 200% on an iOS device the page goes blank. The issue also occurs on Android devices if you try to zoom beyond 300%.
Unplanned
Last Updated: 03 Jul 2023 08:51 by ADMIN

Bug report

The Actual Width option in the PDFViewer does not work as expected. The width rendered in the component does not match the actual width of the file.

Test scenario: a file that has 11.69 inches width ( approx. 1122 pixels ) is displayed with ~840px width.

Reproduction of the problem

  1. Open a pdf file in Chrome
  2. Press the 3-dot- icon next to the print Icon at the top right and press Document Properties
  3. Convert the Page Size dimensions from inches to pixels
  4. Open the file in the PDFViewer and compare the widths

Current behavior

The page width rendered from the Actual Width feature does not match the actual file width

Expected/desired behavior

The page width from the Actual Width option should match the actual page size of the file.

Environment

  • Kendo UI version: 2023.2.606
  • Browser: [all ]
Unplanned
Last Updated: 24 Apr 2023 14:19 by ADMIN

Hi,

I am stuck in issue kendo pdf viewer download button not downloding pdf instead it previewing it, so please provide download event so i can fixed that issue

$("#pdfViewer").kendoPDFViewer({
        pdfjsProcessing: {
            file: "../sample.pdf"
        },
        width: "100%",
        height: 700,
        render: function (e) {
            kendoConsole.log("page rendered: " + e.page.pageNumber);
        },
        open: function (e) {
          debugger;
            kendoConsole.log("file opened: " + e.file.name);
        },
        error: function (e) {
            kendoConsole.log("error message: " + e.message);
        },
      download: function (e) {
        debugger;
            kendoConsole.log("error message: " + e.message);
        },
    })

 

Unplanned
Last Updated: 31 Oct 2024 08:19 by ADMIN
Scheduled for 2024 Q4 (Nov)
Created by: Heather
Comments: 0
Category: PDFViewer
Type: Bug Report
2

Bug report

Unable to print PDFViewer's PDF on Safari
Regression since 2022.2.802 , most probably related to the following fix in that release - #6923

Reproduction of the problem

  1. Run this Fullscreen Dojo in Safari - https://runner.telerik.io/fullscreen/uhIVIDoW
  2. Expand the overflow menu and tap on the Print tool

Current behavior

The Print Options window is loaded, but PDF pages are not shown in the Print preview. PDF pages content is not present in the saved PDF, if we save the printed content to file.

Expected/desired behavior

PDF pages are shown in the print preview window of Safari and can be saved to PDF
Working version 2022.2.621 - https://runner.telerik.io/fullscreen/abePoXEy

Environment

  • Kendo UI version: 2023.1.117
  • Browser: iPadOS 16.3 Safari
Unplanned
Last Updated: 27 Oct 2022 08:40 by Simon
Created by: Simon
Comments: 0
Category: PDFViewer
Type: Bug Report
1

Bug report

When the PDFViewer is created and a file is loaded using the fromFile method a new thread will be created. That thread remains in memory and doesn't get destroyed when the entire widget is destroyed.
$("#pdfViewer").data("kendoPDFViewer").destroy(); $("#pdfViewer").empty();

Reproduction of the problem

  1. Open the Dojo
  2. Open the 'Memory' tab in the Developer tools
  3. Click the 'Create' and then click the 'Destroy' button

Current behavior

That created thread remains in memory and doesn't get destroyed.

Expected/desired behavior

The thread should get destroyed when the widget is destroyed.

###Workaround
A possible workaround:
kendoPDFViewer.processor.pdf.loadingTask.destroy();

The issue should be additionally researched as there are some leftovers in the JS Heap even when the workaround is used.
image

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all ]
Unplanned
Last Updated: 22 Feb 2022 09:33 by Syed Mustafa
Created by: Syed Mustafa
Comments: 0
Category: PDFViewer
Type: Bug Report
0

Bug report

In PDFViewer, underlines increase size when zooming in/out.

Reproduction of the problem

  1. Open the PDFViewer Basic Usage demo - https://demos.telerik.com/kendo-ui/pdfviewer/index
  2. Open the attached file.
  3. Zoom in to 300% and then out to 50% several times.

Current behavior

The underlines increase their size.

Expected/desired behavior

The underlines should remain the same.

Environment

  • Kendo UI version: 2022.1.119
  • Browser: [all]
Unplanned
Last Updated: 22 Sep 2021 07:22 by ADMIN
Created by: Dave
Comments: 0
Category: PDFViewer
Type: Feature Request
3
It would be awesome if the PDFViewer control could be configured to display two pages side-by-side like a flipbook.
Unplanned
Last Updated: 04 Mar 2021 10:10 by ADMIN
Created by: Janson
Comments: 1
Category: PDFViewer
Type: Feature Request
1

The PDF.js library supports sending xhr with credentials. Please expose this option so credentials can be specified.

Unplanned
Last Updated: 04 Oct 2021 07:50 by ADMIN
Created by: Velusamy
Comments: 2
Category: PDFViewer
Type: Feature Request
12

Dear Team,

As like in other frameworks (https://pspdfkit.com/) we should have the in built option to rotate the PDF pages using Kendo UI PDFViewer widget.

https://web-examples.pspdfkit.com/annotations?i=7KSM53H6QBTN7G45WA030T9C0R.C3YbvdyO2FG3Et1PMQ1btA.KV3y

 

 

Regards,

Velusamy

Unplanned
Last Updated: 07 Aug 2020 19:55 by ADMIN
Created by: Abe
Comments: 0
Category: PDFViewer
Type: Feature Request
1
Hello,

I would like to request the Kendo UI PDFViewer to allow the functionality of containing multiple pdfs.  Additionally, include a way for the user to cycle through them like having next and previous buttons.

Thank you!
Unplanned
Last Updated: 22 May 2020 11:37 by ADMIN
Created by: Marcel
Comments: 1
Category: PDFViewer
Type: Feature Request
0

Hi,

currently i found an workaround for the request but a native support would by cool. Token in url is no alternative

 

Workaround:

axios({
	url: `${config.apiUrl}/Page/pdf/` + id,
	method: 'GET',
	responseType: 'blob',
	headers : {
		"Authorization": authHeader().Authorization
	}
}).then((response) =>{
	var fileReader = new FileReader();
	fileReader.readAsDataURL(response.data);
	fileReader.onload = function(e){
		var pdfViewer = $("#documentViewer").data("kendoPDFViewer");
		if(!pdfViewer){
			pdfViewer = $("#documentViewer").kendoPDFViewer({
				pdfjsProcessing: {
					file: {
						data: e.target.result.split(",")[1]
					}
				},
				width: "100%",
			}).data("kendoPDFViewer");
		}else{
			console.log("fromFile function");
			// pdfViewer.fromFile(`${config.apiUrl}/Page/pdf/` + id);
			pdfViewer.zoomScale = pdfViewer.options.scale || 1.25;
			pdfViewer.trigger("update", { action: "zoom", zoom: pdfViewer.options.scale || "auto" });
			pdfViewer.options.pdfjsProcessing.file.data = e.target.result.split(",")[1];
			pdfViewer._loadDocument();
		}
	}
})

 

Added by admin:

The request is a valid one but it should be extended outside the context of Axios. It will be a good feature to introduce a general approach for fetching a file dynamically - jQuery, Axios, etc.

Unplanned
Last Updated: 22 Apr 2020 14:48 by ADMIN
Created by: RDot
Comments: 0
Category: PDFViewer
Type: Feature Request
0

Currently it is not possible to bind the PDFViewer to a file from the view model:

<div data-role="pdfviewer"
             data-pdfjs-processing-file="{file: fileToLoad}"
             data-width="100%"
             data-height="700"
             data-bind="events: { source: }">
 </div>

<script>
  var viewModel = kendo.observable({
      	fileToLoad: "https://demos.telerik.com/kendo-ui/content/web/pdfViewer/sample.pdf"
  }
</script>

Unplanned
Last Updated: 29 May 2020 13:48 by ADMIN
Created by: moegal
Comments: 2
Category: PDFViewer
Type: Feature Request
4
How can I add a button for full screen/exit full screen for the pdf viewer. I would like to keep the navigation
Unplanned
Last Updated: 22 Jan 2021 08:31 by ADMIN
Created by: Greg
Comments: 1
Category: PDFViewer
Type: Feature Request
15

Hello,

I have an 8mb PDF files that I need to be able to search, however when I click on the search tool the entire page starts responding.

This issue happens in your hosted demo. It seems to come as a result of images in the PDF.

What do I need to do to have it work properly?

Thanks,

Greg

Unplanned
Last Updated: 21 Feb 2020 13:59 by ADMIN
Created by: Graham
Comments: 1
Category: PDFViewer
Type: Feature Request
4

Hi,

 

Is a thumbnail/page viewer in discussion? It would be a real advantage to be able to see thumbs of pages alongside the page viewer.

An example using a different sdk is shown below.

URL:

http://atalasoft-viewer-demo.azurewebsites.net/

 

Regards,

Graham O'Riley

Netdocs

1 2