Unplanned
Last Updated: 02 Jan 2024 11:48 by Martin Ivanov
Currently, the document model reads the scene3d tag of the shape drawing, but RadRichTextBox doesn't support rendering this information. 
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Created by: Kalin
Comments: 0
Category: RichTextBox
Type: Bug Report
1
ContextMenu holds a reference to last RadRichTextBox it's shown for. Since ContextMenu is cached by MEF, this leads to memory leak. 

Workaround: There are two options:

- manually set different instances of ContextMenu to all your RadRichTextBox-es
this.radRichTextBox.ContextMenu = new Telerik.Windows.Controls.RichTextBoxUI.ContextMenu();

- Create custom context menu that will be non-sharable. MEF will automatically load different instances of it for all RadRichTextBoxes on demand:
[PartCreationPolicy(CreationPolicy.NonShared)]
[CustomContextMenu]
public class NonSharedContextMenu : ContextMenu
{
}

Using any of the options will prevent MEF from creating cached instance of the ContextMenu.
Unplanned
Last Updated: 02 Mar 2017 09:48 by ADMIN
Currently the API allows ClipboardHandler-s to be registered in ClipboardEx.ClipboardHandlers collection, which is used when content is pasted. 
We can extend ClipboardHandler with property describing whether the handler is supported for copy, paste, or copy&paste, and use the collection for copy operation as well.

Workaround: Use RadRichTextBox.CommandExecuted and on copy, enhance the original data object in the clipboard:

            this.radRichTextBox.CommandExecuted += (sender, e) =>
            {
                if (e.Command is CopyCommand)
                {
                    var originalDataObject = Clipboard.GetDataObject();

                    DataObject dataObject = new DataObject();
                    foreach (string format in originalDataObject.GetFormats())
                    {
                        dataObject.SetData(format, originalDataObject.GetData(format));
                    }

                    dataObject.SetData("Html", new HtmlFormatProvider().Export(this.radRichTextBox.Document));

                    Clipboard.SetDataObject(dataObject);
                }
            };
Declined
Last Updated: 22 Nov 2019 12:25 by ADMIN

StackOverflowException is sometimes thrown while a document containing annotations is updated in the main thread (e.g. by typing in it), and spell checking is enabled. The exception is thrown in a background thread, which call stack similar to this one: 2f89dfe8 00566287 Telerik.Windows.Documents.Cache.IntervalTree.IntervalNode`2[[System.__Canon, mscorlib],[Telerik.Windows.Documents.Cache.IntervalTree.HierarchicalIndexStruct, Telerik.Windows.Documents]]..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>) 2f89e084 00566287 Telerik.Windows.Documents.Cache.IntervalTree.IntervalNode`2[[System.__Canon, mscorlib], ... 2f89e4dc 00565cd8 Telerik.Windows.Documents.Cache.RadDocumentChildrenCache.RebuildTree() 2f89e52c 005658c1 Telerik.Windows.Documents.Cache.RadDocumentChildrenCache.Rebuild() 2f89e538 1413b704 Telerik.Windows.Documents.Cache.RadChildrenCacheBase`1[[System.__Canon, mscorlib]].EnsureValid() 2f89e568 00568c72 Telerik.Windows.Documents.Cache.RadDocumentChildrenCache.ContainsAnnotationMarkersOfType[[System.__Canon, mscorlib]]() 2f89e5c0 00568b29 Telerik.Windows.Documents.Cache.RadDocumentChildrenCache.GetContainingAnnotationRanges[[System.__Canon, mscorlib]](Telerik.Windows.Documents.Model.Inline, Boolean) 2f89e618 0056896f Telerik.Windows.Documents.Model.RadDocument.GetContainingAnnotationRanges[[System.__Canon, mscorlib]](Telerik.Windows.Documents.Model.Inline, System.Predicate`1<System.__Canon>, Boolean) 2f89e654 1b6b76d3 Telerik.Windows.Documents.Proofing.DocumentProofingManager.IsPositionInIgnoredRange(Telerik.Windows.Documents.DocumentPosition) 2f89e664 1b6b72e7 Telerik.Windows.Documents.Proofing.DocumentProofingManager+<SplitRangeToUpdate>d__2.MoveNext() 2f89e690 1b6b7019 Telerik.Windows.Documents.Proofing.DocumentProofingManager.UpdateIncorrectWordsList(Telerik.Windows.Documents.DocumentPosition, Telerik.Windows.Documents.DocumentPosition) 2f89e6c0 1b6b6ef2 Telerik.Windows.Documents.UI.Layers.TextDecorationLayers.ProofingErrorsDecorationUILayer+<>c__DisplayClass9.<MarkBoxesWithSpellingErrorsAsynch>b__5() 2f89e6d0 1b612094 Telerik.Windows.Documents.Utils.DelayedExecution.ExecuteAction(Boolean) 2f89e6e4 1b6b6e34 Telerik.Windows.Documents.Utils.DelayedExecution.OnThreadingTimer(System.Object) 2f89e704 65fa5b38 System.Threading.TimerQueueTimer.CallCallbackInContext(System.Object) 2f89e708 65fc4157 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 2f89e774 65fc4096 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 2f89e788 65fa5a81 System.Threading.TimerQueueTimer.CallCallback() 2f89e7bc 65fa593c System.Threading.TimerQueueTimer.Fire() 2f89e7fc 65fa5861 System.Threading.TimerQueue.FireNextTimers() 2f89e83c 65fa5724 System.Threading.TimerQueue.AppDomainTimerCallback() 2f89ea68 66d73de2 [DebuggerU2MCatchHandlerFrame: 2f89ea68] Note: Until 2017 R2 SP1 release StackOverflowException is thrown, after this release an ArgumentException should be thrown.

Declined: Not reproducible anymore.

Unplanned
Last Updated: 29 Mar 2018 13:51 by ADMIN
ADMIN
Created by: Mihail
Comments: 2
Category: RichTextBox
Type: Feature Request
1
The normal hyphen should break the line and the non-breaking hyphen (inserted with: alt+0173) should not break the line
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
The dialog should match the strings contained in the different document parts (headers, footers, footnotes, endnotes, comments).
Unplanned
Last Updated: 30 Oct 2018 13:28 by ADMIN
The settings of the empty paragraphs in the document fallback to the default document settings (Verdana).

The EnumerateChilderOfType() method can be used to traverse all the paragraphs in the document and apply them the same font family as a workaround.
Unplanned
Last Updated: 08 Nov 2017 13:01 by ADMIN
For some font sizes, the end of the last letter or the start of first letter is clipped. The problem is most visible with italic styles and large font sizes, but is present even for small sizes and regular style.
Completed
Last Updated: 19 May 2017 13:26 by ADMIN
 ArgumentException is thrown when a missing image with no width and height is imported from HTML format.

Steps to reproduce:
1. Import the attached HTML.
2. Wait for a few second for loading the image.

Actual: An ArgumentException is thrown for setting the width or height of an image to an infinity.

Fix available in LIB Version 2017.2.522.
Unplanned
Last Updated: 17 May 2017 16:07 by ADMIN
Bullet with a big font-size applied is not horizontally aligned with the rest of the bullets of the same level.

Steps to reproduce:
1. Add several paragraphs.
2. Apply a list to the paragraphs.
3. Select a paragraph in the middle.
5. Apply a big font-size, like 24.
6. Export to HTML.

Actual: The bullet with the bigger font-size is not horizontally aligned with the rest of the paragraphs.
Expected: All paragraphs should be horizontally aligned
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Some customers are complaining that when the mini toolbar is shown, it is semi-transparent - they expect to be fully shown. Currently, this behavior cannot be customized. Think of adding some setting about how this toolbar will be visualized.
Unplanned
Last Updated: 20 Jun 2017 07:19 by ADMIN
When the main container of a window is ScrollViewer, the caret is not kept in the view while users move it with the arrow keys.
Declined
Last Updated: 21 Apr 2017 06:53 by ADMIN
Unplanned
Last Updated: 03 Oct 2017 13:19 by ADMIN
InvalidCastException that is handled is thrown in a scenario with two tables with no paragraphs in between, a page break before the tables and the user inserts paragraph in the second table. As a result, the user is unable to delete content when the selection includes the table ( the one produced by merging the two tables after the paragraph deletion).
Unplanned
Last Updated: 30 Aug 2017 15:32 by ADMIN
Setting IsLinkedToPrevious to false is not respected on export to DOCX/RTF for an empty header when the footer contains page field. The header is not exported at all.

Workaround: Add some content to the header (it might be a single space).

foreach (var section in this.radRichTextBox.Document.Sections)
{
    if (section.Headers.Default.IsEmpty)
    {
        RadDocumentEditor editor = new RadDocumentEditor(section.Headers.Default.Body);
        editor.Insert(" ");
    }
}
Unplanned
Last Updated: 05 Apr 2018 14:31 by ADMIN
Allow the custom fields inserted in a child document, like header/footer/comment etc, to access properties from the main document of RadRichTextBox.
Unplanned
Last Updated: 14 Sep 2017 07:04 by ADMIN
There is a glitch in the font's combobox when importing html that contains table and there is an image in the cell. It shows wrong font family. Typing on the other hand works correctly and the appropriate font is used.
Unplanned
Last Updated: 16 Aug 2017 10:53 by ADMIN
When a paragraph is triple-clicked, then the whole paragraph is selected. However, when there is a table beneath the paragraph and triple-click action is performed for the paragraph (or a selection is created including the end of the paragraph), the table's first row is selected as well.
Completed
Last Updated: 03 Aug 2017 06:19 by ADMIN
EMF images cannot be natively parsed by the WPF framework and are not supported in RadRichTextBox. Stop the exception so the document can be imported.

Fix available in LIB Version 2017.2.724.
Unplanned
Last Updated: 17 Jul 2018 15:12 by ADMIN
When the RadRichTextBox is focused via clicking on it or via RadRichTextBox.Focus() the visual feedback is not diplayed.

Workaround: create a style trigger for that (for example for the Office2016 theme):

<Style TargetType="{x:Type telerik:RadRichTextBox}" BasedOn="{StaticResource RadRichTextBoxStyle}">
    <Style.Triggers>
        <Trigger Property="IsKeyboardFocusWithin" Value="True">
            <Setter Property="BorderBrush" Value="{telerik:Office2016Resource ResourceKey=AccentFocusedBrush}" />
            <Setter Property="BorderThickness" Value="1" />
        </Trigger>
    </Style.Triggers>
</Style>