Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[minor bug] wrong default selection color in RichTextBox #2689

Closed
theuserbl opened this issue Jan 11, 2020 · 2 comments
Closed

[minor bug] wrong default selection color in RichTextBox #2689

theuserbl opened this issue Jan 11, 2020 · 2 comments

Comments

@theuserbl
Copy link

@theuserbl theuserbl commented Jan 11, 2020

WinFormsz

On the left side is with .net Framework v4.0.30319 on Win8.1 and on the right side is .net Core 3.1.

And so, on the .net Framework selected text is in a ListBox and the RichTextBox white with blue background. But on .net Core 3.1 the selected RichTextBox text ist black.

The program was created with the designer of Visual Studio 2017.

Because in my last bug-report at #2685 weltkante said, that the default font changed from .net Framework to .net Core, I have set the font to the same, like in his posted link.

@theuserbl theuserbl changed the title [minor bug] wrong selectiong color in RichTextBox [minor bug] wrong default selection color in RichTextBox Jan 11, 2020
@Zheng-Li01

This comment has been minimized.

Copy link
Member

@Zheng-Li01 Zheng-Li01 commented Jan 13, 2020

@theuserbl, the .NET Core 3.1 behavior maybe keep up with the latest .NET Framework version. The default section color in RichTextBox is white with blue background when the .NET Framework version <= 4.6.2; and the default section text's color in RichTextBox is black when the .NET Framework version >= 4.7. See below screenshot.
Update

@merriemcgaw, @Tanya-Solyanik, is it expected that the default section color is different with the different .NET Framework version for the RichTextBox.

@RussKie

This comment has been minimized.

Copy link
Member

@RussKie RussKie commented Jan 13, 2020

@M-Lipin @vladimir-krestov does it have anything to do with a11y requirements?

@theuserbl theuserbl closed this Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.