Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
When a document is imported from HTML, we set locally to the span elements Times New Roman as a font family nevertheless it is not declared anywhere. The same applies for the font size as well - it is set to 12.

Workaround: Clear the FontFamily property after import

foreach (Span span in this.radRichTextBox.Document.EnumerateChildrenOfType<Span>())
{
    span.GetStyleProperty(Span.FontFamilyProperty).ClearValue();
    span.GetStyleProperty(Span.FontSizeProperty).ClearValue();
}
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Created by: Todor
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Improve the performance when a document is printed.
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();
}
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Watermark is drawn for each page in the RadDocument. When the watermark is a larger image, an OutOfMemoryException might occur during export to PDF. The same applies for images in header/footer.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The case "margin: 0px" is imported only as margin-top. This results in spacing-after property of the paragraph to have an incorrect value.

There is a possible workaround if you have control over the construction of the HTML. Change the "margin: 0px" to "margin: 0px 0px 0px 0px"
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The UI indicates that a strikethrough is applied, but it is not visible in the document. 

Workaround: 

Reorder the UI layers of RadRichTextBox so that the one responsible for drawing the strikethrough decoration is added in a higher position: 

protected override void BuildUILayersOverride(IUILayerContainer uiLayerContainer)
{
    uiLayerContainer.UILayers.Remove(DefaultUILayers.StrikethroughDecoration);
    uiLayerContainer.UILayers.AddAfter(DefaultUILayers.UnderlineDecoration, new StrikethroughTextDecorationUILayer());
} 
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Created by: Tanya
Comments: 6
Category: RichTextBox
Type: Bug Report
1
There are missing values for the localization strings in:

RichTextBox: Unmerge Cells in the context menu

RichTextBox: NoColor string in the color picker 
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Rtf document cannot be imported when it has an empty table row which have row spanned cells only.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Enable import/export of read only ranges (protected parts of the document) from/to Rtf documents. 
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Table indent property could not be styled through style as it receives a local value with the insertion of the table
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
If the document contains lists with applied customs style, when trying to open the Manage Styles Dialog using the button in the ribbon, ArgumentNullException is thrown and handled internally, and the dialog is not opened. If the user clicks the button multiple times (the number of lists with custom styles), the dialog is opened.

Steps to reproduce:
1. Create a custom list style.

2. Add some test text in the RadRichTextBox.

3. Apply the custom list style in two places in the document.

4. Click on the Change Styles button.

Observed: Dialog is not opened.

Expected: The dialog should open.
Unplanned
Last Updated: 31 Oct 2018 08:06 by Chirag
NullReferenceException is thrown when deleting content. The delete action is executed over a selection. The selection starts from the middle of a paragraph and ends in a table. The paragraph should have a line break as a first element.
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.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Empty paragraph containing only a section break shouldn't be translated on the next page if there isn't enough space for it on the current page.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The issue is reproducible when the document contains a custom Paragraph style the ListId of which related to a custom ListStyle in the document.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Performance is slow when importing document containing many hyperlink fields from RTF and Docx formats.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
If we have a paragraph containing single span which has set red foreground as a local value, applying 'Heading 1' style on that paragraph from the RadRichTextBox' Styles Gallery doesn't change the span's foreground to blue (which comes from the applied style), but preserves the red value.

Workaround: To clear a given property, basing on some logic which determines if it should be cleared. For example:
this.radRichTextBox.CommandExecuting += (s, e) =>
 {
     if (e.Command is ChangeStyleNameCommand)
     {
         var style = this.radRichTextBox.Document.StyleRepository.GetValueOrNull(e.CommandParameter.ToString());
         if (style.Type == Telerik.Windows.Documents.Model.Styles.StyleType.Paragraph)
         {
             Paragraph paragraph = this.radRichTextBox.Document.CaretPosition.GetCurrentParagraphBox().AssociatedParagraph;
             foreach (Span span in paragraph.EnumerateChildrenOfType<Span>())
             {
                 span.ClearValue(Span.ForeColorProperty);
             }
         }
     }
 };
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
If there are two words with two spaces between them, and between the spaces there is annotation with SkipPositionBefore = false (e.g. track changes revision annotation or comment), and current editing style is changed on the position between the spaces (i.e. Toggle Bold, for example, without selection present) the first word formatting is affected (e.g. it becomes bold).

Steps to reproduce:
Variant 1:
- Insert two words with a single space between them (e.g. "text telerik")
- Turn Track Changes On
- Insert a space after the single space between the two words. (i.e. right before 'telerik')
- Toggle Bold
Observe: "text" gets bold.
Expected: "text" doesn't get bold, just current editing style is changed.

Variant 2:
- Insert two words with a two spaces between them (e.g. "text  telerik")
- Select the second space and the second word, and insert comment.
- Put the caret between the spaces.
- Toggle Bold
Observe: "text" gets bold.
Expected: "text" doesn't get bold, just current editing style is changed.
Unplanned
Last Updated: 31 Oct 2018 08:06 by Marc
When a document is edited by more than one user with enabled Track Changes, there should be an option to show the changes of a certain or multiple users and hide the rest.