Declined
Last Updated: 17 Aug 2017 15:27 by ADMIN
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
For example, if the document has "Times New Roman" as a default font family, the "TableNormal" style doesn't have set that property and there is a Table element in the header - the value is not properly obtained ("Verdana" is applied, which is the default value for that Span property).
The problem is observed for all default span style properties.

Workaround: Change the table style by setting the necessary properties from the default style. For example for the font family:

object documentFontFamilyPropertyValue = this.radRichTextBox.Document.Style.GetPropertyValue(Span.FontFamilyProperty);
foreach (StyleDefinition tableStyle in this.radRichTextBox.Document.StyleRepository.Where(s => s.Type == StyleType.Table && s.BasedOn == null))
{
    StylePropertyBase styleProperty = tableStyle.GetProperty(Span.FontFamilyProperty);
    if (styleProperty.ValueSource == RadValueSource.Default)
    {
        tableStyle.SetPropertyValue(Span.FontFamilyProperty, documentFontFamilyPropertyValue);
    }
}
Unplanned
Last Updated: 31 Oct 2018 08:13 by ADMIN
ADMIN
Created by: Boby
Comments: 0
Category: RichTextBox
Type: Feature Request
0
In MS Word, images can have strikethrough formatting. In RadDocument's model, this is property of Spans only.
Completed
Last Updated: 14 Feb 2020 15:07 by ADMIN
Release R1 2020 SP1
When copy a modified Heading from Word document and paste it into a RichTextBox the modified styles are not correctly imported.
Unplanned
Last Updated: 13 Jan 2020 09:37 by ADMIN

To reproduce:

- Add a multilevel list to a document and export it to HTML

- Import the document again the list is changed and the values are not correct.

Unplanned
Last Updated: 04 Feb 2020 18:36 by ADMIN

The document styles are not respected because of wrongly imported custom style name after copy-paste from MS Word and exported to HTML.

Workaround: avoid using styles with braces in their name.

Completed
Last Updated: 18 May 2023 12:12 by ADMIN
Release R2 2023
When trying to export a document containing InlineUIContainer inside a read-only range, the XamlWriter.Save() method that is used in XamlFormatProvider.Serialize() throws StackOverflow exception.

Sample code to reproduce the exception:
InlineUIContainer container = new InlineUIContainer();
Button btn = new Button();
btn.Content = "Sample Button";
btn.Width = 70;
btn.Height = 30;
container.UiElement = btn;

ReadOnlyRangeStart start = new ReadOnlyRangeStart();
ReadOnlyRangeEnd end = new ReadOnlyRangeEnd();
end.PairWithStart(start);
this.rtb.InsertInline(container);
this.rtb.Document.Selection.SelectAll();
this.rtb.InsertAnnotationRange(start, end);

XamlFormatProvider provider = new XamlFormatProvider();

string content = provider.Export(this.rtb.Document);
File.WriteAllText(@"c:\temp\asd.xaml", content);
Unplanned
Last Updated: 31 Oct 2018 08:13 by ADMIN
As a user, I'd like to have a way to determine what document elements or layout boxes are in the view port. I may need them in order to:

- Modify something else in the UI depending on them. For example, if a hyperlink or bookmark is scrolled in the viewport, enable buttons outside RichTextBox that execute specific actions.
- Implement formatting changes to the visible elements only in scenarios like a code editor.

Right now, the only way to obtain the visible boxes is to implement a UI layer, however, layers are intended for scenarios in which you'd like to modify the presentation of the control's content and may not be a good idea to utilize them for formatting changes or other actions.
Unplanned
Last Updated: 25 Dec 2019 13:53 by ADMIN
Importing padding CSS style property with shorthand value produces an incorrect result. 
Example: 
Importing padding: 5px; style is imported as padding-top: 5px, padding-right: 0px, padding-bottom: 0px, padding-left: 0px

Padding syntax can be seen in the specification.

