Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Creating deep copy using CreateDeepCopy method of an empty Section (without paragraphs or with one empty paragraph) adds empty string Span which leads to ArgumentOutOfRangeException. 

Workaround: clear the empty string Spans before measuring:

foreach (Span span in sectionClone.EnumerateChildrenOfType<Span>().ToList())
{
    if (string.IsNullOrEmpty(span.Text))
    {
        ((Paragraph)span.Parent).Inlines.Remove(span);
    }
}




Steps to reproduce:

1. Execute the following code-snippet:

RadDocument document = new RadDocument();
Section section = new Section();
section.Blocks.Add(new Paragraph());
document.Sections.Add(section);

RadDocument documentClone = (RadDocument)document.CreateDeepCopy();
Section sectionClone = (Section)section.CreateDeepCopy();
documentClone.Sections.Clear();
documentClone.Sections.Add(sectionClone);
documentClone.EnsureDocumentMeasuredAndArranged();

2. Set the documentClone to a RadRichTextBox instance to visualize it.

3. Try to click in the document.

Observe: ArgumentOutOfRangeException is thrown.
Completed
Last Updated: 09 Nov 2015 19:22 by ADMIN
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Inserting DocumentFragment into RadDocument leads to loss of style definitions from the fragment which names are the same as some of the styles in the RadDocument's style repository. This causes loss of formatting of the text in the document fragment.

For example if in the fragment there is a style with style name "Style_1" and in the RadDocument exists a style with the same name, that style will be omitted during the insertion of the fragment into the document.

Workaround: Styles in the fragment could be renamed to avoid naming conflict with styles in the main document. For example, add the following code snippet right after the importing of the document and before the creation of the fragment:

                string styleSuffix = "_1";
                foreach (var importedStyle in rtfDoc.StyleRepository)
                {
                    importedStyle.Name = string.Concat(importedStyle.Name, styleSuffix);
                }

This will automatically change the styles of all elements with the renamed styles.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Loading/editing document with large lists (with 1561 or more items) throws IndexOutOfRangeException when incorrectly tries to convert numbering to letters.

Workaround: Change list type to one which does not include letter NumberingFormat in any of its levels, for example Numbered Hierarchical or custom one.
Declined
Last Updated: 16 Aug 2016 13:22 by ADMIN
ADMIN
Created by: Todor
Comments: 0
Category: RichTextBox
Type: Bug Report
0
Localization strings for thumbs and tab stop tooltips are missing. 

Note: This item is merged with the one at http://feedback.telerik.com/Project/143/Feedback/Details/141977 . To track the status of the issue, please subscribe to the other feedback item.
Completed
Last Updated: 22 Jun 2016 14:36 by ADMIN
When trying to export a document which contains hyperlink pasted from Outlook, KeyNotFoundException is thrown. The color of the span is not registered.

To work around this, register a style with the same color:

StyleDefinition style = new StyleDefinition("test", StyleType.Character);
style.SpanProperties.ForeColor = Color.FromArgb(100, 200, 25, 104);
this.radRichTextBox.Document.StyleRepository.Add(style);
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Pressing Tab/Shift+Tab when caret position is at the beginning of a paragraph should change current paragraph FirstLineIndent instead of LeftIndent.

First line indent should be changed with Document.DefaultTabWidth step.

Workaround (using PreviewEditorKeyDown): in the attached file.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
This scenario is not valid according to the HTML specification, but exception shouldn't be thrown.

Steps to reproduce:
- Try to import the following HTML:

<html>
<body>
<p style="font-size = 9px">Simple Test</p>
</body>
</html>

Observed: A NullReferenceException is thrown.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Provide the ability to enter custom values (not listed in the drop-down) in Font size combo box.
Unplanned
Last Updated: 09 Feb 2021 08:50 by ADMIN
Binding errors from RadRibbonGallery in the TableStylesGallery are outputted in the Output window in Visual Studio, because of binding to the StyleDefinitions and CurrenSelectedStyle properties of the gallery's view model.
Declined
Last Updated: 19 Oct 2015 10:26 by ADMIN
Created by: yi
Comments: 1
Category: RichTextBox
Type: Feature Request
0
For now, We can drag or paste Images into RadRichTextBox. But still can't drag or paste files like RichTextBox in Winform. It's very inconvenient!
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
When classes inheriting RadDocument are exported using XamlFormatProvider, XmlException with message "The prefix 't' cannot be redefined from 'clr-namespace:Telerik.Windows.Documents.Model;assembly=WpfApplication1' to 'clr-namespace:Telerik.Windows.Documents.Model;assembly=Telerik.Windows.Documents' within the same start element tag." is thrown

Similar scenario works with inheriting other elements.

Steps to reproduce:
1. Create an object which inherits the RadDocument
2. Pass the created object as a parameter for the XamlFormatProvider.Export() method
Observe: An XmlException is thrown
Expected: The object to be exported
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
Clicking on floating Image when the caret position is not in the viewport, changes the viewport and starts image dragging. Instead, the image should just be selected.

Steps to reproduce:
1. Start with empty document
2. Insert image, make it floating (right-click on it, select Text Wrapping -> In Front Of Text)
3. Drag the image near the bottom of the document.
4. Scroll and, if needed, zoom to such a factor, so that the first paragraph is outside of the view port.
5. Select the image (keep in mind that the image shouldn't be selected - the position should be at some of the previous paragraphs)
Observe: The image dragging adorner is visible and the viewport is changed.
Expected: The behavior shall be the same as MS Word - the viewport shouldn't be changed, and the image should just be selected
Unplanned
Last Updated: 29 Jan 2024 07:37 by ADMIN
ADMIN
Created by: Mihail
Comments: 2
Category: RichTextBox
Type: Feature Request
11
Profiling results show bottleneck in the line-breaking logic within Paragraph MeasureOverride.
Completed
Last Updated: 31 Oct 2018 07:51 by ADMIN
The caret (cursor) is drawn over letters. This is unpleasant, especially with small font sizes. The issue is even more noticeable when the zoom factor is bigger than 100%.

Available in LIB Version 2018.1.312.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Introduce an option to change the character which follows the list level symbol. By default this is a Tab character, however, they can be the following:
- Tab
- Space
- Nothing (none following character)

In OOXML, this is described using the 'suff' element.
In MS Word, this setting could be changed by selecting the bullet/number of the list item -> Context Menu -> Adjust List Indents -> Follow number with:.
Unplanned
Last Updated: 18 Mar 2019 14:39 by ADMIN
Applying negative LeftIndent or FirstLineIndent of a paragraph in web layout mode will visualize the paragraph to the left of RadRichTextBox boundaries.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
The PreferredWidth property has a strange behavior when set to all columns of a table and one of the rows is with ColumnSpan greater than 1. The width is properly set, but seems to be not respected while measuring the table and its children.


Second Scenario using RichTextBox UI: Create a document containing a table with horizontally merged cells and custom set columns` width and export it to HTML. When importing this HTML document back to the RichTextBox the column width value was not preserved.
Completed
Last Updated: 07 Mar 2016 11:42 by ADMIN