Declined
Last Updated: 19 Aug 2014 07:59 by Telerik Admin
Created by: Imported User
Comments: 0
Category: RichTextBox
Type: Bug Report
0
I am constructing a RadDocument in code. The document is protected, but contains several permission ranges where editing is allowed. The sections where editing is allowed contain some custom readonly ranges to further restrict editing. When I assign the RadDocument to the Document property on a RadRichTextBox, I get the exception and stack trace below in the RadDocument.IsInNonEditableRange function. I am using UI for WPF version 2014.1.331.40. The exception and stack trace are:
System.InvalidOperationException: Sequence contains more than one element
   at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
   at Telerik.Windows.Documents.Model.RadDocument.IsInNonEditableRange(Inline inline)
   at Telerik.Windows.Documents.Model.PermissionChecker.CanExecuteRespectingWrappingReadOnlyRanges(RadDocument document, Boolean respectReadOnlyRanges, DocumentSelection selection, DocumentPosition position)
   at Telerik.Windows.Documents.Model.PermissionChecker.CanExecuteRespectingRanges(RadDocument document, CanExecuteBehaviorInProtectedDocument canExecuteBehaviorInProtectedDocument, Boolean respectReadOnlyRanges, Boolean respectNonDeletableRanges, Boolean forDeleteOperation, DocumentSelection selection, DocumentPosition position)
   at Telerik.Windows.Documents.Model.PermissionChecker.CanExecuteRespectingRanges(RadDocument document, CanExecuteBehaviorInProtectedDocument canExecuteBehaviorInProtectedDocument, Boolean respectReadOnlyRanges, Boolean respectNonDeletableRanges, Boolean forDeleteOperation)
   at Telerik.Windows.Documents.RichTextBoxCommands.RichTextBoxCommandBase.CanExecuteRespectingRanges()
   at Telerik.Windows.Documents.RichTextBoxCommands.RichTextBoxCommandBase..ctor(RadRichTextBox editor)
   at Telerik.Windows.Documents.RichTextBoxCommands.SelectionEnabledCommand..ctor(RadRichTextBox editor)
   at Telerik.Windows.Documents.RichTextBoxCommands.CutCommand..ctor(RadRichTextBox editor)
   at Telerik.Windows.Documents.RichTextBoxCommands.RichTextBoxCommands.get_CutCommand()
   at Telerik.Windows.Documents.RichTextBoxCommands.RichTextBoxCommands.InitializeApplicationCommandsMapping()
   at Telerik.Windows.Documents.RichTextBoxCommands.RichTextBoxCommands.get_ApplicationCommandsMapping()
   at Telerik.Windows.Documents.UI.DocumentWebLayoutPresenter.OnOwnerChanged()
   at Telerik.Windows.Documents.UI.DocumentPresenterBase.set_Owner(RadRichTextBox value)
   at Telerik.Windows.Controls.RadRichTextBox.InitActiveEditorPresenter(Boolean clearTextRelatedObjectPools)
   at Telerik.Windows.Controls.RadRichTextBox.OnApplyTemplate()
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Won't Fix
Last Updated: 22 Jan 2016 07:45 by ADMIN
ADMIN
Created by: Petya
Comments: 1
Category: RichTextBox
Type: Bug Report
0
It seems the height of the line is not properly calculated for specific fonts which leads to difference in the way the documents look. 

Document with one full page of text formatted with Arial Unicode MS looks shorter in RadRichTextBox.
Unplanned
Last Updated: 31 Oct 2018 08:07 by ADMIN
Local properties are not exported to HTML when style is applied over document element (paragraphs, spans, tables) in case the HtmlExportSettings.StyleExportMode is set to Inline and HtmlExportSettings.StylesRepositoryExportMode is ExportStylesAsCssClasses (which is the default value).

Workaround: Set HtmlExportSettings.StylesRepositoryExportMode to DontExportStyles. This way properties are exported as local properties.

Steps to reproduce:

- Using the Styles dialog, create new "character" style.
- Apply the style over a span with a text.
- Set some local properties to the span - font size or fore color.
- Set HtmlExportSettings.StylesExportMode = StylesExportMode.Inline
- Set HtmlExportSettings.StyleRepositoryExportMode = StyleRepositoryExportMode.ExportStylesAsCssClasses
- Export to HTML.

