[Bug 51899] 16-bit Collins Dictionary has black background.

WineHQ Bugzilla wine-bugs at winehq.org
Mon Oct 25 04:18:04 CDT 2021


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

--- Comment #23 from Nikolay Sivov <bunglehead at gmail.com> ---
Regarding selection color, it seems to be about how text color is handled, or
maybe some issue with interpreting color value in dib engine. After
SetTextColor(0xffffffff), color gets reset internally to 0 (black):

get_pixel_color(0xffffffff) -> make_rgb_colorref() -> color & (1 << 24) -> 0.

Masking out high byte at 16-bit SetTextColor, fixes selection for me, but I
don't know what the right solution would look like.

(In reply to clinton from comment #22)
> Created attachment 70891 [details]
> Collins Dictionary
> 
> Here is what it looks like on my 286 with Windows 3.1

This is beautiful, thanks.

-- 
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