Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When the caret is positioned at the beginning of a paragraph with hanging indent and the user press Backspace, the left indent is set to a negative value, the text goes out of the bounds of the document. 

Workaround:
Use the editor's method instead of the command:

private void RadRichTextBox_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
    bool? parameter = e.CommandParameter as bool?;
    if (parameter != null && parameter == true)
    {
        DeleteCommand command = e.Command as DeleteCommand;
        if (command != null)
        {
            e.Cancel = true;
            this.radRichTextBox.Delete(true);
        }
    }
}
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
The ChangeListStyleCommand has an event named ListStyleChangedChanged  which is never raised.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
If span formatting command (bold, italic, strikethrough) is applied to selection over multiple paragraphs, and tracked with tracked changes; and later this tracked change is rejected, NullReferenceException is thrown. The exception is handled so the visible result for the end user is that the UI stops updating and any subsequent changes are not visible.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
When header/footer (HeaderFooterPresenterBase) is rendered, the model which corresponds to it (HeaderFooterBase's Body property) is not updated. The result is updated only in the presenter. Thus, when exporting the document or when checking the elements in the model, the value of the inline (span's text) is not updated.

Workaround: Update the fields in the headers/footers. RadDocumentEditor.UpdateAllFields() method can be used. Note that it works only for the main document and not its child documents, so different RadDocumentEditors should be created for each header/footer document.
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
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 ADMIN
If there is a Span surrounded with annotation ranges in a table cell and the table has conditional table style, the text cannot be selected after import of such document. If the table has normal table style (not a conditional one) everything works as expected. 

- If the annotations are bookmark ranges (start and end), the text cannot be selected with double-click over the text.
- If the text is hyperlink, the text could be selected with double-click, but when the selection is changed through the keyboard arrows, the same issue appears.

The issue appears with Docx documents, in addition to the attached Xaml one, so the issue seems not to be related to the XAML serialization.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Trying to delete table cell formatting symbol, when track changes are on, will result in marking the text in the cell as deleted.
MS Word does not respect such delete action.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
When importing a hyperlink containing anchor, the NavigateUri keeps the part after the hyperlink only instead of the whole URI.
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 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.
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
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: 03 Aug 2017 10:51 by ADMIN
IndexOutOfRangeException is thrown when some JPEG file in the document has Scan Header with fewer components than the Frame Header. The current JpegDecoder implementation requires both JPEG Headers to have the same number of components.

WORKAROUND: PdfImagesCompressionMode.Automatic option may be used in the PdfFormatProvider export settings. This way all JPEG images will be exported to PDF without decoding their pixels and the PDF file will be exported successfully. 
Unplanned
Last Updated: 05 Apr 2018 11:00 by ADMIN
Paragraph spacing from table style is not exported for each paragraph inside the table. The table style defines paragraph properties which should be respected when exporting the styles to HTML.

Workaround: Apply the paragraph settings coming from the table style directly to the elements.
foreach (var table in radRichTextBox.Document.EnumerateChildrenOfType<Table>())
{
    foreach (var paragraph in table.EnumerateChildrenOfType<Paragraph>())
    {
        paragraph.LineSpacing = table.Style.ParagraphProperties.LineSpacing;
        paragraph.LineSpacingType = table.Style.ParagraphProperties.LineSpacingType;
 
        paragraph.AutomaticSpacingAfter= table.Style.ParagraphProperties.AutomaticSpacingAfter;
        paragraph.AutomaticSpacingBefore = table.Style.ParagraphProperties.AutomaticSpacingBefore;
 
        paragraph.SpacingAfter = table.Style.ParagraphProperties.SpacingAfter;
        paragraph.SpacingBefore = table.Style.ParagraphProperties.SpacingBefore;
    }
}