Completed
Last Updated: 26 Oct 2018 11:32 by ADMIN
Created by: Rick
Comments: 4
Category: RichTextBox
Type: Bug Report
2
Add the following code to an application with a RadRichTextBox in it:

for (var i = 0; i < 1000; i++)
{
    var doc = radRichTextBox.Document.CreateDeepCopy();
}

If your document does not contain any lists it behaves as expected: memory usage increases until the next GC when it is collected. If there are lists in your document the RadDocument instances created by CreateDeepCopy are never collected and your app will run out of memory.

Fix available in LIB Version 2018.3.1029.
Completed
Last Updated: 26 Sep 2018 06:02 by ADMIN
When spell checking dialog is used for spell checking, and the user proceeds to the next word (either by changing with a suggestion, ignoring, etc.), the view port is not scrolled to include the next currently spell checked word.

Fix available in R3 2018 Official Release.
Unplanned
Last Updated: 29 Aug 2018 15:44 by ADMIN
API ideas:

- DocumentSelection: Get inlines between annotation start and end, e.g. DocumentSelection.EnumerateChildrenOfType<>(bool includePartiallySelectedElements) where T : DocumentElement

- DocumentSelection: SelectAnnotationRange(AnnotationRangeStart start, bool includeAnnotation). Such method is present without the last parameter, but it always selects the annotation ranges
Completed
Last Updated: 16 Oct 2018 08:18 by ADMIN
In Material theme, RadRichTextBox should be enclosed by border.
In Fluent theme, RadRichTextBox should have shadow.

The problems are more visible when RadRichTextBox.LayoutMode is Flow, but the border/shadow should also be present in Paged layout mode.

Fix available in R3 2018 SP1 release.
Unplanned
Last Updated: 21 Aug 2018 15:13 by ADMIN
When pressing Shift+Up(Down) should create a selection to the start(end) of the document when the caret position is on the first(last) line. Currently, in this case, a selection is not created.

Such behavior can be achieved using the following approach:

        private void RadRichTextBox_CommandExecuting(object sender, CommandExecutingEventArgs e)
        {
            if (e.Command is MoveCaretCommand && System.Windows.Input.Keyboard.Modifiers == ModifierKeys.Shift)
            {
                var command = e.Command as MoveCaretCommand;
                MoveCaretDirections direction = (MoveCaretDirections)e.CommandParameter;
                if (direction == MoveCaretDirections.Up)
                {
                    var positionOnFirstLine = new DocumentPosition(this.radRichTextBox.Document);
                    positionOnFirstLine.MoveToFirstPositionInDocument();
                    if (this.radRichTextBox.Document.CaretPosition.Location.Y - positionOnFirstLine.Location.Y < 1)
                    {
                        this.radRichTextBox.Document.CaretPosition.MoveToPosition(positionOnFirstLine);
                        e.Cancel = true;
                    }
                }
                else if (direction == MoveCaretDirections.Down)
                {
                    var positionOnLastLine = new DocumentPosition(this.radRichTextBox.Document);
                    positionOnLastLine.MoveToLastPositionInDocument();
                    if (positionOnLastLine.Location.Y - this.radRichTextBox.Document.CaretPosition.Location.Y < 1)
                    {
                        this.radRichTextBox.Document.CaretPosition.MoveToPosition(positionOnLastLine);
                        e.Cancel = true;
                    }
                }
            }
        }
Unplanned
Last Updated: 20 Aug 2018 07:06 by ADMIN
ADMIN
Created by: Tanya
Comments: 2
Category: RichTextBox
Type: Feature Request
1
At this point, the FloatingUIContainers cannot be selected. Implement selection to enable the users to work easily with such elements.
Unplanned
Last Updated: 19 Mar 2019 16:33 by ADMIN
Font weight, size and other current editing style properties are not preserved when document layout is performed, for example in the following cases:
- the document is in web layout mode and the controls is resized
- scroll bar changes its visibility.

Steps to reproduce:
- Set RadRichTextBox to Web layout mode.
- Type a word, select it and make it bold.
- Press enter and type a word
- Repeat the previous step until RadRichTextBox height is reached and scrollbar appear.
- Type a word.
Expected: The last word is bold.
Actual: The last word is not bold.
Completed
Last Updated: 20 Aug 2018 08:16 by ADMIN
After performance investigation related to feedback item http://feedback.telerik.com/Project/143/Feedback/Details/171108 , one bottleneck was identified as redundant calls to internal methods for getting parent of a document element.

