[haiku-bugs] [Haiku] #8513: BMenu not handling certain cases of resizing on add/remove correctly

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Wed, 02 May 2012 13:52:50 -0000

#8513: BMenu not handling certain cases of resizing on add/remove correctly
--------------------------------+------------------------------
 Reporter:  anevilyak           |        Owner:  axeld
     Type:  bug                 |       Status:  new
 Priority:  normal              |    Milestone:  R1
Component:  Kits/Interface Kit  |      Version:  R1/Development
 Keywords:                      |   Blocked By:
 Blocking:                      |  Has a Patch:  0
 Platform:  All                 |
--------------------------------+------------------------------
 To trigger this issue, a simple test case is: go into the haiku source
 tree and issue a jam -qj16. Now open up one of ProcessController's menus
 and simply observe activity. The menu will rapidly grow to the point where
 it requires scrollers. However, as teams exit, the menu doesn't appear to
 handle the case of resizing itself back properly, the observed behavior is
 that the menu rapidly becomes all white and completely unusable. Note that
 this problem is only observable when large numbers of add/removes like
 this that extend the menu to scrolling range occur. A smaller activity set
 like -j2 or -j4 doesn't appear to exhibit the issue.

 The problem was observed on hrev44090 but after searching back for a
 while, does not appear to be new.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8513>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: