Unplanned
Last Updated: 21 May 2020 11:32 by ADMIN

Paste some text inside RadRichTextEditor. If the text has more rows than the currently visible area you will see that the control does not scroll down to the caret position.

Workaround:

 

private void RadRichTextBox_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
    if (e.Command is PasteCommand)
    {             
        Application.DoEvents();

        bool cursorAtDocEnd = this.radRichTextBox.Document.CaretPosition.IsPositionAtDocumentEnd;
        if (cursorAtDocEnd)
        {
            MoveCaretCommand command = new MoveCaretCommand(this.radRichTextBox.RichTextBoxElement);
            command.Execute(MoveCaretDirections.Down);
        }
    }
}

 

Unplanned
Last Updated: 21 May 2020 11:22 by ADMIN
ADMIN
Created by: Tanya
Comments: 2
Category: RichTextBox
Type: Bug Report
3
Tab stops with visible tab leader (dot, hyphen, underscore) are not exported to PDF.

Steps to reproduce:
- Start with empty document
- In Paragraph Properties dialog, choose Tabs
- In Tab dialog, enter Tab stop position = 2, Leader = underscore, and press Set. Press OK
- Add a word, press Tab, add another word
- Export the text to PDF

Expected: the words are separated with underscores in the exported PDF.
Actual: the words are separated with blank space in the exported PDF.
Unplanned
Last Updated: 20 May 2020 07:03 by ADMIN
Dialogs and Context menu are not applied correctly during a runtime theme change.
Unplanned
Last Updated: 19 May 2020 15:13 by ADMIN
When a <br/> element is the last element in a paragraph, it should be skipped.
Unplanned
Last Updated: 15 May 2020 13:00 by ADMIN
RichTextBox: Replacing text in a hyperlink puts the text with a wrong start position. It starts from the second index.
Unplanned
Last Updated: 12 May 2020 08:54 by ADMIN
The <br/> tags after </li> are treated as separate paragraphs and inherit the list styling of the previous paragraphs resulting in duplicate bullets.

Workaround
var paragraphsToRemove = this.radRichTextBox.Document.EnumerateChildrenOfType<Paragraph>().Where(p => p.IsInList && p.Inlines.First() is Break);
foreach (var p in paragraphsToRemove)
{
    p.ListId = -1;
}
 
this.radRichTextBox.UpdateEditorLayout();

Unplanned
Last Updated: 08 May 2020 07:12 by ADMIN
When multiple citations are created in MS Word (TestSave.docx) and then the document is opened in richTextBox and you update fields the update command removes the additional citations (TestSave2.docx)
Declined
Last Updated: 05 May 2020 12:28 by ADMIN
When creating Multiple citations in word (TestSave.docx) and then updating the fields in telerik (TestSave2.docx), it changes the field and removes the additional citations.
Unplanned
Last Updated: 14 Apr 2020 07:16 by ADMIN
The parent of an already removed span cannot be found and a NullReferenceException is thrown while performing Undo. Also, multiple asserts are failing in Debug mode. The stack trace is:

UnhandledException: Object reference not set to an instance of an object.
UnhandledException:   at Telerik.Windows.Documents.Layout.LayoutElement.SetParent(LayoutElement newParent)
   at Telerik.Windows.Documents.Layout.LayoutBox.EnsureParent()
   at Telerik.Windows.Documents.Layout.LayoutBox.get_Parent()
   at Telerik.Windows.Documents.Layout.LayoutBox.get_ValidParent()
   at Telerik.Windows.Documents.WordPositionHandler.GetParentHandler()
   at Telerik.Windows.Documents.DocumentPosition.GetCurrentSectionBox()
   at Telerik.Windows.Documents.UI.DocumentPrintLayoutPresenter.GetCurrentPage()
   at Telerik.Windows.Documents.UI.DocumentPrintLayoutPresenter.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
Declined
Last Updated: 13 Apr 2020 13:55 by ADMIN

I have no idea how to reproduce this, but every so often after a paste operation into a RadRichTextBox, the host thread becomes unresponsive to user input. The message pump is still running but the following unhandled exception gets thrown in a tight infinite loop. The only way to close the window is to right click on the taskbar button.

System.NullReferenceException
Message: Object reference not set to an instance of an object.
Call Stack:
    at Telerik.Windows.Documents.Layout.LayoutElement.SetParent(LayoutElement newParent)
    at Telerik.Windows.Documents.Layout.LayoutBox.EnsureParent()
    at Telerik.Windows.Documents.Layout.LayoutBox.get_Parent()
    at Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.get_IsEndOfCell()
    at Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.GetFormattingSymbolVisual()
    at Telerik.Windows.Documents.SpanBoxPositionHandler.get_Location()
    at Telerik.Windows.Documents.UI.DocumentWebLayoutPresenter.GetViewPointFromDocumentPosition(DocumentPosition position)
    at Telerik.Windows.Controls.RichTextBoxUI.PasteOptionsPopup.CalculateLocation()
    at Telerik.Windows.Controls.RichTextBoxUI.PasteOptionsPopup.OnOwnerLayoutUpdated(Object sender, EventArgs e)
    at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
    at System.Windows.ContextLayoutManager.UpdateLayout()
    at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
    at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
    at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
    at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

Unplanned
Last Updated: 09 Apr 2020 14:16 by ADMIN
The document content is not measured properly, leading to incorrect selection ranges.
Completed
Last Updated: 27 Mar 2020 13:36 by ADMIN
Release LIB 2020.1.330 (03/30/2020)
Restarting the numbering should affect only the paragraphs of the current level. Currently, after restarting the numbering, the upper-level paragraphs after the current one are also affected, making the numbering incorrect.
Completed
Last Updated: 27 Mar 2020 12:06 by ADMIN
Release LIB 2020.1.330 (03/30/2020)
While typing, there are spaces added after the content, the caret is not positioned as expected.
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.
1 2 3 4 5 6