Unplanned
Last Updated: 18 Mar 2025 14:42 by ADMIN
Adam
Created on: 11 Mar 2025 17:22
Category: UI for WPF
Type: Bug Report
2
RadRichTextbox: Underlined spaces extended beyond scope of the control visibility are still visible in a RadDocument

We are using the RadRichTextbox limiting the width size and configured to wrap the text, automatically increasing its height as needed. While this functionality works correctly for most text, it fails in cases where a line ends with spaces. These trailing spaces extend beyond the control's visible boundaries, making them invisible on-screen, yet they remain present in the RadDocument.

To reproduce: Create a RadRichTextbox with limited width and auto adjusted height. Type in underlined text on first line and add a lot of spaces that go behind the visible width. Type in more text to see the visible underlined text go to the next line (while hiding the added underlined spaces of the previous line). Exporting to RadDocument shows the extra underlined spaces that RadRichTextbox does not.

1 comment
ADMIN
Stenly
Posted on: 18 Mar 2025 14:42

Hello Adam,

Thank you for the provided information. I managed to reproduce this behavior in a sample project.

As a result of this, I logged a new bug report in our internal backlog and linked it to this one from our feedback portal. You can vote for it, as well as follow it, in order to get notified via e-mail when its status gets changed.

In addition, as a token of gratitude for bringing this to our attention, I updated your Telerik points.

With this being said, I hope the provided information will be of help to you.

Regards,
Stenly
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!