Declined
Last Updated: 29 Feb 2024 07:39 by ADMIN

I have no idea how to reproduce this, but every so often after a paste operation into a RadRichTextBox, the host thread becomes unresponsive to user input. The message pump is still running but the following unhandled exception gets thrown in a tight infinite loop. The only way to close the window is to right click on the taskbar button.

System.NullReferenceException
Message: Object reference not set to an instance of an object.
Call Stack:
    at Telerik.Windows.Documents.Layout.LayoutElement.SetParent(LayoutElement newParent)
    at Telerik.Windows.Documents.Layout.LayoutBox.EnsureParent()
    at Telerik.Windows.Documents.Layout.LayoutBox.get_Parent()
    at Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.get_IsEndOfCell()
    at Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.GetFormattingSymbolVisual()
    at Telerik.Windows.Documents.SpanBoxPositionHandler.get_Location()
    at Telerik.Windows.Documents.UI.DocumentWebLayoutPresenter.GetViewPointFromDocumentPosition(DocumentPosition position)
    at Telerik.Windows.Controls.RichTextBoxUI.PasteOptionsPopup.CalculateLocation()
    at Telerik.Windows.Controls.RichTextBoxUI.PasteOptionsPopup.OnOwnerLayoutUpdated(Object sender, EventArgs e)
    at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
    at System.Windows.ContextLayoutManager.UpdateLayout()
    at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
    at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
    at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
    at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

Declined
Last Updated: 25 Oct 2023 08:58 by ADMIN
The RadDocument.MailMerge() function crashes a service after the mail merge is ran several times
Declined
Last Updated: 10 Mar 2023 11:55 by ADMIN
When text is using fonts with defined ligatures (e.g. Calibri, Gabriola, etc.) and contains character groups with defined ligature for it, the text width is measured incorrectly (shorter that it should be). As caret and selection navigates on positions computed by this measuring system, they are not synchronized with what is shown in the UI (which correctly respects the ligatures), and there is slight offset from the real character positions and/or clipping of part of the letters at the end of the line.

Examples of such groups are (depending on the font) "tt", "ff", "ffi".
Declined
Last Updated: 21 Mar 2022 14:38 by ADMIN
Created by: ①Dr Mostafa
Comments: 2
Category: RichTextBox
Type: Bug Report
0
Memory leak when editing RadRichTextBox that has a header and/or footer containing table that contains FloatingImageBlock and/or ImageInline
Declined
Last Updated: 08 Feb 2022 13:00 by ADMIN

Using the microsoft word,In docx document,inserting a shape,and add the text context to the shape,then save.

when radrichtextbox  open the file,the program crashed.

Declined
Last Updated: 05 May 2020 12:28 by ADMIN
When creating Multiple citations in word (TestSave.docx) and then updating the fields in telerik (TestSave2.docx), it changes the field and removes the additional citations.
Declined
Last Updated: 13 Jan 2020 14:18 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. 

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.

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,

Declined
Last Updated: 13 Sep 2019 15:54 by ADMIN

This can be reproduced with the provided .docx. In Word the image floats in the empty space below the text but the RichTextBox has it inline and overlapping text.

Removing the rectangle from around the image in the source document has no affect.

Declined
Last Updated: 12 Sep 2019 15:58 by ADMIN
Created by: Matt
Comments: 1
Category: RichTextBox
Type: Bug Report
0

When importing from a .docx the RichTextBox is adding a blank line for each continuous section break. You can see this in the attached file - in the RichTextBox there is an extra line between sections that does not exist in the source word document.

Declined
Last Updated: 28 Aug 2019 11:05 by ADMIN
Created by: Yaroslav
Comments: 1
Category: RichTextBox
Type: Bug Report
1

Hi Guys,

Our application works with a document storage and we use RadRichTextBox to allow users edit and view the documents. Unfortunately, many documents cannot be opened due to the following exception we get:

Unable to cast object of type 'Telerik.Windows.Documents.Model.FieldRangeStart' to type 'Telerik.Windows.Documents.Model.AnnotationRangeEnd

As result we receive complains from our users. Could you please facilitate with solving it? 

I have attached a simple test application with the problematic document as well the stacktrace. 

Best regards,

Yaroslav 

Declined
Last Updated: 28 Jun 2019 14:11 by ADMIN

Hi Telerik,

We are converting XAML content into PDF file with below code.

private byte[] Xaml2Pdf(string xamlContent)
{
	try
	{
		XamlFormatProvider xamlFormatProvider = new XamlFormatProvider();
		PdfFormatProvider pdfFormatProvider = new PdfFormatProvider();
		PdfExportSettings exportSettings = new PdfExportSettings();
		exportSettings.ContentsCompressionMode = PdfContentsCompressionMode.Automatic;
		exportSettings.ContentsDeflaterCompressionLevel = 9;
		exportSettings.DocumentInfo = new PdfDocumentInfo() { Producer = "ALIS", Author = "ALIS", Creator = "ALIS" };
		exportSettings.ImagesCompressionMode = PdfImagesCompressionMode.Automatic;
		exportSettings.ImagesDeflaterCompressionLevel = 9;
		pdfFormatProvider.ExportSettings = exportSettings;

		byte[] content = pdfFormatProvider.Export(xamlFormatProvider.Import(xamlContent));

		return content;
	}
	catch
	{
		throw;
	}
}
When we convert attached XAML content with above code it will gives an output pdf file but when we open pdf file into Adobe Reader DC it will display some error message before opening it.

Currently we are using 2016.2.905.45 version.

Previously when we was use 2016.1.302.45 version at that time we didn't notice same issue.

Please assist.

Thank you.
Declined
Last Updated: 20 Jun 2019 08:24 by ADMIN

Adding bookmarks with the same name programmatically always returns the first one in case use attempts to navigate to it using the Bookmarks dialog. 

Workaround: Remove the bookmark before adding a new one with the very same name.

Declined
Last Updated: 14 Jun 2019 18:17 by ADMIN
Html exported from RadRichTextBox will be shown in Outlook with some formatting issues related to lists. The text in a paragraph will be shown with the formatting of its bullet.

The reason is that the content is exported to HTML as a styled list level which Outlook does not understand. The same applies to MS Word as well. This can also lead to formatting issues when the document is later imported in RichTextBox.

You can check the attached screenshot for reference.

Workaround: 
Change the styles to export as inline properties:
htmlProvider.ExportSettings.StylesExportMode = StylesExportMode.Inline;
Declined
Last Updated: 31 Oct 2018 08:11 by ADMIN
The problem occurs in specific situations when a list depends on a style that hasn't been added to the fragment in the clipboard yet.

Workaround: Replace the fragment in the clipboard with one that is already "fixed", as in the attached MainWindow.cs.txt
Declined
Last Updated: 31 Oct 2018 08:11 by ADMIN
When a table with PreferredWidth=Auto and fixed columns width is inserted in another table's cell with the same settings, the inserted table changes the width of the other table. 
Declined
Last Updated: 31 Oct 2018 08:07 by burk
When floating images are placed in a header or footer, and are positioned outside of the text editor's area, they are not visualized. 

MS Word visualizes such images as slightly grayed out (similar to watermarks) in normal mode, and always visualizes them in Header/Footer edit mode.

This item is merged with another one concerning the same issue. Please, follow the item at https://feedback.telerik.com/Project/143/Feedback/Details/174624 .
Declined
Last Updated: 18 Oct 2018 15:13 by ADMIN
When the user enter text using the keyboard the PositionChanged event of the CaretPosition is not fired.
The item's status changed to Declined - the LocationChanged event can be used to track when the location of the position has been changed.
Declined
Last Updated: 25 Sep 2018 12:15 by ADMIN
Created by: Huan jia
Comments: 1
Category: RichTextBox
Type: Bug Report
0
Open a docx file in richtextbox, if numpages in headers do any subtraction, it can not display correctly. see the attached pictures for how to display in richtextbox and microsoft word 2016.
1 2