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
[Dark Mode] the text of the disabled items still is visible after focus on it by using mouse when setting the RenderMode as System #14089
The difference is in the third menuStrip, which is rendered using System render mode.
The text color of disabled items turns bright white when they receive focus (in DarkMode).
The other two render modes don't have this problem. Also, there is no such problem in .NET 9, because disabled items there cannot be focused at all.
Tested in the latest .NET 11 RC2 build: 11.0.100-rc.2.26453.107 + built private dls from the main branch of WinForms repo, it was fixed. When the MenuStrip's RenderMode is set to System, the text of a disabled item does not highlight when the mouse focus is moved to it.
Activity
KlausLoeffelmann commentedon Jan 8, 2026
I...I don't see the difference between the first and the second clip.
What's the issue here?
aelurum commentedon Jan 10, 2026
The difference is in the third menuStrip, which is rendered using
Systemrender mode.The text color of disabled items turns bright white when they receive focus (in DarkMode).
The other two render modes don't have this problem.
Also, there is no such problem in .NET 9, because disabled items there cannot be focused at all.
Amy-Li03 commentedon Sep 4, 2026
Tested in the latest .NET 11 RC2 build: 11.0.100-rc.2.26453.107 + built private dls from the main branch of WinForms repo, it was fixed. When the MenuStrip's RenderMode is set to System, the text of a disabled item does not highlight when the mouse focus is moved to it.