[haiku-bugs] Re: [Haiku] #3042: [ShowImage] wheel scrolling flickers image path string

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Fri, 19 Nov 2010 08:02:10 -0000

#3042: [ShowImage] wheel scrolling flickers image path string
-------------------------------------+------------------------------
  Reporter:  diver                   |        Owner:  nobody
      Type:  bug                     |       Status:  assigned
  Priority:  normal                  |    Milestone:  R1
 Component:  Applications/ShowImage  |      Version:  R1/Development
Resolution:                          |     Keywords:
Blocked By:                          |  Has a Patch:  0
  Platform:  All                     |     Blocking:
-------------------------------------+------------------------------

Comment (by stippi):

 The most simple solution is to invalidate the whole view before scrolling.
 Since recently the app_server does not scroll dirty regions anymore, to
 make it possible to work around exactly this problem. You could check if
 the caption is displayed and invalidate before scrolling only then.
 Because of the double buffering, the overhead is not actually more by
 triggering a draw, since the app_server scrolls in the offscreen buffer
 and blits to the front buffer, which is not much different from drawing
 the bitmap in the offscreen buffer and blitting the same region to the
 front buffer.

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

Other related posts: