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();
}
Completed
Last Updated: 21 Jan 2021 09:29 by ADMIN

Depending on the current layout of the document, invoking SetPosition() for a specific location might result in positioning the caret on the line prior to the expected one.

Steps to reproduce:

  • Create a document using the following code:

radRichTextBox.Insert("one: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("two: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("tree: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("four: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("five: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("seks: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("seven: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("eitgh: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("nine: ");
radRichTextBox.Insert(Environment.NewLine);
radRichTextBox.Insert("ten: ");

  • Place the caret at the end of the "nine: " line
  • Invoke SetPosition():

radRichTextBox.Document.CaretPosition.SetPosition(radRichTextBox.Document.CaretPosition.Location);
radRichTextBox.Focus();

Observed: The caret is positioned after "eitgh:"

Expected: The caret shouldn't change its position

Unplanned
Last Updated: 21 Oct 2020 08:45 by ADMIN
 The paragraph which has run with vanish attribute is not imported from docx
Completed
Last Updated: 16 Oct 2020 12:27 by ADMIN
Release R3 2020 SP1
Copying a Table and then pasting it as plain text results in each table cell added on a new line. Instead, the content of the cells on a single table row should be separated by tabs and newlines should differentiate the table rows.
Completed
Last Updated: 06 Oct 2020 14:12 by ADMIN
Release LIB 2020.3.1012 (12/10/2020)
When pasting a copied image with Keep Text Only paste option an exception is thrown (check the attached record.gif)
Unplanned
Last Updated: 29 Sep 2020 13:15 by ADMIN
Currently, inserting a code block is processed by the RichTextBox's InsertCodeBlock() method which takes the whole code block at once. This leads to UI freezing when the code block is very long. 
Unplanned
Last Updated: 29 Sep 2020 08:01 by ADMIN
The text-indent property is not properly imported when set on a list item 
Unplanned
Last Updated: 28 Sep 2020 11:50 by ADMIN
Custom Style.DisplayName is overridden when importing XAML document
Unplanned
Last Updated: 25 Sep 2020 09:07 by ADMIN
 HTML saved in Word and then imported contains question marks instead of dashes. It seems that the encoding is not correctly parsed.
Unplanned
Last Updated: 24 Sep 2020 08:23 by ADMIN
Currently, only the content of the content controls is exported to PDF.
Unplanned
Last Updated: 18 Sep 2020 06:12 by ADMIN
Created by: Maulik
Comments: 0
Category: RichTextBox
Type: Bug Report
1
When the copied text doesn't contain any formating the Keep Text Only paste option should be applied (check the attached record.gif)
Completed
Last Updated: 24 Aug 2021 14:13 by ADMIN
Release LIB 2021.2.830 (30 Aug 2021)
When calling a ChangeAllFieldsDisplayMode(FieldDisplayMode.Result) on a document containing a multiline document variable ("First Line\vSecond Line\vThird Line") leads to wrongly updated span box text.

The result is: "Third Line¬Third Line¬Third Line"
Unplanned
Last Updated: 15 Sep 2020 08:16 by ADMIN

The DeepCopy method does not copy the font of the predefined table styles

 

Workaround:

var fragment = new DocumentFragment(radRichTextBox.Document);
radRichTextBox.Document = new RadDocument();
DefaultStyleSheet.Instance.ApplyStylesheetToDocument(radRichTextBox.Document);
radRichTextBox.InsertFragment(fragment);

Completed
Last Updated: 29 Sep 2020 12:08 by ADMIN
Release LIB 2020.3.1005 (05/10/2020)

Here we are:

            HtmlFormatProvider htmlProvider = new HtmlFormatProvider();
            htmlProvider.ExportSettings.StylesExportMode = StylesExportMode.Inline;

            string _html =
                @"
                <html>
                <head>
                <meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">
                </head>
                <body>
                <div name=""divtagdefaultwrapper"" style=""font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"">

                <div class=""WordSection1"">
                <p class=""MsoNormal"" style=""text-autospace:none"">
                <span style=""font-size:11pt; color:rgb(31,73,125)"">
                            I am out of office, please contact Aaaaaa Bbbbbbb (Tel: &#43;1-234-567-8900/email:
                <a href=""mailto:aaaaaa.bbbbbb@zzz.com"">aaaaaa.bbbbbb@zzz.com</a>) for assistance
                </span>
                </p>
                </div>
                </div>

                </body>
                </html>
                ";

            RadDocument _doc = htmlProvider.Import(_html); 
            radRichTextBox.Document = _doc;

And here is an exception:

 

System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Windows.Controls.RichTextBox
  StackTrace:
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.FillSpanProperties(SpanProperties spanProps, EvaluateProperty evalFunction, IEnumerable`1 disregarderdDefaultStyleBagPropertiesCollection)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.CreateSpanFromTextNode(INode childNode, Paragraph paragraph, IEnumerable`1 disregarderdDefaultStyleBagPropertiesCollection)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessContentNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass79_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass79_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass79_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.Import(Stream input)
   at Telerik.Windows.Documents.FormatProviders.Html.HtmlFormatProvider.Import(Stream input)
   at Telerik.Windows.Documents.FormatProviders.Html.HtmlFormatProvider.Import(String input)
   at WpfTest.MainWindow.ButtonTest_OnClick(Object sender, RoutedEventArgs e) in C:\Users\mosvk\Source\Workspaces\Bm.Extensions\test\WpfTest\MainWindow.xaml.cs:line 191

 

       
Unplanned
Last Updated: 09 Sep 2020 14:01 by ADMIN
Created by: Dimitar
Comments: 0
Category: RichTextBox
Type: Bug Report
3
Memory leak when changing the documents
Completed
Last Updated: 05 Oct 2020 13:54 by ADMIN
Release LIB 2020.3.1012 (12/10/2020)
Pressing 'a'+Enter simultaneously while in Japanese IME leads to en exception with the following message: Value cannot be null. Parameter name: insertIMETextCommandContext.
Unplanned
Last Updated: 03 Sep 2020 07:29 by ADMIN
Provide an option in the HtmlExportSettings to skip paragraph tags on export.

Workaround
htmlString = htmlString.Replace("<p>", string.Empty).Replace("</p>", string.Empty);
Unplanned
Last Updated: 03 Sep 2020 07:02 by ADMIN
Currently, when importing an RTF document that does not conform to RTF syntax an exception is thrown.

Telerik.Windows.Documents.FormatProviders.Rtf.Exceptions.RtfUnexpectedElementException: 'Exception of type 'Telerik.Windows.Documents.FormatProviders.Rtf.Exceptions.RtfUnexpectedElementException' was thrown.'
Unplanned
Last Updated: 26 Aug 2020 06:49 by ADMIN

In a specific scenario when there are many tables in a document the following case leads to NullReferenceException.

 - Select few tables 
 - while mouse is still selecting tables use keyboard's Ctrl + A
 - Leave the mouse 
 - use Ctrl + A again (this time everything is selected)
 - hit Delete
 - Object reference not set to an instance of an object is thrown

Completed
Last Updated: 08 Jun 2021 11:01 by ADMIN
Release R2 2021 SP1
When applying a Mail Merge the images in Merge Fields are not exported.