[Bug 52301] Firefox installer shows black rectangles

WineHQ Bugzilla wine-bugs at winehq.org
Tue Jan 4 17:08:03 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52301

Bernhard Übelacker <bernhardu at mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernhardu at mailbox.org

--- Comment #4 from Bernhard Übelacker <bernhardu at mailbox.org> ---
The HBITMAP returned by LoadImage is set via SendMessage(STM_SETIMAGE).

But a moment later the same bitmap file is opened via OleLoadPicturePath
followed by some image manipulation functions, and also set via
SendMessage(STM_SETIMAGE).

Just as a test, if OleLoadPicturePath is modified to return failure
the installer shows a picture.

I think the magic happens in this NSIS script:
https://github.com/mozilla/gecko-dev/blob/dfc0dea63a16b73078a46b6ae49b2a626b8c11b5/toolkit/mozapps/installer/windows/nsis/common.nsh#L8085

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list