Completed
Last Updated: 21 Jan 2020 13:34 by ADMIN
Release LIB 2020.1.127 (01/27/2020)

As suggested in the orginal support ticket 1430154 I'm opening a separate bug reprot for the RadRichTextBox.

Visual Studio 2019 solution to reproduce the problem is attached to the bug report.

Completed
Last Updated: 20 Jan 2020 14:47 by ADMIN
Release LIB 2020.1.127 (01/27/2020)
The exception is thrown in RadDocument.IsInNonEditableRange() method, which is called before measuring the document. When using a format provider, the error is thrown but the document can still be opened in RichTextBox. In binding scenario, the document is not imported.

Workaround: Ensure the document is measured before assigning it to RadRichTextBox.
Completed
Last Updated: 11 Dec 2019 13:35 by ADMIN
Release LIB 2019.3.1216 (12/16/2019)
When trying to import a document containing bookmark and BookmarkRangeEnd is after the last paragraph, a StackOverflowException is thrown in IntervalNode while trying to rebuild the document cache. (RadDocumentChildrenCache.RebuildTree()).

The same could be observed if the bookmark end is last in the header/footer, between table cells in the RadDocument body, or when all paragraphs after the bookmark range end are hidden (with vanish property).

Workaround: Detect the problematic annotations and remove them:
foreach (var rangeStart in document.EnumerateChildrenOfType<AnnotationRangeStart>())
{
    if (rangeStart.End == null || rangeStart.End.Parent == null || rangeStart.End.Parent.Parent == null)
    {
        //MessageBox.Show("This indicates a problem.");
        rangeStart.Parent.Children.Remove(rangeStart);
    }
}

Note: Until 2017 R2 SP1 release StackOverflowException is thrown, after this release an ArgumentException should be thrown.
Completed
Last Updated: 03 Dec 2019 11:57 by ADMIN
Release 2019.3.1209 (12/09/2019)
There is a NullReferenceException thrown while trying to compare positions for restoring them after pasting the document. The exception is handled but after it is thrown, the layout stops updating.

Workaround: Ensure the document is not empty before pasting content inside:
private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand && this.radRichTextBox.Document.IsEmpty)
    {
        this.radRichTextBox.Insert(" ");
    }
}

Completed
Last Updated: 19 Nov 2019 11:05 by ADMIN
Release R1 2019
Quickly adding/removing of tab stop from the document's ruler crashes the application.
Completed
Last Updated: 04 Nov 2019 09:37 by ADMIN
Release LIB 2019.3.1104 (11/04/2019)
HtmlFormatProvider cannot import a document that contains an image with invalid URI format. An UriFormatException is thrown and the whole import fails. Similar errors should be handled and the document should be imported.
Completed
Last Updated: 21 Oct 2019 12:01 by ADMIN
Created by: Stefan
Comments: 0
Category: RichTextBox
Type: Bug Report
0

System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:(no path); DataItem=null; target element is 'SolidColorBrush' (HashCode=63604780); target property is 'Color' (type 'Color')

Completed
Last Updated: 01 Oct 2019 12:40 by ADMIN
Release 2019.3.1007 (10/07/2019)
In this example, the current synchronization context is "occupied" by the task that sets the RTF string forcing the arrange tasks to wait for it to complete before they can start. However, it can never complete as it is blocked by the wait call for the arrange tasks that will never run, causing a deadlock. 
Completed
Last Updated: 01 Oct 2019 10:47 by ADMIN
Release 2019.3.1007 (10/07/2019)
System.InvalidOperationException: Cannot use a DependencyObject that belongs to a different thread than its parent Freezable. is thrown when multiple RadRichTextBoxes are instantiated in different STA threads. The cause seems to be a static freezable resource.
Completed
Last Updated: 11 Sep 2019 06:23 by ADMIN
Release LIB 2019.2.819
The exception is thrown due to an empty byte[] which is applied to the image source.
Completed
Last Updated: 10 Sep 2019 14:10 by ADMIN
Release R3 2019
Created by: Abhishek
Comments: 0
Category: RichTextBox
Type: Bug Report
0
When opening a document which contains date fields, RadRichTextBox doesn't update their values.
Workaround: Invoke UpdateAllFields() or UpdateField().
Completed
Last Updated: 14 Aug 2019 10:40 by ADMIN
Release LIB 2019.2.819 (08/19/2019)
EnableAsynchronousTextInsertion is not respected in a custom caret and any text input is now process asynchronously. 
Completed
Last Updated: 02 Aug 2019 15:01 by ADMIN
Release LIB 2019.2.805 (08/05/2019)
If the document contains a style that is based on a style with a duplicate name, RadDocument detects it as a cycle in style inheritance. 
Completed
Last Updated: 25 Jul 2019 13:36 by ADMIN
Release LIB 2019.2.729 (07/29/2019)
When a gif or tif image is copied and then pasted into the document does not result in the original image. "Image not found" icon appears instead.
Completed
Last Updated: 10 Jul 2019 08:41 by ADMIN
Release LIB 2019.2.715 (07/15/2019)
The exception is thrown while typing and is with message "Value cannot be null. Parameter name: insertIMETextCommandContext". 
Completed
Last Updated: 10 Jun 2019 12:57 by ADMIN
Release LIB 2019.2.610 (06/10/2019)
When a text doesn't specify font explicitly with \fN tag, and default character properties (\defchp) are not specified, or are specified but without font set, the font of the text is visualized with the default font - Verdana. Instead, the default font for the document should be used - defined with \deffN tag.
Completed
Last Updated: 28 May 2019 13:05 by ADMIN
The generated ImageSource is associated with the import thread, while the UI invokes layout logic, which depends on that image, on the main thread. This causes a cross thread access exception.
Completed
Last Updated: 28 May 2019 10:46 by ADMIN
When the attribute is defined but no value is set to it, the format provider cannot import the content and throws NullReferenceException.
Completed
Last Updated: 16 May 2019 14:09 by ADMIN
The exception is thrown by the SystemFontsManager internal class from Telerik.Windows.Documents.Core, so it can observed when using RadPdfViewer, RadRichTextBox, RadSpreadsheet.

The reason is not clear, posssible causes are:
- Corrupted fonts after upgrade from Windows XP
- Enabling of Block untrusted fonts feature (https://docs.microsoft.com/en-us/windows/threat-protection/block-untrusted-fonts-in-enterprise )

The call stack is as follows:

System.TypeInitializationException: The type initializer for 'Telerik.Windows.Documents.Core.Fonts.SystemFontsManager' threw an exception. ---> System.IO.FileNotFoundException: Unable to find the specified file.
   at MS.Internal.Text.TextInterface.Native.Util.ConvertHresultToException(Int32 hr)
   at MS.Internal.Text.TextInterface.FontList.get_Item(UInt32 A_0)
   at MS.Internal.Text.TextInterface.FontList.FontsEnumerator.get_Current()
   at MS.Internal.FontFace.TypefaceCollection.Enumerator.get_Current()
   at System.Windows.Media.Fonts.TypefaceCollection.<GetEnumerator>d__11.MoveNext()
   at Telerik.Windows.Documents.Core.Fonts.SystemFontsManager..cctor()

Workaround: 

Manually delete all registry key values in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts pointing to files outside of the Fonts folder.
Completed
Last Updated: 16 May 2019 13:51 by ADMIN
In some cases when an image is copied from an external source and pasted in the rich text box, the image is not displayed. This is caused by the Clipboard.GetImage() method used internally by the control. 

To work this around, you can subscribe for the CommandExecuting event of RadRichTextBox and manually get the image from the clipboard.

private void Rtb_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)

{
	PasteCommand command = e.Command as PasteCommand;
	if (command != null && (Clipboard.GetData("DeviceIndependentBitmap") != null))
	{
		//Get the image stream from the clipboard.
		//You can check the following blog post for an approach which you can use to get the image properly:
		//https://www.thomaslevesque.com/2009/02/05/wpf-paste-an-image-from-the-clipboard/
		this.radRichTextBox.InsertImage(imageStream, "jpeg");
		e.Cancel = true;
	}
}	
1 2 3 4 5 6