[haiku-bugs] Re: [Haiku] #3037: [Interface Kit] resizing some windows leaves artifacts

  • From: "AGMS" <trac@xxxxxxxxxxxx>
  • Date: Thu, 23 Mar 2017 16:29:25 -0000

#3037: [Interface Kit] resizing some windows leaves artifacts
----------------------------------+----------------------------
   Reporter:  diver               |      Owner:  axeld
       Type:  bug                 |     Status:  reopened
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by AGMS):

 BBoxes leave artifacts as they are resized, in my case it was making the
 box wider by dragging the window resize wider with a BBox that follows-
 right (it's also an old style non-layout box).  The trouble seems to be in
 BBox::FrameResized having an off by one error in the invalidation of the
 lines of the box (possibly due to the screwy BeOS coordinate system where
 Width isn't pixel width).  Artifacts are visible for both plain and fancy
 border styles (none with no border).  My temporary fix is to subclass
 FrameResized and do an Invalidate() to redraw the whole view.

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

Other related posts: