Declined
Last Updated: 29 Feb 2024 07:39 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: 28 Feb 2024 07:11 by ADMIN
As shown in the attached video.
Unplanned
Last Updated: 27 Feb 2024 07:13 by Jose Ramon
The caret is in wrong place when editing HTML with line breaks and using the Web Layout.
Unplanned
Last Updated: 22 Feb 2024 13:08 by ADMIN
Created by: Caesar
Comments: 1
Category: RichTextBox
Type: Bug Report
0
As shown in the attached video.
Unplanned
Last Updated: 22 Feb 2024 08:51 by ADMIN
When you have a single PlainTextControl in the document you can insert another content controls in it. 
Unplanned
Last Updated: 21 Feb 2024 12:11 by Caesar
Pasting text inside a ContentControl is disabled if it is locked.
Unplanned
Last Updated: 21 Feb 2024 09:19 by Caesar
Pasting text with multiple paragraphs into a plain text content control is still possible when IsMultiline is set to false. 
Unplanned
Last Updated: 16 Feb 2024 10:15 by Jason
Created by: Jason
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Export Emojis and special characters to PDF.
Unplanned
Last Updated: 06 Feb 2024 15:16 by Stenly
Add support for Alt property when importing/exporting an image using the DocxFormatProvider.
Unplanned
Last Updated: 02 Feb 2024 13:16 by Martin Ivanov
Currently, the CheckBox SDT doesn't support editing, compared to MS Word where you can change its font and other settings. Add support for this in RadRichTextBox.
Unplanned
Last Updated: 31 Jan 2024 14:43 by Stenly
Clicking at the end of the line does not select the last word of the line, but selects the first word of the next line.
Unplanned
Last Updated: 26 Jan 2024 09:24 by Oliver
There are some special characters in the Polish alphabet, which are inserted with key combinations - AltGr + E should insert "Ä™", Alt Gr + L should insert "Å‚". These combinations are overridden in RichTextBox because are triggering default commands in Silverlight.
 

Workaround: Attach to the PreviewEditorKeyDown event:
  this.radRichTextBox.PreviewEditorKeyDown += (sender, args) =>
     {
         if (Keyboard.Modifiers.HasFlag(ModifierKeys.Alt) && Keyboard.Modifiers.HasFlag(ModifierKeys.Control) && args.Key == Key.E)
         {
             args.SuppressDefaultAction = true;
             args.OriginalArgs.Handled = true;
             this.radRichTextBox.Insert("€");
         }
     };

Completed
Last Updated: 25 Jan 2024 19:04 by ADMIN
Release LIB 2023.3.1315 (15 Jan 2024)
Shift + left arrow navigation is wrong in a table cell. Compare this to MS Word and make sure we are behaving the same way. 
Completed
Last Updated: 25 Jan 2024 19:04 by ADMIN
Release LIB 2023.3.1315 (15 Jan 2024)
RichTextBox: Memory Leak in RichTextBox due to improper (event subscription for timer) code in Telerik.Windows.Documents.Utils.DelayedExecution. 
Completed
Last Updated: 25 Jan 2024 19:04 by ADMIN
Release LIB 2023.3.1315 (15 Jan 2024)
Created by: Caesar
Comments: 0
Category: RichTextBox
Type: Bug Report
0
The lists text is missing from TOC items.
Unplanned
Last Updated: 15 Jan 2024 13:46 by Abhinav
In Narrator scan mode RichTextBox is not accessible.
Unplanned
Last Updated: 15 Jan 2024 08:09 by Martin Ivanov
The character used to measure the non breaking spaces (the degree sign) is causing the space to render with a width bigger than the standard space. 
Unplanned
Last Updated: 11 Jan 2024 13:19 by Stenly
NullReferenceException is raised when trying to display a document.
Unplanned
Last Updated: 11 Jan 2024 10:56 by Ronald

PdfFormatProvider creates an invalid PDF document. 

Workaround:

RadDocument radDocument = null;
XamlFormatProvider xamlformatProvider = new XamlFormatProvider();
using (FileStream inputStream = new FileStream("input.xaml", FileMode.Open))
{
    Console.WriteLine("reading input file");
    radDocument = xamlformatProvider.Import(inputStream);
}

var provider = new Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider();
var bytes = provider.Export(radDocument);

var provider2 = new Telerik.Windows.Documents.Flow.FormatProviders.Docx.DocxFormatProvider();
var flowDoc = provider2.Import(bytes);

var provider3 = new Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider();

using (Stream output = File.OpenWrite(@"output.pdf"))
{
    Console.WriteLine("writing output file");
    provider3.Export(flowDoc, output);
}

Console.WriteLine("done...");
Console.ReadKey();

 

Unplanned
Last Updated: 10 Jan 2024 13:27 by Luke

The paste options popup stays visible when the window is deactivated

Workaround: 

private void MainWindow_Deactivated(object sender, EventArgs e)
{
    var popup = radRichTextBox.PasteOptionsPopup as PasteOptionsPopup;
    popup.Close();
}