Unplanned
Last Updated: 10 Nov 2022 15:32 by Caesar
The MS Word has a context menu option Remove Content Control which is missing in the RadRichTextBox UI.
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.

Unplanned
Last Updated: 02 Nov 2022 16:32 by ADMIN
ADMIN
Created by: Alex
Comments: 2
Category: RichTextBox
Type: Feature Request
16

Add support for comparing documents.
			
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: 12 Oct 2022 09:35 by Matthias
The exception is thrown while trying to load the image from the URI.
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.
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: 05 Oct 2022 20:50 by Adam
Setting the margin of the DocumentPrintLayoutPresenter breaks the selection. 
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: 05 Oct 2022 08:48 by Adam
Provide an option for having a single page even if there is space for more. On a large widescreen monitor, DocumentPrintLayoutPresenter/PagesLayoutManager positions pages side-by-side rather than in a single column.
Completed
Last Updated: 04 Oct 2022 13:33 by ADMIN
Release LIB 2022.3.1010 (10 Oct 2022)
Internal exception of type NullReferenceException is thrown when the field has an empty code fragment.
Unplanned
Last Updated: 03 Oct 2022 08:31 by ADMIN
The text is cut off at the end of characters when the impact font is used.
Unplanned
Last Updated: 27 Sep 2022 06:14 by ADMIN
Created by: William
Comments: 2
Category: RichTextBox
Type: Feature Request
1
Merge undo commands when typing consecutive text. In Word when typing continuous text (without changing the caret position) it is added as only one undo step. In RichTextBox every keystroke (or multiple keystrokes with less than 15 milliseconds in delay) is added as separate undo steps.
Completed
Last Updated: 26 Sep 2022 13:26 by ADMIN
Release LIB 2022.3.1003 (03 Oct 2022)
The cursor jumps to the next line sometimes when clicked at the end of the line.
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.
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.
Unplanned
Last Updated: 05 Sep 2022 12:55 by Vladimir
The editor used for the footnotes causes ArgumentNullException when trying to pass the dialog to it.
Completed
Last Updated: 05 Sep 2022 07:07 by ADMIN
Release LIB 2022.2.905 (09 Sep 2022)
When ScaleFactor is set to less that (1,1), this causes the caret to disappear at specific positions in the document. These positions depend on the exact value of the scale factor. The focus is still in the editor and users can type.

Note that if the scale factor changes, the positions where the caret is not visualized will change as well.
Completed
Last Updated: 30 Aug 2022 12:45 by ADMIN
Release R3 2022
ADMIN
Created by: Boby
Comments: 0
Category: RichTextBox
Type: Feature Request
17
Add support for line numbering in paged layout mode, similar to MS Word.
Completed
Last Updated: 30 Aug 2022 11:46 by ADMIN
Release R3 2022