Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When table cell text alignment (including horizontal and vertical alignment) is applied to a specific part of the table (e.g. First Row, First Column, etc.), the horizontal alignment is not applied. Only the vertical alignment is applied. If the alignment is applied to the whole table, then everything works as expected.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When comments panel is closed while the caret is still in the comment body, most document commands (all except typing) continue to execute in the comment body.

The bug is regression introduced in 2013 Q3.

Workaround: save the document position of the caret before showing the comment and after hiding the comments' panel, apply the saved caret position to the document. Attached is a sample project with the fix.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
After resizing the window, the text stays at the same location instead of moving to the next line. The result is overlapping text.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
The word is temporary marked as correct and when another word is added to the dictionary, the ignored one is highlighted again. As a workaround could be used the Ignore All option.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When the paragraph formatting symbol has a formatting, different than the one of the spans in this paragraph, the bullet is not aligned to the baseline of the text
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When a list associated with list style is copied from a document (source document), and is pasted in another document (target document), and the target document contains list style with the same name, the the list style from source is added to the target, which creates two list styles with the same name in the target document.

In the same scenario, MS Word uses the list style from the target, and do not add the list style from the source.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Currently when the text contains consecutive non-space symbols like "~!@#$%^&*()_+=-`[]{};:'"/\|., ", each character is detected as a separate word. Instead, they should be considered one word, including all the subsequent space characters.

The following functionalities should respect this grouping:
- Caret navigation by words (CTRL + left/right arrow), MoveCaret UI command and the corresponding DocumentPosition methods.
- Selecting word by double clicking.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When caret is just after list bullet/numbering and Backspace is pressed, left indent is cleared. Instead, only the bullet should be deleted, and the indent should be kept as it is set.
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 08:11 by ADMIN
NullReferenceException is thrown when trying to import a nested hyperlink, e.g. the following OOXML:

<w:hyperlink r:id="rId4" w:history="1">
  <w:hyperlink r:id="rId5" w:history="1">
    <w:r>
      <w:rPr>
        <w:rStyle w:val="Hyperlink"/>
        <w:rFonts w:eastAsia="Times New Roman"/>
      </w:rPr>
      <w:t>google</w:t>
    </w:r>
  </w:hyperlink>
</w:hyperlink>
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Characters defined with their unicode codes in HTML won't be imported as symbols, but instead of their codes, for example:

<span>&#26009;</span>
<span>&#36039;</span>

Some of these characters are often used, for example for umlauts (Ä, Ö, Ü) and CJK characters.

The hexadecimal code for Zero Width Space character is split into two parts:
<span>&#x200b;</span> results in Ȁb;
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Creating deep copy using CreateDeepCopy method of an empty Section (without paragraphs or with one empty paragraph) adds empty string Span which leads to ArgumentOutOfRangeException. 

Workaround: clear the empty string Spans before measuring:

foreach (Span span in sectionClone.EnumerateChildrenOfType<Span>().ToList())
{
    if (string.IsNullOrEmpty(span.Text))
    {
        ((Paragraph)span.Parent).Inlines.Remove(span);
    }
}




Steps to reproduce:

1. Execute the following code-snippet:

RadDocument document = new RadDocument();
Section section = new Section();
section.Blocks.Add(new Paragraph());
document.Sections.Add(section);

RadDocument documentClone = (RadDocument)document.CreateDeepCopy();
Section sectionClone = (Section)section.CreateDeepCopy();
documentClone.Sections.Clear();
documentClone.Sections.Add(sectionClone);
documentClone.EnsureDocumentMeasuredAndArranged();

2. Set the documentClone to a RadRichTextBox instance to visualize it.

3. Try to click in the document.

Observe: ArgumentOutOfRangeException is thrown.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Inserting DocumentFragment into RadDocument leads to loss of style definitions from the fragment which names are the same as some of the styles in the RadDocument's style repository. This causes loss of formatting of the text in the document fragment.

For example if in the fragment there is a style with style name "Style_1" and in the RadDocument exists a style with the same name, that style will be omitted during the insertion of the fragment into the document.

Workaround: Styles in the fragment could be renamed to avoid naming conflict with styles in the main document. For example, add the following code snippet right after the importing of the document and before the creation of the fragment:

                string styleSuffix = "_1";
                foreach (var importedStyle in rtfDoc.StyleRepository)
                {
                    importedStyle.Name = string.Concat(importedStyle.Name, styleSuffix);
                }

This will automatically change the styles of all elements with the renamed styles.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Loading/editing document with large lists (with 1561 or more items) throws IndexOutOfRangeException when incorrectly tries to convert numbering to letters.

Workaround: Change list type to one which does not include letter NumberingFormat in any of its levels, for example Numbered Hierarchical or custom one.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Pressing Tab/Shift+Tab when caret position is at the beginning of a paragraph should change current paragraph FirstLineIndent instead of LeftIndent.

First line indent should be changed with Document.DefaultTabWidth step.

Workaround (using PreviewEditorKeyDown): in the attached file.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
This scenario is not valid according to the HTML specification, but exception shouldn't be thrown.

Steps to reproduce:
- Try to import the following HTML:

<html>
<body>
<p style="font-size = 9px">Simple Test</p>
</body>
</html>

Observed: A NullReferenceException is thrown.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
If style is applied to some document elements and this style is deleted through the Change Styles dialog, currently visible document elements (paragraph, spans) are not affected and retain the formatting as if the style is still applied.

Steps to reproduce:
- Add some text
- Select the text and create new style with distinguishable formatting, e.g. red forecolor. The style is applied to the selected text.
- Delete the style
Expected: the paragraph gets Normal style, and its forecolor becomes the default black one.
Actual: the Paragraph has still the custom paragraph styling
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When a RadDocument is created programmatically and its layout mode is set to Flow, the export to PDF doesn't respect section properties.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
The tab is inserted from the wrong side when the paragraph is with RTL direction.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Currently, exporting to HTML serializes the containers by exporting them to XAML and adding them in a comment in the HTML. There are InlineUIContainerImporting and InlineUIContainerImported events, but the Handled property of the importing event arguments is read-only. This prevents users from creating their own serialization/deserialization logic.

Steps to reproduce:
1. Subscribe to events of the format provider:

            HtmlFormatProvider prov = DocumentFormatProvidersManager.GetProviderByExtension("html") as HtmlFormatProvider;
            prov.ExportSettings.InlineUIContainerExporting += ExportSettings_InlineUIContainerExporting;
            prov.ImportSettings.InlineUIContainerImporting += ImportSettings_InlineUIContainerImporting;
            prov.ImportSettings.InlineUIContainerImported += ImportSettings_InlineUIContainerImported;

2. Insert inline UI container in the document and export it to HTML. InlineUIContainerExporting event is raised and you can set the CommentContent property of the args to custom value.
3. Import the document back in the control

Expected: It should be possible to set the Handled property of the importing event args to true, and assign your desired value to the InlineUIContainer property.
Actual: InlineUIContainerImporting event is raised, but all properties of the event arguments have private setters.