[wx-dev] wxMSW: Toolbar blobs

Robin Dunn robin at alldunn.com
Thu Nov 1 15:27:00 PDT 2007


Robin Dunn wrote:
> Vadim Zeitlin wrote:
>> On Wed, 31 Oct 2007 18:10:58 -0700 Robin Dunn <robin at alldunn.com> wrote:
>>
>> RD> Hmm...  I believe that it is the same wx binaries in play in both 
>> cases, RD> and I doubt she is using an 8-bit display, but I'll check.
>>
>>  If it's not this, I really don't know. Notice that a system option 
>> can be
>> set from outside the program (with an environment variable) but, again, I
>> guess she'd probably know if she did anything like this...
> 
> Ah, it looks like OSAF has made some customizations related to the 
> msw.remap setting sometime in the past.  I'll need to do a little 
> digging to figure out what and why, and also why it does the right thing 
> on my machine...
> 
> 

Just a followup and FYI:  I'm going to be reverting the OSAF 
customizations in the MSW wxToolBar related to msw.remap, but even with 
that change we're still getting the blobs when in a 16-bit display mode. 
  I tried all the various msw.remap settings and they either all look 
like the first screen-shot in my original message, or for msw.remap=2 
they look worse because the non-opaque alpha pixels in all the images 
are draw black.

It's only in 32-bit display modes that the good-looking version of the 
disabled icons is used, as shown in my 2nd screen-shot in the original 
message.  In addition, if I use msw.remap=2 in a 32-bit display mode 
then there is a better rendering done, as shown here: 
https://bugzilla.osafoundation.org/attachment.cgi?id=4665

I didn't test any 8-bit display modes because none of my Windows 
machines can actually be set to such a mode.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-dev mailing list