[haiku-bugs] Re: [Haiku] #4335: [Interface Kit] menu draw a split second earlier than the contents draw

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Sat, 04 Aug 2012 02:34:20 -0000

#4335: [Interface Kit] menu draw a split second earlier than the contents draw
   Reporter:  diver               |      Owner:  leavengood
       Type:  bug                 |     Status:  closed
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:  fixed               |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All

Comment (by leavengood):

 Well maybe making the menu background transparent was not a good idea. It
 just seems stupid having a view color because the menu draws its own
 background, so we are just letting the app_server draw a background which
 immediately gets drawn over. And that was what was causing the flickering
 in menu bars and to some extent menus (though in my testing it was much
 worse in the menu bar.)

 Though with all this I have to wonder why there is flickering at all
 because I thought Stephan made all app_server drawing double buffered.
 Maybe the issue here is the app_server draws the default view color
 background, and then the client side drawing happens, and those two sets
 of drawing operations are not double buffered together, but each is
 separately double buffered.

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

Other related posts: