You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DarkMode]The Form1 title bar change to white color after change the ShowInTaskbar property #12992
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.
My assumption is, that all of those property causes a handle recreation, and I guess that then the dark-mode request does not get send off.
My guess is to have handle recreation deferred to a separate specific method that is then used everywhere a handle recreation is needed that then honors the mode request as well so then it would fix this issue.
Tested in the latest .NET 11 RC1 build: 11.0.100-rc.1.26413.103 + built private dls from the main branch of WinForms repo, it was fixed. In Dark Mode, the Form's title bar is black after changed the ShowInTaskbar property.
Activity
dotnet-policy-service commentedon Feb 21, 2025
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!
KlausLoeffelmann commentedon Feb 25, 2025
My assumption is, that all of those property causes a handle recreation, and I guess that then the dark-mode request does not get send off.
AraHaan commentedon May 2, 2025
My guess is to have handle recreation deferred to a separate specific method that is then used everywhere a handle recreation is needed that then honors the mode request as well so then it would fix this issue.
Syareel-Sukeri commentedon Jun 13, 2025
Still repro in the latest .NET 10 SDK build: 10.0.100-preview.6.25311.107, so reopen the issue.
12992.mp4
Amy-Li03 commentedon Aug 20, 2026
Tested in the latest .NET 11 RC1 build: 11.0.100-rc.1.26413.103 + built private dls from the main branch of WinForms repo, it was fixed. In Dark Mode, the Form's title bar is black after changed the ShowInTaskbar property.
Zheng-Li01 commentedon Aug 27, 2026
Tested in .NET 11 RC1 test pass build: 11.0.100-rc.1.26425.128, it has the same validation result as above.