https://bugs.winehq.org/show_bug.cgi?id=54571
Bug ID: 54571 Summary: ImageList images hard to see or even invisible depending on COLOR_WINDOWTEXT Product: Wine Version: 8.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: dark@darkok.xyz Distribution: ---
Created attachment 74114 --> https://bugs.winehq.org/attachment.cgi?id=74114 Visibility of images depending on Window Text color.
The lighter the Window Text color gets, the less visible the images in an ImageList get. This really affects people primarily using dark themes such as myself, as then the text color is going to be so light the images will be invisible. I'm not sure if this issue is present in other software, but in this case I am experiencing this with the GSAE (GS Advanced Editor) tool shipped with Roland sound modules.
I am able to see the images properly again if I replace what is currently line 1488 of `comctl32/imagelist.c` (ImageList_DrawIndirect) with `if (FALSE)` instead of `if (himl->hbmMask)` so the else branch always runs (this will likely break other software though, and in my case is just a temporary measure).