Available in LIB Version 2018.2.820.
Completed
Last Updated: 16 Aug 2018 13:17 by ADMIN
The pgMar element might be present but the margin information might be missing as shown below:
<w:pgMar w:header="720" w:footer="720" />
At the moment this overwrites the section margin information with 0. Instead the margins should remain as is.

Fix available in LIB Version 2018.2.820.
Unplanned
Last Updated: 09 Aug 2018 14:22 by ADMIN
The spacing between the letters is too big.
Completed
Last Updated: 07 Dec 2022 11:37 by ADMIN
Release R1 2023
If the position is moved to the end of a paragraph by clicking with the mouse in the empty space just left of the paragraph text, sometimes the subsequent text input (typing, pasting) is inserted at the beginning of the next paragraph, instead of at the end of the clicked one. 

The issue is somewhat random and cannot be reproduced consistently, though it's not hard to reproduce if clicking and typing is fast enough.
Unplanned
Last Updated: 14 Aug 2018 09:41 by ADMIN
Certain documents containing a table with a cell spanning on more than one row might cause the application to hang and throw OutOfMemoryException.

Workaround: Set SpacingAfter = 0 of the last paragraph in the table.
Completed
Last Updated: 25 Sep 2018 13:29 by ADMIN
When the first table cell for a table row is vertically merged, the height of the row is exported improperly - instead the height of the row containing the beginning of the merged cell is exported.
Unplanned
Last Updated: 03 Aug 2018 08:53 by ADMIN
This would enable the customers to track the content that is being inserted and decline its insertion if needed.
Completed
Last Updated: 21 Sep 2018 12:40 by ADMIN
When the rtf document contains a table as the one below and the empty declaration is used in the following structure, the document cannot be imported:

{\fonttbl
{\f0 Verdana;}
{\f1 Times New Roman;}
{\f2 ;}
{\f3 Segoe UI;}}
Completed
Last Updated: 20 Aug 2018 11:49 by ADMIN
The exception is reproduced only with specific custom fonts and is thrown by the ComputeSubset() method of the GlyphTypeface class with the following message: "file does not conform to the expected file format specification". However, we can handle the exception and export the font data using the base class.

Available in LIB Version 2018.2.820.
Unplanned
Last Updated: 19 Jul 2018 07:04 by ADMIN
ADMIN
Created by: Anna
Comments: 0
Category: RichTextBox
Type: Feature Request
2
At the moment the table properties, including table, table row and table cell properties don't have size validation, i.e. it is possible to set them to negative or zero values. Validation should be added where necessary.
Unplanned
Last Updated: 19 Jul 2018 07:01 by ADMIN
RichTextBox interprets the div tag by adding a new line upon its closing. However, when the content of the div tag is a br tag, the whole combination should be treated as one new line.
Completed
Last Updated: 16 Jul 2018 10:39 by ADMIN
The RadNumericUpDown buttons are too small and the selected value is not visible. The issue is not reproducible in NoXaml.

Fix is available in LIB Version 2018.2.716.
Unplanned
Last Updated: 10 Jul 2018 09:38 by ADMIN
ADMIN
Created by: Boby
Comments: 0
Category: RichTextBox
Type: Feature Request
0
Currently RadRichTextBox uses the .NET syntax for the date and time formatting of the code fields. When such strings are exported to or imported from RTF/DOCX, the date and time formatting switch should be converted according to the document format specifications (e.g. 17.16.4.1 Date and time formatting from OOXML specification). Examples of differences:

- 'tt' in .NET is converted to am/pm specifier for the current culture. In DOCX specification, this is denoted as 'am/pm'
- '/' in .NET is converted to date separator for the current culture. In DOCX specification, the symbol doesn't have special meaning, so it's always converted to '/'.

.NET date format strings: https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings

MS Word date format strings: 
https://support.office.com/en-us/article/insert-edit-and-view-fields-in-word-c429bbb0-8669-48a7-bd24-bab6ba6b06bb#bm9

Workaround (partial): Modify InsertDateTimeDialog to contain only formats which are compatible with MS Word.