Completed
Last Updated: 18 Mar 2021 07:17 by ADMIN
Release LIB 2021.1.315 (15/3/2021)
When the image has inverted colors and the color space is of type Separation the document is not decoded correctly and it is rendered with inverted colors.
Completed
Last Updated: 05 Mar 2021 12:46 by ADMIN
Release LIB 2021.1.309 (9/3/2021)
Created by: Daniel
Comments: 2
Category: PDFViewer
Type: Bug Report
0

Hi Telerik Support

We use your Telerik PDF-Viewer since your last Version "UI for WPF R1 2021" which supports Type 3 fonts.
Now the version runs productive by our customers. But after a day, they found some special PDFs that doesn't work quite right with your PDF-Viewer.

In the appendix you will find the PDf-Files as samples for the bugs that i'm describing.
Because of data privacy, the PDF-Files are cutted and cropped.
Also a demo project is appended (It could also be reproduced with the demo Progress Telerik WPF UI for th PDF-Viewer).

First Problem: Blank Page

Hint: It seems that only a few PDF-Files from a specific program seems to be a problem.

  1. Open Demo "WpfAppPdfViewer.exe"
  2. Open the file sample_1_blank_page.pdf(see appendix)
  3. You will see only a blank page
  4. Open the same PDF-File in another PDF-Reader like Adobe Reader and you will see a scan with an illegible stamp of an address

Second Problem: Displaying data delayed

  1. Open Demo "Progress Telerik UI for WPF"
  2. Open the file sample_2_delayed_display.pdf (see appendix)
  3. You will see only a blank page
  4. Wait approx. 5-10 sec. and you will see the content of the PDF-File.

I would be glad for a quick possible solution for our customer.

Best regards

Serge Schoop

Completed
Last Updated: 22 Feb 2021 14:59 by ADMIN
Release R1 2021 SP1
When importing a document containing a specific image encoded with JBIG2Decode an exception is thrown.
Completed
Last Updated: 12 Feb 2021 12:45 by ADMIN
Release LIB 2021.1.215 (15/2/2021)
When importing documents with Type 3 fonts and loading them in RadPdfViewer an ObjectDisposedException is thrown leading to blank pages.
Completed
Last Updated: 21 Jan 2021 09:25 by ADMIN
Release R1 2021
In specific occasions, when starting multiple background threads to import documents, an InvalidOperationException might be thrown saying "Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct." This issue is pretty hard to reproduce. 
Completed
Last Updated: 21 Jan 2021 09:25 by ADMIN
Release R1 2021
ADMIN
Created by: Boby
Comments: 0
Category: PDFViewer
Type: Bug Report
1
Even small documents (~30 kb) containing images encoded with CCITTFaxDecode filter can take about 10 seconds to be opened. In 2014 Q1 SP1 such documents load faster.
Completed
Last Updated: 09 Dec 2020 14:58 by ADMIN
Release LIB 2020.3.1214 (07/14/2020)
When importing a document containing two trailers and the encryption object (Encrypt) is part of the fist xref table the document is not successfully decrypted and an exception is thrown.
Completed
Last Updated: 09 Dec 2020 12:52 by ADMIN
Release LIB 2020.3.1214 (07/14/2020)
This exception seems to be caused because the stream is not decrypted correctly and the stream data is corrupted. For instance when the stream is with FlateDecode filter the exception is InvalidDataException with message "Unknown compression method".
Completed
Last Updated: 01 Dec 2020 12:59 by ADMIN
Release LIB 2020.3.1207 (07/12/2020)

When we render any PDF file with 'x' number of page count and try to enter page 'x+1' in telerik:CurrentPageTextBox and hit enter, it will enable the Previous Page RadButton and if we click Previous Page then it will freeze the application.

System.ArgumentOutOfRangeException: 'pageNo should be greater or equal than 1 and less or equal than 4. (Parameter 'pageNo')'

