Skip to content

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

Closed

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

Activity

  1. added
    untriaged
    area-DarkMode
    on Jan 13, 2026
  2. added a commit that references this issue on Jan 16, 2026
    e0c1c1f
  3. LeafShi1 commented on Jan 28, 2026

    @LeafShi1
    Member

    This issue caused by this PR #13721

  4. added a commit that references this issue on Sep 4, 2026
    0e26835
  5. removed
    untriaged
    on Sep 4, 2026
  6. Olina-Zhang commented on Sep 4, 2026

    @Olina-Zhang
    Member

    Verified in the .NET 11 RC2 build: 11.0.100-rc.2.26453.107 + private dlls built from main branch of Winforms repo, it was fixed:

    Image
  7. added this to the 12.0-preview1 milestone on Sep 4, 2026
  8. locked and limited conversation to collaborators on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-DarkMode

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions