Completed
Last Updated: 31 Oct 2018 08:11 by ADMIN
Hyperlink without any navigational information will crash the application with NullReferenceException when showing it.
Completed
Last Updated: 31 Oct 2018 08:11 by ADMIN
If an RTF file contains hyperlink with backslashes in the URI, it is imported broken. Usually, similar hyperlinks are pointing to a local file.
As a workaround, another syntax may be used. For example, "file:///".
Completed
Last Updated: 31 Oct 2018 08:06 by ADMIN
When documents containing images (e.g. few JPEGs with size of 5 MB) are loaded, the memory usage of the process goes up pretty quickly and eventually OutOfMemoryException is thrown.

This is not conventional memory leak, as managed types are not leaking. After some investigation, we believe that GC cannot collect some MemoryStream objects (used for the conversion of the image from Base64 to PNG) from the Large Object Heap fast enough, or LOH becomes fragmented.



Available in LIB version: 2017.1.213
Completed
Last Updated: 31 Oct 2018 08:06 by ADMIN
If an Rtf document is imported and then exported to a Docx file, every single paragraph has associated list when the document is opened in MS Word.

Workaround: Before the document export, clear the ListId property:
if (this.radRichTextBox.Document.Style.ParagraphProperties.ListId == -1)
{
    var property = this.radRichTextBox.Document.Style.ParagraphProperties.GetStyleProperty(Paragraph.ListIdProperty);
    property.ClearValue();
}
Completed
Last Updated: 31 Oct 2018 08:06 by ADMIN
Instances of RadDocument are leaking in addition to other objects when the CreateDeepCopy method of a Section is called.
The section contains one paragraph in its blocks and has one paragraph in the default header.

Fix available in LIB Version 2017.3.1002.
Completed
Last Updated: 31 Oct 2018 07:54 by ADMIN
A custom list has numbered list, which refer style and the style refer numbered list. If the second numbered list is not imported before importing the first the import will fail.

ArgumentException ("referenced document list does not exist."); is thrown and handled internally. It is caused by linked list styles. The style which refers other is imported before the referenced style. The RichTextBox expects that referred styles are imported before the styles that refer them.

Available in R3 2018 Official Release Version.
Completed
Last Updated: 31 Oct 2018 07:54 by ADMIN
When document fragment containing consecutive spans with same style is inserted with RadRichTextBox.InsertFragment method, and the document is with specific structure (which is not exactly known), NullReferenceException in HierarchicalIndex.GetBoxByHierarchicalIndex could be thrown when text is typed in specific places in the document.

Workaround: Ensure that such spans are merged before creating the fragment:

var document = xamlProvider.Import(xaml);
document.MergeSpansWithSameStyles();
var fragment = new DocumentFragment(document);
rtb.InsertFragment(fragment);

---------------------------------------

Sample call stack:

System.NullReferenceException
 at Telerik.Windows.Documents.HierarchicalIndex.GetBoxByHierarchicalIndex(DocumentLayoutBox documentBox, HierarchicalIndex hierarchicalIndex)
 at Telerik.Windows.Documents.DocumentPosition.RestorePositionFromBoxIndex(Nullable`1 raiseEvent)
 at Telerik.Windows.Documents.Model.RadDocumentEditor.InsertTextInternal(String text, Span currentSpanStyle, Boolean explicitAcceptsReturn)
 at Telerik.Windows.Documents.Model.RadDocumentEditor.InsertFromUI(String text, Span currentSpanStyle, Boolean acceptsReturn)
 at Telerik.Windows.Controls.RadRichTextBox.Telerik.Windows.Documents.UI.ITextInputCommandsHandler.InsertText(String text)
 at Telerik.Windows.Documents.UI.CaretTextInputHandler.InsertText(String text)
 at Telerik.Windows.Documents.UI.CaretTextInputHandler.HandleTextInsertedWithoutIme(RadDocument document, String text)
 at Telerik.Windows.Documents.UI.CaretTextInputHandler.CaretUI_TextInserted(Object sender, TextInsertedEventArgs e)
 at Telerik.Windows.Documents.UI.Caret.OnTextInserted(Object sender, TextInsertedEventArgs e)
 at Telerik.Windows.Documents.UI.Caret.OnTextChanged()
 at Telerik.Windows.Documents.UI.Caret.Caret_TextChanged(Object sender, TextChangedEventArgs e)

...

Fix available in LIB Version 2018.2.813.
Completed
Last Updated: 31 Oct 2018 07:54 by ADMIN
When the LevelText of the list style is empty, PdfFormatProvider throws an IndexOutOfRangeException while trying to draw the bullet.

Workaround: Ensure that the LevelText of the ListItemStyle is not an empty string:

foreach (ListStyle listStyle in this.radRichTextBox.Document.ListManager.GetAllListStyles())
{
    foreach (ListLevelStyle level in listStyle.Levels)
    {
        if (string.IsNullOrEmpty(level.LevelText))
        {
            level.LevelText = " ";
        }
    }
}
Completed
Last Updated: 31 Oct 2018 07:53 by ADMIN
The following parts are with hard coded strings and cannot be localized:

 - Insert Caption (InsertCaptionDialog): Combo boxes for label and separator
 - Paragraph Properties (ParagraphPropertiesDialog): Units of spacing and indentation values (pt)
 - Tab Stops Properties (TabStopsPropertiesDialog): The text of the tabStopsToBeClearedTextBloc
 - Cross references: reference types Figure and Table
 - TOC  and TOF: Heading and Figure, Caption labels
 - Document Ruler: Tooltips
 - FormattingColorPicker: The "No Color" string

Available in R1 2018 SP2 Release Version.
Completed
Last Updated: 31 Oct 2018 07:53 by ADMIN
ADMIN
Created by: Boby
Comments: 3
Category: RichTextBox
Type: Bug Report
3
UpdateAllFields method causes StackOverlfowException when:
- there are two TOC fields in the document with specific location (no paragraphs between the two fields)
- when merge fields containing new lines ('\r\n') are updated.

UpdatField method causes StackOverlfowException in the IntervalTree class when:
- A TOC field is updated and the field contains field separator (<w:fldChar w:fldCharType="separate"/>) in its definition. The exception is reproducible when there are section breaks before the TOC. 

Fix available in LIB Version 2017.2.627.
Completed
Last Updated: 31 Oct 2018 07:53 by ADMIN
NullReferenceException is thrown when measuring a document with floating image as the first element on a second page. The same problem can be observed during copy/paste of content, but with slightly different call stack: 

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Windows.Documents.Layout.LayoutBox.get_ValidParent()
   at Telerik.Windows.Documents.DocumentPosition.GetCurrentParagraphBox()
   at Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxRulerController.GetCurrentParagraphBox()
   at Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxRulerController.AssociatedRichTextBox_LayoutUpdated(Object sender, EventArgs e)

Depending on the document structure, an InvalidOperationException with message "Removed LayoutBox should not be split. Such operation will result in invalid document structure." could be also thrown. A sample call stack is:

Telerik.Windows.Documents.Layout.LayoutBox.CreateNewFragment(Telerik.Windows.Documents.Layout.LayoutBox currentLineStartNode) 
Telerik.Windows.Documents.Layout.TableCellLayoutBox.MeasureOverrideInternal(Telerik.Windows.Documents.Model.SizeF availableSize) 
Telerik.Windows.Documents.Layout.TableCellLayoutBox.Telerik.Windows.Documents.Model.IBlockContainerLayoutBox.CallMeasureOverrideInternal(Telerik.Windows.Documents.Model.SizeF availableSize) 
Telerik.Windows.Documents.Layout.BlockContainerLayoutHelper.CheckAllFloatingBlocksAreIncluded(Telerik.Windows.Documents.Model.SizeF availableSize) 

Fix available in LIB Version 2018.1.312.
Completed
Last Updated: 31 Oct 2018 07:53 by ADMIN
While clicking to position the caret at the beginning of a paragraph, the caret is jumping to the previous document position and returning back to the desired one. 

Fix available in LIB Version 2017.2.627.
Completed
Last Updated: 31 Oct 2018 07:53 by ADMIN
RadDocument instances leak when editing a document containing a field and header/footer. The StyleRepository holds a reference to a style's document element.

Fix available in LIB Version 2017.3.1002.
Completed
Last Updated: 31 Oct 2018 07:51 by ADMIN
The caret (cursor) is drawn over letters. This is unpleasant, especially with small font sizes. The issue is even more noticeable when the zoom factor is bigger than 100%.

Available in LIB Version 2018.1.312.
Completed
Last Updated: 31 Oct 2018 07:51 by ADMIN
RadDocument instance leaks through StylesGallery when RadDocument is set multiple times in a sequence to RadRichTextBox - for example by setting RadRichTextBox.Document property multiple times.

Steps to reproduce:

- Start application containing RadRichTextBox with StylesGallery

- Execute this code on a button click: 

            this.radRichTextBox.Document = new RadDocument();
            this.radRichTextBox.Document = new RadDocument();


Observed: RadDocument leaks through the styles gallery.


Available in LIB version: 2017.1.227
Completed
Last Updated: 31 Oct 2018 07:51 by ADMIN
When a preceding paragraph's size is increased, for example - font size is changed, or paragraph is split to two, then the selection of the consequent paragraphs is wrong. When the cursor is on the second line and attempt to select some part of it with the mouse is made, the first or the third line is selected.

Steps to reproduce: 
1. Create two paragraphs with multiple lines
2. Insert new paragraph after the first paragraph
3. Try to select second line of the third paragraph with the mouse

Observed result: First line is selected instead of second line being selected
Completed
Last Updated: 31 Oct 2018 07:51 by ADMIN
ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Feature Request
9
This field retrieves a character through a code value specified in the field-argument. Such documents are common and are created when symbols (e.g. with font Windings through Insert -> Symbol dialog) are inserted in RTF documents in MS Word. 
This functionality is also used when content containing <sym> element is copied from DOCX and pasted in RadRichTextBox - as the content is converted to RTF containing SYMBOL field during the operation.

Workarounds: 
- Implement such field with the API, see the documentation article (http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/features/fields-and-document-variables/custom-fields ) and the SDK example (https://github.com/telerik/xaml-sdk/tree/master/RichTextBox/CustomField/ ). Note that MS Word doesn't show field menus for these fields in RTF documents.
- If RTF format is used and you have control over document creation, save the documents initially as docx, and then save them to RTF. This way the symbols will be encoded without the SYMBOL field construct, and are successfully imported in RadRichTextBox.

Available in R3 2018 Official Release.
Completed
Last Updated: 31 Oct 2018 07:50 by Mi
ADMIN
Created by: Telerik Admin
Comments: 1
Category: RichTextBox
Type: Feature Request
10
Copy formatting from one place in the document and apply it to another.

Available in R2 2018 Official Release version.
Completed
Last Updated: 31 Oct 2018 07:50 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 3
Category: RichTextBox
Type: Feature Request
13
This will reduce the resulting PDF documents' size drastically.
Completed
Last Updated: 29 Oct 2018 08:24 by ADMIN
Importing a document containing non-printable characters and other invalid for XML characters is possible. However, trying to export the same to XAML or DOCX causes System.ArgumentException raised by the XmlWriter.

Workaround: Preprocess the input file and remove any characters not allowed in XML.

Fix available in LIB Version 2018.3.1029.