Workaround: A possible approach could be to attach to the CurrentPageTextBox` KeyDown event in order to restrict the input.

XAML: 

<telerik:CurrentPageTextBox x:Name="PART_CurrentPageNumberTextBox" 
							KeyDown="PART_CurrentPageNumberTextBox_KeyDown"
							Text="{Binding FixedDocumentViewer.CurrentPageNumber, Mode=TwoWay}"/>
Code-behind:

private void PART_CurrentPageNumberTextBox_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)
{
	TextBox textBox = sender as TextBox;
	if (textBox != null)
	{
		if (e.Key == System.Windows.Input.Key.Enter)
		{
			int pagesCount = this.pdfViewer.PagesCount;
			int currentPageNumber = this.pdfViewer.CurrentPageNumber;
			if (this.pdfViewer.Document != null && (currentPageNumber < 1 || currentPageNumber > pagesCount))
			{
				RadFixedPage currentPage = this.pdfViewer.CurrentPage;
				int pageNum = this.pdfViewer.Document.Pages.IndexOf(currentPage) + 1;
				this.pdfViewer.CurrentPageNumber = pageNum;
			}
		}
	}
}

Completed
Last Updated: 27 Nov 2020 13:55 by ADMIN
Release LIB 2020.3.1130 (30/11/2020)
When modifying Interactive Forms TextBoxField's value the entered changes are preserved after is clicked out of the TextBoxField's editing area. However the changes are not applied when the click is performed on the save button.

As possible workaround you can raise a MouseLeftButtonDown event on the RadPdfViewer and after this execute the SaveAsCommand. For example:

private void SaveButton_Click(object sender, RoutedEventArgs e)
{
    MouseButtonEventArgs mouseEventArgs = new MouseButtonEventArgs(Mouse.PrimaryDevice, 0, MouseButton.Left)
    {
        RoutedEvent = FrameworkElement.MouseLeftButtonDownEvent
    };
 
    ((FrameworkElement)this.pdfViewer.FixedDocumentPresenter).RaiseEvent(mouseEventArgs);
    this.pdfViewer.CommandDescriptors.SaveAsCommandDescriptor.Command.Execute(null);
}
Completed
Last Updated: 11 Nov 2020 14:59 by ADMIN
Release LIB 2020.3.1116 (16/11/2020)
Exception when the inline image stream starts on a new row (No imaging component suitable to complete this operation was found).
Completed
Last Updated: 02 Nov 2020 12:00 by ADMIN
Release LIB 2020.3.1102 (02/11/2020)
When importing a document containing an image with ICC Based colorspace and the Alternate colorspace property is null, a NullReferenceException is thrown, which leads to a missing image in RadPdfViewer.
Completed
Last Updated: 26 Oct 2020 07:14 by ADMIN
Release LIB 2020.3.1026 (26/10/2020)
Instances of RadFixedDocument and PdfFormatProvider are kept in memory by a WPF internal collection (_sizeChangedChain).
Completed
Last Updated: 09 Oct 2020 13:18 by ADMIN
Release LIB 2020.3.1012 (12/10/2020)

When importing a PDF document, opening the stream in using statement, and using the default constructor of the PdfDocumentSource class, an exception is thrown:

using (Stream stream = ofd.OpenFile())
{
	this.pdfViewer.DocumentSource = new PdfDocumentSource(stream);
}
Workaround: provide an implementation of PdfImportSettings with CopyStream set to true:
using (Stream stream = ofd.OpenFile())
{
	PdfImportSettings importSettings = new PdfImportSettings
	{
		CopyStream = true
	};

	this.pdfViewer.DocumentSource = new PdfDocumentSource(stream, importSettings);
}

Completed
Last Updated: 29 Sep 2020 13:15 by ADMIN
Release LIB 2020.3.1005 (05/10/2020)
Exception when importing text fragments with no text 
Completed
Last Updated: 29 Sep 2020 12:45 by ADMIN
Release LIB 2020.3.1005 (05/10/2020)
When importing a document containing an ICCBased color space an exception is thrown.
Completed
Last Updated: 16 Sep 2020 12:37 by ADMIN
Release R3 2020
The offset of the CropBox is not respected and is always treated as 0.

Workaround: Import the document with PdfProcessing, change the CropBox offsets of the pages to 0, export the modified document and then import it in PdfViewer.
Completed
Last Updated: 16 Sep 2020 12:36 by ADMIN
Release R3 2020
The stroke is not rendered when the text is in XForm
Completed
Last Updated: 16 Sep 2020 12:34 by ADMIN
Release R3 2020
This is caused by an incorrect order of applying the TextMatrix and the glyph stroking operation.
Completed
Last Updated: 16 Sep 2020 12:34 by ADMIN
Release R3 2020
The EI keyword defines an operator for ending the image data. When the stream contains the same sequence, the parser treats that as an end of the image data. As a result, the image and the following content cannot be properly parsed and there is missing content when the document is visualized.