[haiku-3rdparty-dev] Re: SetViewColor for BString not working :-(

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Tue, 4 Oct 2016 11:18:00 +0200

Am 01/10/2016 um 17:35 schrieb Dennis Catt:

So I finally updated to the latest of Haiku nightlies and noticed with
one of the apps I developed has a bug where SetViewColor is not working
for a BStringView.  The SetHighColor still works however.  Is this a bug
or is it expected behavior.  I remember when I originally developed the
app on Haiku A4 when SetViewColor didn't work for BStringView then is I
had to use an extra BView in order to set a desired background color for
a BStringView.

It's likely a bug; please file a ticket at https://dev.haiku-os.org/ so that it's not forgotten about.
The color setting has been gotten a bit more complicated in order to be able to deliver live updates for color changes, so a bug might have sneaked in there.
Have you tried with other controls than BStringView if they behave the same for you? If you have sample code to demonstrate the misbehavior please add it to the ticket as well.
Thanks!

Bye,
   Axel.

Other related posts: