Unplanned
Last Updated: 15 Jan 2019 13:42 by ADMIN

When the user copy-pastes an image from Outlook, it is pasted as an IncludePictureField and visualized as expected. The field code looks like

{INCLUDEPICTURE :image001.png@01D15D16.4FAF0970 \* MERGEFORMATINET}

However, when the fields in the document are updated, the image is no longer shown because of its invalid Uri. In MS Word, when you paste the image, it is directly inserted as image and the field is skipped.

Workaround - remove the field start/ends (in the attachments)

Unplanned
Last Updated: 06 Dec 2018 09:27 by ADMIN

 

First Scenario: During layout of specific documents where the first section is with Continuous section break type, the layout algorithm enters in an infinite loop causing the application to hang.

Workaround: Change the section break type for the first section after the import of the document and before the layout:
document.Sections.First.PreviousSectionBreakType = SectionBreakType.NextPage;

Second Scenario: During the layout of specific documents where the last section is with Continuous section break type and has specific page size width and height, the layout algorithm enters in an infinite loop causing the application to hang.

Workaround 2: Slightly modify the size of the section which causes the issue after the import of the document and before the layout:
Size pagesize = radDocument.Sections.Last.PageSize;
radDocument.Sections.Last.PageSize = new Size(pagesize.Width - 0.001, pagesize.Height - 0.001);


Unplanned
Last Updated: 16 Nov 2018 13:52 by ADMIN
When custom annotations are created by inheriting AnnotationRangeStart and AnnotationRangeEnd classes, and the reaction to the delete commands is customized by overriding the DeleteBehavior, BackspaceBehavior, and DeleteSelectedBehavior, the delete command doesn't work as expected in some cases.
 
Examples:
  • CustomAnnotationRangeEnd.BackspaceBehavior returns AnnotationMarkerDeleteBehavior.SelectAnnotation: the expected behavior is the whole annotation range to be selected when the caret is just after the annotation range end and Backspace is pressed.
    • Expected: When the caret is just after the annotation range end and Backspace is pressed, the whole annotation range to be selected.
    • Actual: Nothing happens, text is not deleted.
  •  

  • CustomAnnotationRangeStart.DeleteBehavior returns AnnotationMarkerDeleteBehavior.SelectAnnotation
    • Expected: When the caret is just before the annotation range start and Delete is pressed, the whole annotation range to be selected.
    • Actual: The symbol after the annotation start is deleted.
  •  

  • CustomAnnotationRangeStart.DeleteBehavior returns AnnotationMarkerDeleteBehavior.RemoveAnnotation
    • Expected: When caret position is just before the annotation and Delete is pressed, the annotation start and end are removed.
    • Actual: The symbol after the annotation start is deleted.
Unplanned
Last Updated: 07 Nov 2018 08:12 by ADMIN
When exporting with RtfFormatProvider (including when the users copy content), an additional \par tag is added at the end of the document.

Workaround: Process the RTF after it is generated. 

Here is an example how to achieve it when copying:

this.radRichTextBox.CommandExecuted += radRichTextBox_CommandExecuted;
...
void radRichTextBox_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
    if (e.Command is CopyCommand)
    {
        DocumentPosition end = this.radRichTextBox.Document.Selection.Ranges.Last.EndPosition;
             
        RadDocument clipboardDocument = ClipboardEx.GetDocument().ToDocument();
        RtfFormatProvider provider = new RtfFormatProvider();
        string rtfString = provider.Export(clipboardDocument);
        int indexLastParOpening = rtfString.LastIndexOf("{");
        int indexLastParClosing = rtfString.IndexOf('}', indexLastParOpening);
        string newRtf = rtfString.Remove(indexLastParOpening, indexLastParClosing - indexLastParOpening + 1);
        Clipboard.SetData("Rich Text Format", newRtf);
    }
}
Unplanned
Last Updated: 06 Nov 2018 12:38 by ADMIN
The header of the first page can have only settings applied without any content. In such scenarios, RtfFormatProvider doesn't import the whole header, which can lead to a different layout of the document.
Unplanned
Last Updated: 06 Nov 2018 12:18 by ADMIN
When a list is copied from one document (source) to another document (target) and the target contains custom list with different name, the paste command does not paste the list in the target.

Steps to reproduce:
1. Open two instances of RadRichTexbox
2. In the first RRTB create new list style -> List1 and use it to create a list
3. In the second RRTB create a new list style -> List 2 and use it to create a list
4. Copy the list from the second RRTB and try to paste it after the list in the first RRTB

Expected: The list is pasted.
Actual: The list is not pasted, but the list style is added to the List Library.
Unplanned
Last Updated: 02 Nov 2018 16:36 by ADMIN
Some of the formatting symbols (e.g. space, tab) don't affect the height of the paragraph. With the current implementation, changing the font size of a formatting symbol, which is first in the paragraph, changes its height as well.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
Applying a list does not follow the specified indention of texts. When a paragraph has previously applied indentation, it should be preserved and added to the indentation of the bullet. In RadRichTextBox, the indentation of the paragraphs is not respected when applying a list style to it - only the setting of the list is applied.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
MS Word shows additional tab stop for a text in a list when a document is exported to RTF format.
Steps to reproduce:
1. Open RadRichTextBox
2. Add 2 or 3 paragraphs with text.
3. Add a 5-inch tab stop for those paragraphs.
4. Apply a list over those paragraphs.
5. Export to RTF format and view in MS Word.
Note: The paragraphs should not contain any tab symbols.
Observed result: MS Word shows additional tab stop at the start of the text in the list.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When the users move the image (evaluated as a result of the field) using the document selection, the field is removed from the document and the image is duplicated.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When a continuous section break is inserted on a page containing an image and with a watermark applied, the watermark is shown on top of the other document elements. The issue is observed only on the page with the section break.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
Inserting a page break inside a table is currently not supported (the feature request is logged at https://feedback.telerik.com/Project/143/Feedback/Details/211108). Therefore, the Page Break button inside the Insert tab of the ribbon should be disabled when the caret is positioned inside a table.

Workaround: Track the position of the caret and when the latter goes into a table, set the Enabled property of InsertPageBreakCommand to false.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When an RTF document contains table inside table in the header or in the footer, the document cannot be imported due to NullReferenceException. In the case of RadRichTextBox the exception is handled, but it's not when RtfFormatProvider is used directly.

The bug is regression in 2016 R3.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When the document contains headings with heading styles associated with numbering styles (numbered headings), and TOC field is inserted and/or updated in the document, the TOC items should contain the numbering which comes from the style. Instead, on update the numbering is lost and only heading text is included in the field result.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
InvalidOperationException is thrown in the IsInNonEditableRange() method of RadDocument when assigning a document to RadRichTextBox, which is created through the model and contains several read-only ranges.

Workaround: Call MeasureAndArrangeInDefaulSize().
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When continuous section break is copied from RichTextBox and pasted to MS Word, it is inserted as Next Page break.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When section break between tables is deleted, the document structure gets corrupted and as a result, NullReferenceException is thrown after performing undo of the deletion operation. 
As a workaround PageBreak could be used instead of Section break.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
If the spell checking dialog is opened when the caret is at the end of the paragraph, the spell check stops after the fist span in the paragraph after which there is a punctuation (e.g. comma or a dot).

However, if the caret is at the beginning of the paragraph (on the first misspelled word for example), everything works as expected.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When there is a Section with columns layout and it is separated with continuous section break, inserting column break in some of the columns doesn't get into account when the calculations of the available height are made.