This is a migrated thread and some comments may be shown as answers.

Text selection fails

1 Answer 83 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Fabrizio
Top achievements
Rank 1
Fabrizio asked on 16 Jan 2017, 02:03 PM

Hi guys!
I found a problem regarding text size change and following text selection.

These are the minimal steps to replicate the bug:
* Start WPF demo and select RichTextBox demo
* Select first paragraph under "Overview": from "RadRichTextBox is a control" to "bookmarks and comments."
* From the upper toolbar, change font size to 20
* Scroll down to the second paragraph ("The control can preview... tweaking of images."), you will be only able to select words from the first and fourth line but NOT from the second or the third.

The problem disappears immediately after using another format command or if you change the paragraph text. It seems to me that font size change doesn't invoke a document measure/rearrange.

Thanks for your assistance.
Fabrizio Piazza

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 17 Jan 2017, 12:19 PM
Hi Fabrizio,

Seems like you are hitting a known issue, which is already fixed. If you would like, you can download the Latest Internal Build available in your account and test the fix, which will be included in the next official version of the control as well.

Regards,
Tanya
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
RichTextBox
Asked by
Fabrizio
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or