Unplanned
Last Updated: 20 Mar 2020 05:36 by ADMIN
Bold is not reset when creating a bullet line on a new line 
Unplanned
Last Updated: 17 Mar 2020 13:28 by ADMIN
When copy a modified Heading from Word document and paste it into a not empty RichTextBox the modified styles are not correctly imported.
Unplanned
Last Updated: 10 Mar 2020 12:36 by ADMIN
When GoToBookmark method is called and the current position is before the bookmark, the screen is not repositioned, causing the bookmark sometimes to appear at the last visible row.
Unplanned
Last Updated: 10 Mar 2020 07:23 by ADMIN
Invalid document is generated when track changes is enabled and the InsertFragment method is used
Unplanned
Last Updated: 06 Mar 2020 05:44 by ADMIN
Created by: Joshua
Comments: 0
Category: RichTextBox
Type: Bug Report
1

A reference in DocumentFragment to RadDocument (CopySource property) can cause a memory after copy-paste between RadDocument.

Workaround:

public static bool ReleaseClipboardExReferences(
    RadDocument document)
{
    dynamic clipboardEx = new DynamicProxyObject(typeof(ClipboardEx));

    if (clipboardEx.documentClipboardData?.CopySource is DynamicProxyObject copySource
        && object.ReferenceEquals(copySource.Instance, document))
    {
        clipboardEx.documentClipboardData = null;
        return true;
    }

    if (clipboardEx.CopiedDocumentFragment?.Fragment?.CopySource is DynamicProxyObject fragmentCopySource
        && object.ReferenceEquals(fragmentCopySource.Instance, document))
    {
        clipboardEx.CopiedDocumentFragment = null;
        return true;
    }

    return false;
}

Unplanned
Last Updated: 27 Feb 2020 06:42 by ADMIN
The page number field is not correctly calculated when merging documents
Unplanned
Last Updated: 21 Feb 2020 15:29 by ADMIN
Image adorner is not properly ported and it is not supported in .Net Core.
Unplanned
Last Updated: 10 Feb 2020 13:59 by ADMIN

Use the attached project to reproduce:

- Click the first button so the image is changed

- Click the second button and examine the exported HTML

Expected: the Uri is exported

Actual: the Uri is not exported.

Workaround: 

p.Inlines.AddAfter(image, image2);
p.Inlines.Remove(image);

Unplanned
Last Updated: 04 Feb 2020 18:36 by ADMIN

The document styles are not respected because of wrongly imported custom style name after copy-paste from MS Word and exported to HTML.

Workaround: avoid using styles with braces in their name.

Unplanned
Last Updated: 03 Feb 2020 11:15 by ADMIN

To reproduce:

- Select several words by holding the control key. 

- Paste some text. 

Result: the first word is replaced, the other are deleted

Expected: the text should be pasted in all selected places

Workaround:

private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand)
    {
        var ranges = radRichTextBox.Document.Selection.Ranges.ToList();
        if (ranges.Count > 1)
        {
            e.Cancel = true;

            foreach (var range in ranges)
            {
                radRichTextBox.Document.Selection.Clear();
                radRichTextBox.Document.Selection.AddSelectionStart(range.StartPosition);
                radRichTextBox.Document.Selection.AddSelectionEnd(range.EndPosition);
                PasteNewText();
            }      
        }
    }
}
public void PasteNewText()
{
    DocumentFragment clipboardDocument = null;
    string clipboardText = null;
    bool clipboardContainsData = false;

    if (ClipboardEx.ContainsText(null))
    {
        clipboardText = ClipboardEx.GetText(null);
        clipboardContainsData = true;
    }

    if (!clipboardContainsData)
    {
        return;
    }

    if (clipboardDocument != null)
    {
        this.radRichTextBox.ActiveDocumentEditor.InsertFragment(clipboardDocument);
    }
    else if (!string.IsNullOrEmpty(clipboardText))
    {
        this.radRichTextBox.ActiveDocumentEditor.Insert(clipboardText);
    }
}

Unplanned
Last Updated: 03 Feb 2020 09:00 by ADMIN

To reproduce:

- Hold the control key and double click a word

Actual: the entire paragraph is selected

Expected: the current word should be selected, the existing selection should be extended.

Unplanned
Last Updated: 15 Jan 2020 09:21 by ADMIN
The caret position does not move at the end of the line with continuous text (see attached).
Unplanned
Last Updated: 13 Jan 2020 09:37 by ADMIN

To reproduce:

- Add a multilevel list to a document and export it to HTML

- Import the document again the list is changed and the values are not correct.

Unplanned
Last Updated: 09 Jan 2020 14:49 by ADMIN
When a hyperlink uri contains a symbol that needs to be escaped (e.g. ')'), the exported document is corrupted.
Unplanned
Last Updated: 06 Jan 2020 12:22 by ADMIN
Use Destination styles does not appear in the paste options popup control. It only appears in the RadRibbonDropDownButton.
Unplanned
Last Updated: 06 Jan 2020 12:18 by ADMIN
Invoking the same Paste Options command for a second time does not close the popup. It is closed when another Paste Options command is executed.
Unplanned
Last Updated: 25 Dec 2019 13:53 by ADMIN
Importing padding CSS style property with shorthand value produces an incorrect result. 
Example: 
Importing padding: 5px; style is imported as padding-top: 5px, padding-right: 0px, padding-bottom: 0px, padding-left: 0px

Padding syntax can be seen in the specification.

Workaround: Apply padding values for all four sides.
Unplanned
Last Updated: 23 Dec 2019 12:39 by ADMIN

 Incorrect behavior when setting the table cells padding

Steps to reproduce:

- Insert a table

- Open Table Properties

- Clear the value in the "Left" field 

- Check "Same for all sides"

- Click OK

Unplanned
Last Updated: 18 Dec 2019 12:18 by ADMIN
When the popup is located on the bottom side of the document and it is also close to the end of the presenter and a user opens it, then the popup goes outside the area.
Unplanned
Last Updated: 03 Dec 2019 11:44 by ADMIN

To reproduce: 

protected override void OnClosing(CancelEventArgs e)
{
    this.radRichTextBox.Document = null;
    base.OnClosing(e);
}

1 2 3 4 5 6