Completed
Last Updated: 01 Jul 2024 11:22 by ADMIN
Release 2024.2.701 (Preview)
ArgumentException when there are bookmarks that point to the same location: System.ArgumentException: 'An item with the same key has already been added.
Completed
Last Updated: 01 Jul 2024 11:22 by ADMIN
Release 2024.2.701 (Preview)
 Form XObject that contains path with a Matrix position is not rendered.
Unplanned
Last Updated: 28 Jun 2024 10:20 by ADMIN
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.

Completed
Last Updated: 14 May 2024 15:37 by ADMIN
Release 2024.2.514 (2024 Q2)
The images are loaded asynchronously and when scrolling too fast, the loader might fail to load an image if it is bigger.
Completed
Last Updated: 14 May 2024 15:37 by ADMIN
Release 2024.2.514 (2024 Q2)
Created by: Philipp
Comments: 3
Category: PDFViewer
Type: Bug Report
3

When using SaveAsCommandDescriptor of RadPdfViewer and trying to replace a pdf file that is currently open in adobe reader causes the following exception:

 

System.IO.IOException: The process can not access file "C:\Temp\test.pdf" because it used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at Microsoft.Win32.SaveFileDialog.OpenFile()
   at Telerik.Windows.Documents.Commands.SaveAsPdfDocumentCommand.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at Telerik.Windows.Controls.RadButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   [...]
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.'
Declined
Last Updated: 09 Apr 2024 08:27 by ADMIN
XObejcts with indirect reference to an image are not rendered.
Unplanned
Last Updated: 31 Jan 2024 08:03 by ADMIN
ADMIN
Created by: Deyan
Comments: 0
Category: PDFViewer
Type: Feature Request
7
Represents Highlights PDF content. While the other annotations are drawn on top of the content, the highlight annotation is behind the text it highlights. In other words, it has to be inserted at a specific place in the ContentElementsUILayer. The precise place where the highlight should be placed is described in the PDF file with the BDC, MCID and EMC operators. At the moment, we have implemented a read-only rendering for all annotation types which draws the annotions separately from the page content. In the case of Highlight, the annotation is drawn below the other content. With this implementation, depending on the PDF content, the highlight annotation might be visible or it might not be because in some cases there is geometry content below the highlighted text which hides the highlight annotation appearance. 
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.

Completed
Last Updated: 18 Dec 2023 06:53 by ADMIN
Release LIB 2023.3.1218 (18 Dec 2023)
When the Interactive Form Fields are in read-only mode, the user should not be able to change the value of the field. The associated Form Field widgets should not interact with the user, e.g. they should not respond to mouse clicks or change their appearance in response to mouse motions.
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: 30 Nov 2023 18:51 by Martin Ivanov
Currently, there are 10px of margin on each side of the FixedDocumentPresenter element showing the page. This is controlled by the PageMargins property of the PagesLayoutManagerBase class, which is set to a fixed value of 10. To change this, you will need to implement custom PagesLayoutManager and few other page presenter classes from scratch. 

Add a property that allows easily changing of the PageMargins value.

At this moment, you can work this around by setting the PageMargins via reflection.
var pageMarginsPropInfo = typeof(PagesLayoutManagerBase).GetField("pageMargins", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic);
pageMarginsPropInfo.SetValue(null, new Size(0, 0));

Unplanned
Last Updated: 14 Nov 2023 06:44 by ADMIN
Currently, RadPdfViewer uses WPF DrawingContext class for drawing page elements to a Canvas.  When PDF page has many content elements (usually geometries) drawing the page may be time-consuming and freezes the UI. 

Instead, we should consider implementing another approach for rendering the content asynchronously which would improve the user experience. 
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.
Completed
Last Updated: 18 Oct 2023 08:32 by ADMIN
Release LIB 2023.3.1023 (23 Oct 2023)
PdfViewer: The document remains locked when using bound PdfDocumentSource and ReadOnDemand even if it is changed.
Unplanned
Last Updated: 17 Oct 2023 08:08 by Dominik
 Expose API that allows you to access the current editor.
Unplanned
Last Updated: 16 Oct 2023 09:38 by Dominik

Provide a default appearance for fields that do not contain one. 

Workaround: set border and background manually:

var provider = new PdfFormatProvider();
var document = provider.Import(File.ReadAllBytes(@"..\..\..\Systemvariablen.pdf"));

foreach (var item in document.AcroForm.FormFields)
{ 
    var widget = item.Widgets.First() as VariableContentWidget;
     
    if (widget != null)
    { 
        widget.AppearanceCharacteristics.Background = new RgbColor(255, 0, 0);
        widget.AppearanceCharacteristics.BorderColor = new RgbColor(0, 0, 255);
        widget.Border = new AnnotationBorder(2, AnnotationBorderStyle.Solid, null);
      
        widget.RecalculateContent(); 
    }
}

pdfViewer.Document = document;