[haiku-bugs] Re: [Haiku] #484: [app_server] menu flickering

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Wed, 01 Aug 2012 19:23:17 -0000

#484: [app_server] menu flickering
----------------------------------+----------------------------
   Reporter:  diver               |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Servers/app_server  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by leavengood):

 Stephan has more or less already solved this issue, he just did it only in
 WebPositive:

 {{{
 // TODO: Small hack for fixing some invalidation problems with BMenuBar...
 mainMenu->SetFlags(mainMenu->Flags() | B_FULL_UPDATE_ON_RESIZE);
 mainMenu->SetViewColor(B_TRANSPARENT_COLOR);
 }}}

 Applying similar changes to BMenu (the transparent view color) and
 BMenuBar (the full update on resize flag) seems to fix the issue. I can't
 imagine this fix causing big problems, except maybe for really old BeOS
 apps which somehow depend on this misbehavior (though I'm not sure if this
 is exactly how BeOS worked either.)

 I will attach a patch in case others want to take a look before I commit
 it.

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

Other related posts: