Unplanned
Last Updated: 05 Dec 2022 09:43 by Stefano
Created by: Stefano
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Citations should be exported  as blockquotes in HTML
Completed
Last Updated: 14 May 2024 15:37 by ADMIN
Release 2024.2.514 (2024 Q2)
Typing and then deleting all in fast succession sometimes fails while using Microsoft Japanese IME.
Duplicated
Last Updated: 30 Nov 2022 14:08 by ADMIN
Memory leak in RadRichTextBox when executing on a new thread
Completed
Last Updated: 19 Jan 2023 14:56 by ADMIN
Release R3 2022 SP1
Created by: Caesar
Comments: 2
Category: RichTextBox
Type: Bug Report
0

In MS Word,create a new docx file,  insert a table, select the whole table, insert a bookmark.

Open the docx file with RadRichTextBox, the bookmark is missing.

This is because the bookmarkStart is in the first tc, while the bookmarkEnd is after the last tr, TableImporter failed to import the bookmarkEnd.

 

Here is my fix.

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: 13 Mar 2024 09:45 by ADMIN
Release 2024.1.130 (2024 Q1)
With multiple lines of text in the same paragraph, clicking on the last possible position on any line (except the last one), the caret moves to the first position on the next line.
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();

Completed
Last Updated: 19 Jan 2023 14:56 by ADMIN
Release R3 2022 SP1
Extension method GetValueOrNull is exists in two assemblies. 
Completed
Last Updated: 25 Oct 2023 08:47 by ADMIN
Release LIB 2023.3.1106 (6 Nov 2023)
The dialogs are not inheriting the theme correctly/fully.
Completed
Last Updated: 19 Jan 2023 14:56 by ADMIN
German localization for Automatic color is wrong in the Table border dialog.
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 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.
Unplanned
Last Updated: 05 Oct 2022 20:50 by Adam
Setting the margin of the DocumentPrintLayoutPresenter breaks the selection. 
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: 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: 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.

 

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: 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.