[haiku-bugs] Re: [Haiku] #7078: Allowing shortcuts without the B_COMMAND_KEY modifier

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Sun, 09 Jan 2011 03:14:23 -0000

#7078: Allowing shortcuts without the B_COMMAND_KEY modifier
---------------------------------+--------------------------------
  Reporter:  leavengood          |        Owner:  leavengood
      Type:  enhancement         |       Status:  assigned
  Priority:  normal              |    Milestone:  R1/alpha3
 Component:  Kits/Interface Kit  |      Version:  R1/alpha2
Resolution:                      |     Keywords:  menus, shortcuts
Blocked By:                      |  Has a Patch:  1
  Platform:  All                 |     Blocking:
---------------------------------+--------------------------------

Comment (by leavengood):

 One possible problem with this patch is the removal of a check for the
 B_COMMAND_KEY before checking shortcuts for a match. This means keyboard
 handling could be slower since every keypress would need to check through
 all the shortcuts. I may look for optimizations such as only doing this if
 there exist shortcuts which don't use modifiers. But that may be a
 premature optimization without benchmarking.

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

Other related posts: