Unplanned
Last Updated: 24 Jun 2025 14:54 by Martin Ivanov
The size of some images in specific documents is scaled and positioned wrongly.
Unplanned
Last Updated: 27 May 2025 06:14 by Geoff
The path objects are not drawn with correct background.
Unplanned
Last Updated: 07 May 2025 15:15 by Valentin
When displaying PDF-Files using PDFViewer, ContentElementsCanvas .RenderAsync uses reflection (DispatcherObjectUtils.ApplyDispatcher) to render Visuals on multiple threads.
However this leads to a memory leak since the dispatchers cant be GC'ed, see screenshot below.




The Screenshot is from the actual application we expirienced this issue with, the attached reproduction example is a boiled down version of what your code does.
If you wanna reproduce this on your own, create an application that uses PdfViewer that switches between many pdf files. The ammount of Dispatchers will grow steadily, probably to a total of the number of threads used by Task.Factory.

Unplanned
Last Updated: 07 May 2025 14:54 by Martin Ivanov

A memory leak in RadPdfViewer when the control gets removed from the visual tree.

To work this around, use the reflection API to access the leaking VisualTarget objects and call their Dispose method manually.

var pdfViewer = hostBorder.Child as RadPdfViewer;

if (pdfViewer != null)
{
    var canvas = viewer.ChildrenOfType<Canvas>().FirstOrDefault(x => x.GetType().Name.Contains("ContentElementsCanvas"));                
    var visualTargetsDictionaryField = canvas.GetType().GetField("pageNumberToVisualTarget", BindingFlags.NonPublic | BindingFlags.Instance);
    var visualTargetsDictionary = (Dictionary<int, List<VisualTarget>>)visualTargetsDictionaryField.GetValue(canvas);
    foreach (KeyValuePair<int, List<VisualTarget>> target in visualTargetsDictionary)
    {
        for (int i = 0; i < target.Value.Count; i++)
        {
            VisualTarget item = target.Value[i];
            item.RootVisual = null;
            item.Dispose();
        }
    }  
}
hostBorder.Child = null;
hostBorder.Child = new RadPdfViewer() { Document = newDocument };

Unplanned
Last Updated: 28 Feb 2025 05:32 by SF
PDF Signature(image) is displayed on the incorrect location when using annotations.
Unplanned
Last Updated: 21 Nov 2024 08:02 by Dimitar
Wrong color of lines due to Matrix Transformations applied to the Drawing.
Unplanned
Last Updated: 18 Oct 2024 11:40 by Martin Ivanov
Some lines could be missing in the PdfViewer when rendering line geometries.


The attached image shows the issue.

Unplanned
Last Updated: 16 Oct 2024 07:15 by Stenly
The import performance is reduced and the memory consumption is increased when XObject instances have many Shading elements.
Unplanned
Last Updated: 24 Sep 2024 08:39 by Patrizio
Glyphs with specific font added to the document are not rendered. 
Unplanned
Last Updated: 16 Aug 2024 09:14 by John
PdfViewer: The selected page is not synchronized with the selected index in the Thumbnail view when a document is opened manually. This issue occurs in the thumbnail example in the demo applicationl. 
Unplanned
Last Updated: 23 Apr 2024 05:28 by Belma
Images hosted inside multiple Form XObjects are not rendered.
Unplanned
Last Updated: 22 Apr 2024 10:22 by Valentin
Some documents cannot be printed with the PdfViewer. In this case no exception is thrown and the result file is 0 bytes. 
Unplanned
Last Updated: 15 Apr 2024 08:44 by ADMIN
When opening a document with a CFF Type1 font an exception is thrown: NullReferenceException: 'Object reference not set to an instance of an object.'
Unplanned
Last Updated: 04 Jan 2024 11:12 by ADMIN

A password is asked although Adobe opens the document without one when the document is encrypted with "Encryption of data using the RC4 or AES algorithms with a file encryption key length of 40 bits." - Version 1 (V 1) Revision 2 (R 2).

Similar cases (V1 R3 and V2 R3) are handled in the following item: PdfViewer: A password is asked although Adobe opens the document without one.

Unplanned
Last Updated: 13 Dec 2023 08:00 by Roman
 Exception when rendering a file with a lot of RenderTargetBitmap objects (Com Exception: MILERR_WIN32ERROR). It seems that we are creating this for tilling patters which are not reused and we ca reconsider our appraoch.  
Unplanned
Last Updated: 05 Dec 2023 09:56 by Martin Ivanov
The text elements in a document are positioned wrongly and are slightly offset from their expected positions.
Unplanned
Last Updated: 07 Nov 2023 09:07 by Piotr
The "scn" value is not interpreted correctly which causes graphics to be drawn differently from Adobe.
Unplanned
Last Updated: 17 Oct 2023 08:08 by Dominik
 Expose API that allows you to access the current editor.
Unplanned
Last Updated: 21 Sep 2023 13:49 by Martin Ivanov
The memory consumption is increasing each time the Document property is changed at runtime. This memory doesn't get collected by the GC. To reproduce this, the Document property changes should happen with a small time interval between them. For example, several consecutive button clicks. Also, in order for that to be presented, the RadPdfViewerNavigationPane should be used and bound to the RadPdfViewer.

The issue is not reproducible if there is enough time between the Document changes, so that the UI is properly loaded.

To avoid the memory leak, avoid using the RadPdfViewerNavigationPane.
Unplanned
Last Updated: 21 Sep 2023 08:44 by Jan-Philipp
Created by: Jan-Philipp
Comments: 0
Category: PDFViewer
Type: Bug Report
1
Copy and Paste omits white spaces.
1 2 3 4 5