Completed
Last Updated: 10 Oct 2022 08:54 by ADMIN
Release LIB 2022.3.1010 (10 Oct 2022)
The highlight text button in the ribbon has an invalid icon 
Unplanned
Last Updated: 11 Oct 2022 14:11 by William
When users select content in RadRichTextBox, the selection is automatically extended to include the whole annotation range and they cannot select only a part of it. Allow users to disable that extension.
Unplanned
Last Updated: 12 Oct 2022 09:35 by Matthias
The exception is thrown while trying to load the image from the URI.
Unplanned
Last Updated: 06 Sep 2022 10:43 by TC
The "forms" restriction mode is not respected in RadRichTextBox. In Word, you can allow the user to edit the content controls only and this is not respected in RadRichTextBox.
Completed
Last Updated: 08 May 2023 13:07 by ADMIN
Release LIB 2023.1.522 (22 May 2023)
If you copy a checkbox content control with non-default checked/unchecked symbols and interact with it by changing its state, you will observe that the said symbols are the default ones.
Unplanned
Last Updated: 08 Sep 2022 09:58 by Caesar
When users select a value and perform undo on that selection, then the same value cannot be selected again. Another value should be selected.
Completed
Last Updated: 10 Nov 2022 06:28 by ADMIN
Release LIB 2022.3.1017 (17 Oct 2022)

The scenario:

We have a document with text inside and we are executing the following steps:

  1. Mouse left button down.
  2. Select part of the text.
  3. Replace the selection with new text programmatically (the text should be with a different length).
  4. Release the left button.

Observed: Before releasing the mouse button the cursor position is correct but after releasing it the cursor position is changed to the initial selection end.

Completed
Last Updated: 05 Oct 2022 13:06 by ADMIN
Created by: Adam
Comments: 1
Category: RichTextBox
Type: Bug Report
0

A user reported a significant performance impact with the RichTextBox in our recent update. The UI hangs repeatedly while typing.

Profiling showed a lot of garbage collections, and profiling highlighted the the Telerik class Telerik.Windows.Controls.MarkupExtensions.DocumentsResourceProvider.


#if NETCORE
        private static Style ThemeStyle
        {
            get
            {
                if (themeStyle == null)
                {
                    themeStyle = GetStyleFromApplicationTheme();
                }
                return themeStyle;
            }
        }

        private static Style GetStyleFromApplicationTheme()
        {
            if (StyleManager.IsEnabled && StyleManager.ApplicationTheme != null)
            {
                var themeName = StyleManager.ApplicationTheme.GetType().Name.Trim('_').ToLower();
                themeName = themeName.Replace("theme", string.Empty);

                var themesGeneric = Application.LoadComponent(new Uri("/Telerik.Windows.Controls.RichTextBox;component/themes/generic.xaml", UriKind.Relative)) as ResourceDictionary;
                if (themesGeneric != null)
                {
                    var currentThemeDictionary = themesGeneric.MergedDictionaries.FirstOrDefault(rd => rd.Source != null && rd.Source.OriginalString.ToLower().Contains(themeName));
                    if (currentThemeDictionary != null)
                    {
                        return currentThemeDictionary[typeof(DocumentsResourceProvider)] as Style;
                    }
                }
            }
            return null;
        }

 

I copied this code into my project to debug it, and found:

  1. themeName is correctly calculated to "windows11".
  2. themesGeneric is correctly loaded from the XAML.
  3. currentThemeDictionary gets null because windows11 isn't included in the merged dictionaries.

As the method returns null, it means themeStyle is always null, and it will try again on the next caller. This code is called repeatedly while typing. Using my code (and reflection) to force this ThemeStyle to Fluent fixes the performance, though obviously is a huge workaround.

 

Unplanned
Last Updated: 31 Oct 2022 12:54 by Caesar

DeleteAnnotationRange fails to execute when the content is uneditable annotation. For example: PermissionRange with a checkbox content control inside.

A possible workaround would be to manually delete the annotation range from the document element tree:

var rangeEnd = rangeStart.End;
var endParent = rangeEnd.Parent;
if (endParent != null)
{
    endParent.Children.Remove(rangeEnd);
}

var parent = rangeStart.Parent;
if (parent != null)
{
    parent.Children.Remove(rangeStart);
}

this.radRichTextBox.UpdateEditorLayout();

Unplanned
Last Updated: 08 Dec 2022 09:10 by TC
InvalidCastException when importing documents having shapes and images that are grouped
Unplanned
Last Updated: 08 Dec 2022 12:43 by Caesar

 The AddParagraphToSelection method adds the first row of a table when it is the element after the paragraph. 

To workaround this manually select the paragraph:

var para = caret.GetCurrentParagraph();
DocumentPosition pos = new DocumentPosition(doc);
pos.MoveToDocumentElementStart(para);
selection.AddSelectionStart(pos); 
pos.MoveToDocumentElementEnd(para); 
selection.AddSelectionEnd(pos);

 this.radRichTextBox.Delete(false);

Unplanned
Last Updated: 13 Dec 2022 07:47 by ADMIN
When one inserts emoji with Ctrl + . and searches, additional characters are added to the RichTextBox.
Unplanned
Last Updated: 13 Dec 2022 12:22 by Stefan
Created by: Stefan
Comments: 0
Category: RichTextBox
Type: Bug Report
0

1 Open RadRichTextBox and press Windows + . to to show the emoji box. 

2 Choose the emoji and press backspace to remove it.

Actual behavior: When you press the backspace to remove the emoji, a square is left

Expected behavior: When you press the backspace the emoji should be deleted.

Completed
Last Updated: 16 Dec 2021 15:47 by ADMIN
Release LIB 2021.3.1220 (20 Dec 2021)

The issue is observed when the added table is preceded by a paragraph with a font size different from the default one. As the issue is caused by a broken mouse capture, the following workaround can be employed:

someRandomFrameworkElement.CaptureMouse();

someRandomFrameworkElement.ReleaseMouseCapture();

Completed
Last Updated: 17 Dec 2021 14:01 by ADMIN
Release LIB 2021.3.1220 (20 Dec 2021)
Spans containing complex script text are styled using the iCs and bCs elements for font style and font-weight. DocxFormatProvider currently doesn't export them, leading to incorrect styling when the document is opened in MS Word.
Completed
Last Updated: 16 Dec 2021 14:38 by ADMIN
Release LIB 2021.3.1220 (20 Dec 2021)

When a whole paragraph is selected and the Set Numbering Value command is executed, the numbering value of the next paragraph is changed instead of the current one.

Workaround: Clear the selection prior to executing the command:
private void radRichTextBox_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
    if (e.Command is ShowSetNumberingValueDialogCommand)
    {
        this.radRichTextBox.Document.CaretPosition.MoveToPosition(this.radRichTextBox.Document.Selection.Ranges.First.StartPosition);
    }
}

Declined
Last Updated: 08 Feb 2022 13:00 by ADMIN

Using the microsoft word,In docx document,inserting a shape,and add the text context to the shape,then save.

when radrichtextbox  open the file,the program crashed.

Completed
Last Updated: 24 Nov 2021 14:23 by ADMIN
Release LIB 2021.3.1129 (29 Nov 2021)
The mail merge does not work with fields inside shapes' text
Completed
Last Updated: 08 Dec 2021 10:56 by ADMIN
Release LIB 2021.3.1213 (13 Dec 2021)
RichTextBox: Expose a way so one can access the text of the shape via the public API.
Unplanned
Last Updated: 30 Sep 2021 11:07 by ADMIN

Exception when importing a document with an empty table.

Workaround: Remove the empty tables:

DocxFormatProvider provider = new DocxFormatProvider();
var doc = provider.Import(File.ReadAllBytes(@"C:\Users\mpc\Downloads\22-51.docx"));

foreach (var section in doc.Sections)
{
    var tables = section.EnumerateChildrenOfType<Table>();
    foreach (var table in tables.ToList())
    {
        if (table.Rows.Count == 0)
        {
            section.Blocks.Remove(table);
        }
    }
}
radRichTextBox.Document = doc;