Open
Description
- .NET Version: 4.5.1
- Windows version: 10
- Does the bug reproduce also in WPF for .NET Framework 4.8?: Don't know
Problem description:
See title. Visual defect is that characters look different than they should - some are gray (like highlighted), some are not - see attached picture.
Expected behavior:
There are no strange visual effects and all characters look the same.
Minimal repro:
Setup: I have RichTextBox with IsInactiveSelectionHighlightEnabled = true. Inside is a longer text that needs scrollbar.
- Select all text.
- Click outside text box to lose focus.
- Text is still highlighted as expected with light gray.
- When scrolling text box there is strange visual defect, some characters are light gray as they should be, but some characters are not and are black.
StackOverflow links with similar problem:
StackOverflow1
StackOverflow2