[haiku-bugs] Re: [Haiku] #10072: Deskbar menu closes when mouse cursor is over separator

  • From: "jscipione" <trac@xxxxxxxxxxxx>
  • Date: Mon, 07 Oct 2013 21:17:54 -0000

#10072: Deskbar menu closes when mouse cursor is over separator
----------------------------------+----------------------------
   Reporter:  idefix              |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by jscipione):

 Menu code is tricky, hrev45977 is more likely the cause. My guess for a
 fix is to include separator items in BMenu::_HitTestItems() again and then
 skip the separators on a case-by-case basis so as to prevent the crash
 described in #4417 while being careful not to regress the bug described by
 #6610.

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

Other related posts: