https://bugs.winehq.org/show_bug.cgi?id=57521
Bug ID: 57521 Summary: Some control text colors are always black when theming is enabled Product: Wine Version: 10.0-rc1 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: stefan@codeweavers.com Distribution: ---
Created attachment 77564 --> https://bugs.winehq.org/attachment.cgi?id=77564 Red/Green text with theming enabled
I recently tried to adapt light.msstyles into a dark style theme. Among the issues I ran into is that when theming is enabled, some controls always have black text regardless of what's set in the registry. As far as I can see this applies to Buttons, Static controls, tabulars, but possibly others too.
The issue isn't obvious with light.msstyles because it sets the colors in question to black anyhow.
I'm attaching two screenshots that try to illustrate the issue - In both cases I have set "window text" to green and "control text" (aka "ButtonText" in the registry) to red. You can see that it is followed differently when theming is on vs off.
I don't think the particular colors are taken out of the png resources in the .msstyles DLL since they affect text.