[haiku-bugs] Re: [Haiku] #6415: BPictureButton does not draw BPicture

  • From: "laplace" <trac@xxxxxxxxxxxx>
  • Date: Tue, 03 Aug 2010 11:29:14 -0000

#6415: BPictureButton does not draw BPicture
-----------------------------+----------------------------------------------
  Reporter:  laplace         |         Owner:  stippi        
      Type:  bug             |        Status:  closed        
  Priority:  normal          |     Milestone:  R1            
 Component:  User Interface  |       Version:  R1/Development
Resolution:  fixed           |      Keywords:                
Blocked By:                  |   Has a Patch:  1             
  Platform:  All             |      Blocking:                
-----------------------------+----------------------------------------------

Comment (by laplace):

 Replying to [comment:6 jackburton]:
 > Replying to [comment:5 laplace]:
 > > This fixes the problem of this ticket.
 > >
 > > However the test "Test Draw Scaled Picture" is again where it was
 before r37833
 >
 > Yes, of course.
 > I'm having a deeper look to see how to fix the problem without causing
 other troubles.

 Oh, I didn't realize that this was intended.

 > > and clipping is wrong printing a text to "Preview" printer.
 >
 > Is this last symptom related to drawing a scaled picture ?

 I don't know.

 My observation is that the patch attached to this ticket does not have the
 clipping problem:
 [[Image(Preview-patch.png)]]


 With r37833 the text seems to be at the right position but the clipping is
 wrong:

 [[Image(Preview-r37833.png)]]

 And the clipping has changed when zoomed in:

 [[Image(PreviewZoomedIn-r37833.png)]]

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6415#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: