https://bugs.winehq.org/show_bug.cgi?id=37296
Bug ID: 37296 Summary: Winecfg differs when it runs on real Windows Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: carlo.bramix@libero.it
Created attachment 49603 --> https://bugs.winehq.org/attachment.cgi?id=49603 Screenshot of Winecfg on Windows
I'm able to run Winecfg on real Windows and I discovered that there is a graphic glitch in the about dialog. See attached screenshot for details. I was able to fix this problem in about.c, by adding DI_MASK flag in the call of DrawIconEx(), which it is also the correct thing to do in this case. But strangely, this graphic bug does not happen when winecfg runs in WINE (that's why probably nobody noticed the absence of the DI_MASK flag). I would suggest to check and compare a bit the behaviour between Windows and WINE against the functions DrawIconEx() and LoadImageW() since it seems to me that there is a difference from the correct result.
NOTE: When it runs on the real Windows, because the presence of a SysLink inside the resource dialog, Winecfg requires to be linked with commctrl v6, so it needs a manifest file, as explained here:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85%2...
Another thing, but less important, is that the resource compiler refused the icon of the application, saying the icon is made with the old DIB format and, for this reason, it has been discarded; that's why my screenshot shows the app without the icon in the upper left corner. But hopefully, this can be solved easily if someone wants.
https://bugs.winehq.org/show_bug.cgi?id=37296
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Version|unspecified |1.7.26 Ever confirmed|0 |1
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
filling missing field(s).
Regards
https://bugs.winehq.org/show_bug.cgi?id=37296
multitude@internode.on.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |multitude@internode.on.net
--- Comment #2 from multitude@internode.on.net --- Created attachment 50391 --> https://bugs.winehq.org/attachment.cgi?id=50391 winecfg - 'About' tab with a dark theme
A similar type of graphical glitch appears when running Wine with a dark theme.
https://bugs.winehq.org/show_bug.cgi?id=37296
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=23302
https://bugs.winehq.org/show_bug.cgi?id=37296
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, integration, | |source
https://bugs.winehq.org/show_bug.cgi?id=37296
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #3 from super_man@post.com --- dupe bug 23302
https://bugs.winehq.org/show_bug.cgi?id=37296
--- Comment #4 from Carlo Bramini carlo.bramix@libero.it --- (In reply to super_man from comment #3)
dupe bug 23302
In my opinion, it is not. In Bug #23302, the image is drawn correctly, according to the selected background. In this bug, there is a difference how the transparency of the bitmap is handled. It does not happen in WINE, I'm running WINE programs and tools on real Windows.
https://bugs.winehq.org/show_bug.cgi?id=37296
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Windows
https://bugs.winehq.org/show_bug.cgi?id=37296
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=37296
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Is this still an issue? For me it doesn't run on Win7 due to missing "GetDpiForWindow", and it fails on Win10 with error 0xC0000142