Skip to content

[Dark Mode] The RichTextBox not display multiline text well when setting the Enable as False #14203

@Zheng-Li01

Description

@Zheng-Li01

.NET version

11.0.0-alpha.1.26062.101

Did it work in .NET Framework?

Not tested/verified

Did it work in any of the earlier releases of .NET Core or .NET 5+?

The issue can reproduce on .NET 10.0, and in .NET 9.0, the text is invisible.

Issue description

The RichTextBox not display multiline text well when setting the Enable as False in DarkMode
Image

NewDarkModeIssue.mp4

Steps to reproduce

  1. Create a .NET Winforms project with a RichTextBox control
  2. Add multiline text for the richTextBox1
  3. Set the Enable as false for the richTextBox1
  4. Set app under Dark mode in program.cs file
    Application.SetColorMode(SystemColorMode.Dark);
  5. Build & run the application
  6. Observe multiline text for the richTextBox1

Metadata

Metadata

Assignees

Labels

area-DarkModeIssues relating to Dark Mode featureuntriagedThe team needs to look at this issue in the next triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions