https://bugs.winehq.org/show_bug.cgi?id=38688
Bug ID: 38688 Summary: Icon overlays not drawn in some cases Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: Christoph@ApiViewer.de Distribution: ---
ImageList_DrawIndirect does not draw overlay icons in three cases where the function is taking a shortcut with "goto end;".
This was tested with ReactOS\base\applications\mscutils\devmgmt_new on ReactOS which is using comctl32 from wine.
Test results:
in 32bit color no overlay icons are not shown at all.
if (!bMask && (has_alpha || (fState & ILS_ALPHA))) ... if (bIsTransparent) bResult = alpha_blend_image ... goto end;
in 16bit Color mode the overlay icons are drawn, but only the part on which the underlying icon is not transparent (wrong ROP code?)
I don't think this application will work on wine because it relies on setupapi code which wine will probably does not have.