Expected: Both style and local properties are exported.
Actual: Only the style will be exported.
Completed
Last Updated: 03 Apr 2015 13:35 by ADMIN
ADMIN
Created by: Aylin
Comments: 1
Category: RichTextBox
Type: Bug Report
1
Custom Paragraph or Linked styles are not applied when used in Headers and Footers.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
RadRichTextBox's behavior is to reject/accept the whole revision where the caret or selection is. Modify the behavior so only the selected region is rejected/accepted and the rest is split into two revisions. Consider multiple selection ranges as well.
Unplanned
Last Updated: 31 Oct 2018 07:53 by Mi
ADMIN
Created by: Petya
Comments: 1
Category: RichTextBox
Type: Feature Request
4
Provide functionality allowing a document to be thumbnailed. The customers should be able to export a document to an image.
Completed
Last Updated: 15 Feb 2019 12:05 by ADMIN
Currently, caret continues to blink even when typing or navigation is in progress (e.g. arrow key is pressed and held), which is inconvenient for the end users. Instead, the caret should stop blinking during these operations, similarly to industry standard apps like MS Word and OpenOffice.
Completed
Last Updated: 13 Feb 2015 10:26 by ADMIN
The fix will be available in our official release Q1 2015.
Completed
Last Updated: 12 Feb 2015 13:13 by ADMIN
The fix will be available in the next official release Q1 2015. 
Unplanned
Last Updated: 31 Oct 2018 07:51 by ADMIN
When specifying an image is wrapped Top and bottom and has a large distance from text (e.g. 500px top and 500px bottom) an exception in the arrange occurs.

Steps to reproduce:
- Select image and change its Wrapping style to Top and bottom. 
- Set values 500px for distance values
Declined
Last Updated: 26 May 2017 07:05 by ADMIN
Unplanned
Last Updated: 31 Oct 2018 07:51 by ADMIN
When applying a bullet/numbered list and track changes are enabled, the change of the bullet/number should be in indicated with the track changes color.

Currently the changes is only visualized as a line left of the paragraph.
Completed
Last Updated: 08 Jan 2015 09:04 by ADMIN
Completed
Last Updated: 19 Jun 2015 10:01 by Maciej
ADMIN
Created by: Kammen
Comments: 5
Category: RichTextBox
Type: Bug Report
1
Tap and Hold gesture does not work as expected.

The feature will be available in our official release 2015 Q2 .
Unplanned
Last Updated: 31 Oct 2018 07:53 by ADMIN
ADMIN
Created by: Petya
Comments: 0
Category: RichTextBox
Type: Feature Request
7
Add support for character spacing. Implement UI in the FontPropertiesDialog allowing to adjust the spacing between characters

The property in controlled by w:spacing element in OOXML specification.
Unplanned
Last Updated: 31 Oct 2018 07:53 by ADMIN
 Add API for switching the flow direction of RadRichTextBox dialogs and mini tool bars. 

Currently this could be changed manually using the FlowDirection property, for example:

(this.radRichTextBox.ImageEditorDialog as ImageEditorDialog).FlowDirection = FlowDirection.RightToLeft;

but the result could be unexpected for Right-to-left.
Unplanned
Last Updated: 31 Oct 2018 07:53 by ADMIN
Include the calculation of table borders into table layout. The result should be that the borders do not affect the height and width of the row/cell.
Completed
Last Updated: 31 May 2016 10:36 by ADMIN
As a result, table is visualized in RadRichTextBox with extremely large column widths.
Unplanned
Last Updated: 31 Oct 2018 08:07 by ADMIN
ADMIN
Created by: Petya
Comments: 0
Category: RichTextBox
Type: Feature Request
0
When document model is used in multi-threaded scenario, all image sources need to be frozen. Expose a method that does that out of the box.

Workaround: Solution with the public API available is in the attached freezeImagesInRadDocument.zip. 
Unplanned
Last Updated: 31 Oct 2018 07:53 by Bernd
The scenario is very common, as in MS Word the option Table -> Layout -> Cell Size -> AutoFit ->  "AutoFit Contents" changes the PreferredWidth of the table and its columns to Auto.
Also the tables imported from HTML have these properties set by default.

Scenarios:
- Auto-sized table occupies minimal space.
- All auto-sized columns in a table (table itself could be, or could be not, auto-sized) should always be sized proportionally to their content length. Currently, such columns are sized equally in the case when there is enough space for all of the content, which is unexpected. (also see the attached images for the scenario with fixed-width table + auto-sized columns).