[haiku-bugs] Re: [Haiku] #12603: [regression] [Interface Kit] white border around some menus

  • From: "looncraz" <trac@xxxxxxxxxxxx>
  • Date: Sun, 24 Jan 2016 15:50:27 -0000

#12603: [regression] [Interface Kit] white border around some menus
----------------------------------+----------------------------
   Reporter:  diver               |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  blocker             |  Milestone:  R1/beta1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  1                   |   Platform:  All
----------------------------------+----------------------------

Comment (by looncraz):

 Replying to [comment:7 pulkomandy]:

I'm not sure it goes the right way, setting the low color is known to
 cause flickering in some cases because the view is filled with the low
 color on invalidation (and then redrawn over that).

Why wouldn't BMenuField drawing use the ViewColor directly instead?

 The low color matches the parent's view color, so it is used to draw a
 border around the menu when giving it a shape.  Usually the view color and
 the low color are the same.

 This method is used for many interface elements without issue (and it is
 the default BControl behavior).  This is also the method deployed prior to
 the application of the SetViewUIColor patchset.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12603#comment:8>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: