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

[DarkMode]The Form1 title bar change to white color after change the ShowInTaskbar property #12992

Open
MelonWang1 opened this issue Feb 20, 2025 · 1 comment
Assignees
Labels
area-DarkMode Issues relating to Dark Mode feature help wanted Good issue for external contributors untriaged The team needs to look at this issue in the next triage
Milestone

Comments

@MelonWang1
Copy link
Contributor

.NET version

.NET 10.0.100-preview.2.25118.3

Did it work in .NET Framework?

No

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

No, also repro in .NET 9.0 which it started to be supported.

Issue description

The Form1 title bar change to white color after change the ShowInTaskbar property.

Image

Steps to reproduce

  1. Create a winforms .NET Core project with a button control.
  2. Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file.
  3. Double click button control and add below code to button click event.
    this.ShowInTaskbar = true;
  4. Build and run.
  5. Click button control.

More Info:

  1. This issue also repro in FormShowinTaskbar test in WinformsControlTest app.
darkshow.mp4
@MelonWang1 MelonWang1 added area-DarkMode Issues relating to Dark Mode feature untriaged The team needs to look at this issue in the next triage labels Feb 20, 2025
@Tanya-Solyanik Tanya-Solyanik added area-DarkMode Issues relating to Dark Mode feature and removed area-DarkMode Issues relating to Dark Mode feature labels Feb 20, 2025
@KlausLoeffelmann KlausLoeffelmann self-assigned this Feb 21, 2025
@KlausLoeffelmann KlausLoeffelmann added help wanted Good issue for external contributors and removed help wanted Good issue for external contributors labels Feb 21, 2025
@dotnet-policy-service dotnet-policy-service bot added this to the Help wanted milestone Feb 21, 2025
@dotnet dotnet deleted a comment from dotnet-policy-service bot Feb 21, 2025
@Tanya-Solyanik Tanya-Solyanik added the help wanted Good issue for external contributors label Feb 21, 2025
Copy link
Contributor

This issue is now marked as "help wanted", and we’re looking for a community volunteer to work on this issue. If we receive no interest in 180 days, we will close the issue. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-DarkMode Issues relating to Dark Mode feature help wanted Good issue for external contributors untriaged The team needs to look at this issue in the next triage
Projects
None yet
Development

No branches or pull requests

3 participants