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

  • From: "X512" <trac@xxxxxxxxxxxx>
  • Date: Sat, 04 Aug 2012 08:45:46 -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 X512):

 Replying to [comment:16 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.)

 Mayble problem actually happens because background color and bitmap are
 drawn by app_server and BView contents are drawn by application. It
 happens asynchronously. When app_server validates view it draw background
 and send validation request to an application. As result background is
 drawn even if application is hang.

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

Other related posts: