[haiku-bugs] Re: [Haiku] #12485: [WebPositive] borders are missing at dev.haiku-os.org

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sun, 16 Oct 2016 14:40:48 -0000

#12485: [WebPositive] borders are missing at dev.haiku-os.org
----------------------------------+----------------------------
   Reporter:  diver               |      Owner:  jua
       Type:  bug                 |     Status:  assigned
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------
Changes (by pulkomandy):

 * owner:  pulkomandy => jua
 * status:  new => assigned
 * component:  Applications/WebPositive => Kits/Interface Kit


Comment:

 This is a bug in BControlLook.

 The code for drawing BMenuField uses ConstrainClippingRegion, which does
 not work in WebKit because it does not follow view transforms. This code
 should be updated to use the new transform-aware clipping
 (ClipToRect/ClipToShape/ClipToPicture?).

 Reassigning to Jua, but I can have a look if I can remember how these
 things are supposed to work.

 I confirmed that drawing a simpler menu (with just a FillRect using
 B_PANEL_BACKGROUND_COLOR) works fine, and that the problem is indeed in
 BControlLook.

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

Other related posts: