[haiku-bugs] Re: [Haiku] #8924: Treat RightMouseClick as 'send to back'

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Fri, 31 Aug 2012 18:20:02 -0000

#8924: Treat RightMouseClick as 'send to back'
------------------------------------+----------------------------
   Reporter:  mmadia                |      Owner:  axeld
       Type:  enhancement           |     Status:  closed
   Priority:  normal                |  Milestone:  R1
  Component:  Applications/Deskbar  |    Version:  R1/Development
 Resolution:  duplicate             |   Keywords:
 Blocked By:  5000                  |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by leavengood):

 Currently it does seem very difficult or impossible to determine if a menu
 item's Invoke() was due to the left or right mouse button (or whichever
 button.)

 Maybe the Menu API could be extended in a backwards-compatible way to
 allow for asking how a menu item was invoked (keyboard, trigger, shortcut,
 mouse click with which button, programmatically, etc.)

 Though Deskbar's use of menus is not the best anyhow, and it should
 probably be changed to use a new class for anything that isn't really a
 menu. The current ExpandoMenuBar is more of a tool bar. But such a change
 should really be part of a larger Deskbar redesign/rewrite, which might be
 better done after R1.

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

Other related posts: