#12613: app_server handles overlay hooks incorrectly.
----------------------------------+-----------------------------
Reporter: rudolfc | Owner: axeld
Type: bug | Status: in-progress
Priority: normal | Milestone: Unscheduled
Component: Servers/app_server | Version: R1/Development
Resolution: | Keywords: overlay setmode
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------+-----------------------------
Comment (by rudolfc):
OK will try that, thanks. The problem with the overlay color is two-fold:
first, in Overlay::SetColorSpace(uint32 colorSpace) for CMAP 8 the
previously set color is hard-overwritten with white ($FFFFFF). The other
is that the key chosen (for all intends and purposes black after all) is a
bad one: you have to realize that for 15 and 16 bit spaces the lower bits
are shifted-out, which means the exact color gets lost. App_server should
chose a color which has the lower 3 bits reset at all times _and_ it has
to exist in the CMAP8 indexed color map. Also it has to be a color rarely
used..
Dano uses purple, and I now know why: when I search the CMAP8 options,
this is the one and only color (more or less?) that fits the description I
just did: set R=152, G=0, B=152. That will work OK.
I'll test this momentarily I hope..
Will you update app_Server for this if it works Axel?
--
Ticket URL: <https://dev.haiku-os.org/ticket/12613#comment:14>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.