Approved
Last Updated: 13 Dec 2019 13:24 by ADMIN
RichTextBox: wrong content when pasting RTF with an encoding other than utf-8.
Completed
Last Updated: 11 Dec 2019 13:35 by ADMIN
Release LIB 2019.3.1216 (12/16/2019)
When trying to import a document containing bookmark and BookmarkRangeEnd is after the last paragraph, a StackOverflowException is thrown in IntervalNode while trying to rebuild the document cache. (RadDocumentChildrenCache.RebuildTree()).

The same could be observed if the bookmark end is last in the header/footer, between table cells in the RadDocument body, or when all paragraphs after the bookmark range end are hidden (with vanish property).

Workaround: Detect the problematic annotations and remove them:
foreach (var rangeStart in document.EnumerateChildrenOfType<AnnotationRangeStart>())
{
    if (rangeStart.End == null || rangeStart.End.Parent == null || rangeStart.End.Parent.Parent == null)
    {
        //MessageBox.Show("This indicates a problem.");
        rangeStart.Parent.Children.Remove(rangeStart);
    }
}

Note: Until 2017 R2 SP1 release StackOverflowException is thrown, after this release an ArgumentException should be thrown.
Completed
Last Updated: 03 Dec 2019 11:57 by ADMIN
Release 2019.3.1209 (12/09/2019)
There is a NullReferenceException thrown while trying to compare positions for restoring them after pasting the document. The exception is handled but after it is thrown, the layout stops updating.

Workaround: Ensure the document is not empty before pasting content inside:
private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand && this.radRichTextBox.Document.IsEmpty)
    {
        this.radRichTextBox.Insert(" ");
    }
}

Approved
Last Updated: 03 Dec 2019 11:44 by ADMIN

To reproduce: 

protected override void OnClosing(CancelEventArgs e)
{
    this.radRichTextBox.Document = null;
    base.OnClosing(e);
}

Approved
Last Updated: 27 Nov 2019 09:43 by ADMIN

Use the attached project to reproduce. 

- Click the "Go To endPosition" button. The Caret remains on the same line.

Approved
Last Updated: 25 Nov 2019 11:40 by ADMIN
The font family of the fields is changed to Times New Roman while importing RTF documents. The issue is a regression caused in 2019 R3 (LIB 2019.2.610)
Declined
Last Updated: 22 Nov 2019 12:25 by ADMIN

StackOverflowException is sometimes thrown while a document containing annotations is updated in the main thread (e.g. by typing in it), and spell checking is enabled. The exception is thrown in a background thread, which call stack similar to this one: 2f89dfe8 00566287 Telerik.Windows.Documents.Cache.IntervalTree.IntervalNode`2[[System.__Canon, mscorlib],[Telerik.Windows.Documents.Cache.IntervalTree.HierarchicalIndexStruct, Telerik.Windows.Documents]]..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>) 2f89e084 00566287 Telerik.Windows.Documents.Cache.IntervalTree.IntervalNode`2[[System.__Canon, mscorlib], ... 2f89e4dc 00565cd8 Telerik.Windows.Documents.Cache.RadDocumentChildrenCache.RebuildTree() 2f89e52c 005658c1 Telerik.Windows.Documents.Cache.RadDocumentChildrenCache.Rebuild() 2f89e538 1413b704 Telerik.Windows.Documents.Cache.RadChildrenCacheBase`1[[System.__Canon, mscorlib]].EnsureValid() 2f89e568 00568c72 Telerik.Windows.Documents.Cache.RadDocumentChildrenCache.ContainsAnnotationMarkersOfType[[System.__Canon, mscorlib]]() 2f89e5c0 00568b29 Telerik.Windows.Documents.Cache.RadDocumentChildrenCache.GetContainingAnnotationRanges[[System.__Canon, mscorlib]](Telerik.Windows.Documents.Model.Inline, Boolean) 2f89e618 0056896f Telerik.Windows.Documents.Model.RadDocument.GetContainingAnnotationRanges[[System.__Canon, mscorlib]](Telerik.Windows.Documents.Model.Inline, System.Predicate`1<System.__Canon>, Boolean) 2f89e654 1b6b76d3 Telerik.Windows.Documents.Proofing.DocumentProofingManager.IsPositionInIgnoredRange(Telerik.Windows.Documents.DocumentPosition) 2f89e664 1b6b72e7 Telerik.Windows.Documents.Proofing.DocumentProofingManager+<SplitRangeToUpdate>d__2.MoveNext() 2f89e690 1b6b7019 Telerik.Windows.Documents.Proofing.DocumentProofingManager.UpdateIncorrectWordsList(Telerik.Windows.Documents.DocumentPosition, Telerik.Windows.Documents.DocumentPosition) 2f89e6c0 1b6b6ef2 Telerik.Windows.Documents.UI.Layers.TextDecorationLayers.ProofingErrorsDecorationUILayer+<>c__DisplayClass9.<MarkBoxesWithSpellingErrorsAsynch>b__5() 2f89e6d0 1b612094 Telerik.Windows.Documents.Utils.DelayedExecution.ExecuteAction(Boolean) 2f89e6e4 1b6b6e34 Telerik.Windows.Documents.Utils.DelayedExecution.OnThreadingTimer(System.Object) 2f89e704 65fa5b38 System.Threading.TimerQueueTimer.CallCallbackInContext(System.Object) 2f89e708 65fc4157 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 2f89e774 65fc4096 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 2f89e788 65fa5a81 System.Threading.TimerQueueTimer.CallCallback() 2f89e7bc 65fa593c System.Threading.TimerQueueTimer.Fire() 2f89e7fc 65fa5861 System.Threading.TimerQueue.FireNextTimers() 2f89e83c 65fa5724 System.Threading.TimerQueue.AppDomainTimerCallback() 2f89ea68 66d73de2 [DebuggerU2MCatchHandlerFrame: 2f89ea68] Note: Until 2017 R2 SP1 release StackOverflowException is thrown, after this release an ArgumentException should be thrown.

Declined: Not reproducible anymore.

Approved
Last Updated: 21 Nov 2019 05:56 by ADMIN

To reproduce:

  • Create two lists one after another
  • Select the second by using the keyboard 
  • Press delete and then Ctrl+z (undo)

This works fine when the list is selected with the mouse. 

Approved
Last Updated: 20 Nov 2019 11:29 by ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Feature Request
0
This element specifies the presence of a symbol character at the current location in the run’s content. It is similar to the sym element and is used to add emojis to the document content. The symEx element is not defined in the Office Open XML specification but it is part of the extensions of MS Word to the Office Open XML.
Completed
Last Updated: 19 Nov 2019 11:05 by ADMIN
Release R1 2019
Quickly adding/removing of tab stop from the document's ruler crashes the application.
Approved
Last Updated: 19 Nov 2019 09:05 by ADMIN
1. Open RadRichTextBox
2. Click to Home tab -> Paragraph group-> Multilevel list button
4. Click to "Define New List Style"
5. In "Apply formatting to" select 4th level. Don't select '1','2','3' beforehand, select '4' right after '1'st level.

Observed result: All text except the 4th level is bold.

Expected result: Only 4th level text is bold.
Approved
Last Updated: 18 Nov 2019 06:36 by ADMIN
It should be located on a new line. Instead, it is located on the same line where the text is.
Completed
Last Updated: 04 Nov 2019 09:37 by ADMIN
Release LIB 2019.3.1104 (11/04/2019)
HtmlFormatProvider cannot import a document that contains an image with invalid URI format. An UriFormatException is thrown and the whole import fails. Similar errors should be handled and the document should be imported.
Approved
Last Updated: 30 Oct 2019 09:25 by ADMIN
While importing definition of a font similar to font:400 15px 'arial'; where the font-weight is defined as a number, this number is parsed as value for font size instead of mapping it to font-weight.
Approved
Last Updated: 28 Oct 2019 08:03 by ADMIN
Some fonts doesn't include bold and italic font styles. Currently text formatted with such fonts and with applied bold or italic formatting is exported without the italic or bold effect. Instead, the default typeface can be exported, and additional transformation could be applied to the letters itself - e.g. skew transform for the italic.
Approved
Last Updated: 23 Oct 2019 07:53 by ADMIN
HTML export of RadRichTextBox to perform font-size export in different units.

If you export a document using the HtmlFormatProvider, all style properties which contain measurement units are exported in pixel units. This makes the exported documents look much smaller when opened on devices with higher pixel density.

WORKAROUND: use Regex to find, convert and replace the font-size attributes

            HtmlFormatProvider html = new HtmlFormatProvider();
            string res = html.Export(document);
            Regex regex = new Regex(@"font-size: [0-9]*\.?[0-9]*px");
            Match match = null;

            do
            {
                match = regex.Match(res);
                if (!match.Success)
                {
                    break;
                }

                string value = match.Value.Substring("font-size: ".Length, match.Value.Length - "font-size: ".Length - "px".Length);
                double pts = double.Parse(value) * 72 / 96;
                res = res.Replace(match.Value, @"font-size: " + Math.Round(pts, 4) + "pt");
            } while (match.Success);

            File.WriteAllText("output.html", res);
Approved
Last Updated: 22 Oct 2019 15:30 by ADMIN
Missing bookmark annotation after cut command or move selected text which includes bookmark annotation
Completed
Last Updated: 21 Oct 2019 12:01 by ADMIN
Created by: Stefan
Comments: 0
Category: RichTextBox
Type: Bug Report
0

System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:(no path); DataItem=null; target element is 'SolidColorBrush' (HashCode=63604780); target property is 'Color' (type 'Color')

Won't Fix
Last Updated: 15 Oct 2019 11:36 by ADMIN
When an application is built with .net version 4.7, the paragraph dialog is clipped in the bottom.
Declined
Last Updated: 14 Oct 2019 09:58 by ADMIN

Hi support,

We have a problem when we copy a text from MS word to RitchTextBox.
If the text copied uses an style that the namecontains tilde, then style name on the ritchtextbox is broken with strange characters.
All works well with this strange characters, but if you export to html and then import to ritchtextbox, the style is lost ...

This is a big problem because in spanish, many styles have tildes. When our user copy content from word they have problem with html format export / import.


I Attach a MS Word docx with a style with tildes:

Steps to reproduce it:

1- Open MS Word attached.
2- Copy the content.
3- Open a ritchTextBox Editor
4- Paste the content.
5- Export to html
6- Import the html.

You can see now, that the style are lost, and the name of the style contains strange characters.

Similar issue its happen when open a Word Docx with styles with tildes from ritchTextBox, not include strange characters but the style is lost.

 

Thanks for you support,

1 2 3 4 5 6