Workaround: Apply padding values for all four sides.
Completed
Last Updated: 27 Jun 2016 08:56 by ADMIN
When RadRichTextBox (in Paged layout mode) is in RadTabItem in RadTabControl, ribbon UI buttons and keyboard bindings are not working.

Workaround: Use System's TabControl instead of the RadTabControl.
Declined
Last Updated: 14 Apr 2016 11:00 by ADMIN
Created by: Thomas
Comments: 2
Category: RichTextBox
Type: Bug Report
0
I have tried to use the RichTextBox, but found that it does not work very well when it comes to measure the text. This results in clipped text and that the caret can be displayed in a different place then expected.
This can easily be seen with a font like Gabriola, which uses complex kerning metrics. Type a text with a lot of "ff" and "fi" and you will soon see that your caret gets out of sync and that text is sometimes clipped.
When I look at the code of RichTextBox it seems to me that it uses its own calculation of text widths and that the this is based on a very simple method using just the kerning information. There is also a hard coded list containing information which fonts that has kerning info and which fonts that are mono spaced. It seems strange to me to have this in a config file since there is a large number of fonts used by the users.
It also seem to look at the Unicode character family in order to determine if ligatures are used or not, which is also quite strange since ligatures can be used for western characters too. The font Gabriola is an example of this. Look at "fi" in a word like "fine".
It can potentially consume a lot of memory since I think that it builds a dictionary of the kerning of all pairs of characters for all fonts that it encounters.
I guess this way of doing things were made for performance, but unfortunately, good performance doesn't help much if it doesn't work.
I am not sure if I should report this as a bug, since it is more of a fatal design issue of the whole control.
Unplanned
Last Updated: 23 Dec 2019 12:39 by ADMIN

 Incorrect behavior when setting the table cells padding

Steps to reproduce:

- Insert a table

- Open Table Properties

- Clear the value in the "Left" field 

- Check "Same for all sides"

- Click OK

Unplanned
Last Updated: 30 Mar 2023 08:17 by ADMIN
In Microsoft Word, users can modify the OutlineLevel in the Paragraph Properties dialog.
Unplanned
Last Updated: 06 Apr 2023 09:30 by kim
Created by: kim
Comments: 0
Category: RichTextBox
Type: Bug Report
0

Korean language input does not work correctly on Windows 11 versions after 22H2 (OS Build 22621.1265).

This is related to an update to the Microsoft Input Method Editor (IME). The workaround is to enable the "Previous version of Microsoft IME" (check the attached screenshots for the steps).

Unplanned
Last Updated: 12 Apr 2023 06:20 by Patrick
The Green Theme is not loaded when using a custom style for the RadRichTextBox
Unplanned
Last Updated: 17 Apr 2023 13:44 by James

KeyNotFoundException is thrown when loading a document with a custom bibliographic style applied.

As a workaround, you can change the current bibliographic style to one of the predefined styles before the export of the document.

...
this.radRichTextBox.CommandExecuting += RadRichTextBox_CommandExecuting;
...

...
private void RadRichTextBox_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
    if (e.Command is SaveCommand)
    {
        this.radRichTextBox.ChangeBibliographicStyle(new APAFifthEditionStyle());
    }
}

Completed
Last Updated: 13 Mar 2024 09:45 by ADMIN
Release 2024.1.130 (2024 Q1)
Enter key pressed after multiple cells selection on a row removes content from all cells.
Unplanned
Last Updated: 03 May 2023 08:03 by Morten
Formatting is reset to default when entering a new line while Track Changes is on.
Unplanned
Last Updated: 23 May 2017 05:52 by ADMIN
If the font applied to text doesn't contain Bold or Italic typefaces, the text at the end of the line is clipped.

Workaround: Switch to the old rendering mode (which is somewhat slower):
this.radRichTextBox.TextRenderingMode = TextBlockRenderingMode.TextBlockWithPropertyCaching;
Completed
Last Updated: 11 Mar 2024 07:38 by ADMIN
Release 2024.1.228 (Preview)

Spell check does not refresh correctly when there are annotation markers around the current word.