[haiku-bugs] Re: [Haiku] #13664: [WebPositive] horizontal scrollbar knob not being drawn

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 17 Aug 2017 05:32:39 -0000

#13664: [WebPositive] horizontal scrollbar knob not being drawn
----------------------------------+----------------------------
   Reporter:  diver               |      Owner:  pulkomandy
       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
----------------------------------+----------------------------

Comment (by pulkomandy):

 I confirm a problem in BControlLook when transforms are used.

 BControlLook uses ConstrainClippingRegion a lot, in particular to draw
 buttons with rounded corners. However, ConstrainClippingRegion does not
 play well with transforms, and other methods should be used instead.

 I'm going to rewirte the code using ClipToShape, which should make it both
 simpler and faster, and also fix the problem.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13664#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: