Unplanned
Last Updated: 24 Jan 2025 17:15 by Martin Ivanov

When the exported document contains a very precise indent values, these are saved using scientific notation, which is unsupported in MS Word. Opening the file in Word results in the following error: "Word experienced an error trying to open the file."

Image

Here is an example of the troublesome setting in the body of the produced document:

<w:ind w:firstLine="6.420405952667352E-06" w:left="76.53543090820312" w:right="0" />

To work this around, you can open the exported document with the WordsProcessing library. This will give you a RadFlowDocument object which then can be exported to a file again. This will save the indent values properly in the new document.

 var dplProvider = new Telerik.Windows.Documents.Flow.FormatProviders.Docx.DocxFormatProvider();
 using (var inputStream = File.OpenRead("../../../originalFile.docx"))
 {
     Telerik.Windows.Documents.Flow.Model.RadFlowDocument flowDoc = dplProvider.Import(inputStream, TimeSpan.FromSeconds(5));
     using (var outputStream = File.OpenWrite("../../../convertedFile.docx"))
     {
         dplProvider.Export(flowDoc, outputStream, TimeSpan.FromSeconds(5));
     }
 }


Or if you use the RichTextBox document model only to create documents in code (without using the RadRichTextBox control), you can replace the code with the WordsProcessing API.


Unplanned
Last Updated: 20 Jan 2025 10:26 by Ivan
DropMarker/Caret size doesn't account for document zoom/scale level. When the dragging text with 50% scale the care is still at 100%.
Unplanned
Last Updated: 17 Jan 2025 17:18 by Stenly
Opening a context menu on an image that is added on a page, which is not the first one, is displayed at the top of the control and not on the image.
Completed
Last Updated: 21 May 2025 07:52 by ADMIN
Release 2025.2.521 (2025 Q2)
If I select multiple Paragraphs and TabForward, all paragraphs will be indented by [indent value]*[selected paragraphs]
Completed
Last Updated: 11 Feb 2025 07:40 by ADMIN
Release 2025.1.211 (2025 Q1)

A SocketException can occur when the ImageInline source is assigned to a link pointing to a picture on a remote server (a website). For example: UriSource ="https://docs.telerik.com/devtools/wpf/knowledge-base/images/kb-chartview-categorical-and-datetime-axis-0.png"

This could happen during the fetching of the image stream. In some cases, the server may give a NetworkStream or ConnectionStream, or similar Stream implementation, which keeps an open connection between the application and the server. If the connection get severed during the stream reading, an exception is thrown. 

The exception message is: "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."

The stacktrace is:

Exception Info: System.Net.Sockets.SocketException
  at System.Net.Sockets.NetworkStream.Read(Byte[], Int32, Int32)
Inner Exception:
Exception Info: System.IO.IOException
  at System.Net.ConnectStream.Read(Byte[], Int32, Int32)
  at System.IO.Stream.InternalCopyTo(System.IO.Stream, Int32)
  at Telerik.Windows.Documents.Layout.ExtensionMethods.ToMemoryStream(System.IO.Stream)
  at Telerik.Windows.Documents.Model.ImageInline.<SetStreamFromUriSource>b__0(System.Object, StreamReadyEventArgs)
  at Telerik.Windows.Documents.Utils.ResourceStreamLocator.OnStreamReady()
  at System.Net.WebClient.OnOpenReadCompleted(System.Net.OpenReadCompletedEventArgs)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
  at System.Windows.Threading.DispatcherOperation.InvokeImpl()
  at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
  at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
  at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
  at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
  at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
  at System.Windows.Threading.DispatcherOperation.Invoke()
  at System.Windows.Threading.Dispatcher.ProcessQueue()
  at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
  at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
  at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
  at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
  at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
  at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
  at System.Windows.Application.RunDispatcher(System.Object)
  at System.Windows.Application.RunInternal(System.Windows.Window)

Completed
Last Updated: 21 May 2025 07:52 by ADMIN
Release 2025.2.521 (2025 Q2)
Having a table, for example, with empty cells, executing the TabBackwardsCommand does not move the caret to the previous cell of the row.
Unplanned
Last Updated: 25 Dec 2024 10:22 by Stenly
When the layout of the RadRichTextBox control is set to Flow, inserting an image (with Text Wrapping set to Behind Text) into a black document and moving it, can cause its content to not be displayed.
Unplanned
Last Updated: 25 Mar 2025 07:51 by ADMIN
'Fit to Content' table is not pasted properly when copied from MS Word
Unplanned
Last Updated: 18 Dec 2024 09:55 by Keisuke
Editing hyperlink image leads to duplication of the image.
Completed
Last Updated: 16 Jan 2025 11:41 by ADMIN
Release 2024.4.1219 (Preview)
IOException while exporting the document to byte array(PDF)
Unplanned
Last Updated: 30 Jan 2025 19:33 by ADMIN
Multiline Selection Highlight is distorted when using Japanese IME (GIF attached). 
Unplanned
Last Updated: 12 Dec 2024 12:25 by Keisuke
Image adorner is missing when the image is inside a hyperlink range. This way the image cannot be resized. 
Unplanned
Last Updated: 12 Dec 2024 11:11 by Keisuke
Table Borders Dialog cannot retain the previous Custom setting and border styles do not match the current setup after cancel and reaopen.
Unplanned
Last Updated: 11 Dec 2024 13:12 by Martin Ivanov
Currently, you can drag text selection in order to move it within the document. 

Add support for dragging text outside of the RadRichTextBox control, thus allowing it to be dropped in a text editor that supports text drop (Word, Notepad and others).

Also, allow dropping text from external source if the DataFormat of the drag/drop action is Text or one of the other supported text data formats in Windows.
Completed
Last Updated: 11 Feb 2025 07:40 by ADMIN
Release 2025.1.211 (2025 Q1)

ArgumentExeption when typing a specific combination with the new Japanese IME. 

Steps to reproduce:

  1. make sure new IME is used.
  2. Type "bcd" + space + "t -> argument exception occurs. 

Expected should work like in the standard text box.

Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)

When trying to show the RadRichTextBox' LineNumberingDialog, nothing is displayed. This happens when using the NoXaml Telerik dlls and themes other than Windows11. The dialog is shown only in the Windows11 theme.

To work this around, add the following two lines in the App.xaml resources.

<Application x:Class="WpfApp1.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:WpfApp1" 
             xmlns:telerikDialogs="clr-namespace:Telerik.Windows.Controls.RichTextBoxUI.Dialogs;assembly=Telerik.Windows.Controls.RichTextBox"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/System.Windows.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.ImageEditor.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.RibbonView.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.RichTextBox.xaml"/>
            </ResourceDictionary.MergedDictionaries>            
            <Style TargetType="telerikDialogs:LineNumberingDialog" BasedOn="{StaticResource RadWindowStyle}"/>
            <Style TargetType="telerikDialogs:LineNumberingDistanceNumericUpDown" BasedOn="{StaticResource RadNumericUpDownStyle}"/>
        </ResourceDictionary>
    </Application.Resources>
</Application>

Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
UnverifiedXamlException is thrown when importing an XAML document that contains a DocumentPartProperties instance.
Unplanned
Last Updated: 23 Oct 2024 04:50 by Martin

The center text alignment is lost when the last paragraph is copied and pasted. 

Steps to reproduce:

- Enter some text and center it.

- Copy and paste it into another document.

Actual: the aligmennt is lost

Expected: the alignment should be preserved

 

 

Unplanned
Last Updated: 11 Oct 2024 06:09 by Mark
RichTextBox: Custom annotations are not rendered correctly when they have no content and are right-aligned (gif Attached).  
Unplanned
Last Updated: 09 Oct 2024 09:19 by Mark
   

To reproduce set he following properties: 

MouseSelectionHandler.DoubleClickTime = 1000;
MouseSelectionHandler.MouseDragThreshold = 2;

MouseSelectionHandler.MouseDoubleClickThreshold = 60;