[haiku-bugs] Re: [Haiku] #4930: Keyboard navigating context menu

  • From: "Ziusudra" <trac@xxxxxxxxxxxx>
  • Date: Sat, 22 May 2010 08:22:24 -0000

#4930: Keyboard navigating context menu
--------------------------------+-------------------------------------------
 Reporter:  humdinger           |       Owner:  axeld    
     Type:  bug                 |      Status:  new      
 Priority:  normal              |   Milestone:  R1       
Component:  Kits/Interface Kit  |     Version:  R1/alpha2
 Keywords:                      |    Platform:  All      
Blockedby:                      |       Patch:  1        
 Blocking:                      |  
--------------------------------+-------------------------------------------

Comment(by Ziusudra):

 This patch adds the member variable fKeyDown which prevents _OkToProceed()
 from aborting because the mouse pointer is not over the item. If the user
 presses another key, fKeyDown will be set back to false so that
 _OkToProceed() can abort if the menu is still attaching.

 This also sets stickyMode to true when opening a submenu with the
 keyboard. (Though I intend to find out why the dynamic menus are set
 sticky when using the mouse but not when using the keyboard.)

 The interesting thing is that while testing this I have not had the menus
 lock up despite trying desperately.

 Mouse navigation of menus is completely unaffected.

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

Other related posts: