[haiku-bugs] Re: [Haiku] #1621: Rewrite menu tracking using Mouse hooks

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 27 Feb 2020 02:35:02 -0000

#1621: Rewrite menu tracking using Mouse hooks
----------------------------------+-------------------------
   Reporter:  jackburton          |      Owner:  leavengood
       Type:  enhancement         |     Status:  assigned
   Priority:  low                 |  Milestone:  Unscheduled
  Component:  Kits/Interface Kit  |    Version:
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:  3644, 4640
Has a Patch:  1                   |   Platform:  All
----------------------------------+-------------------------
Comment (by X512):

 Note that MouseDown, MouseUp, MouseMoved can't be overriden for BMenu
 because this methods was not overriden in BeOS, this breaks binary
 compatibility.

 After hrev53446 (mouse and keyboard message handling and hooks calling was
 moved from `BWindow` to `BView`)
 `B_MOUSE_DOWN`/`B_MOUSE_MOVED`/`B_MOUSE_UP` messages can be handled in
 `BMenu::MessageReceived`.

 It is also required to get mouse down event outside of BMenu to hide menu
 when user click outside menu.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/1621#comment:22>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: