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

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Sat, 22 May 2010 09:49:09 -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 stippi):

 Have you checked sizeof(BMenu) to be the same as before? When adding new
 members to the class in such a way that it changes size, you will break
 binary compatibility. Due to padding of one byte sized members, the size
 may stay the same, but you need to check to make sure.

 All in all, I find this solution rather ugly. Why not pass the key-down
 condition to the method that needs to know it instead?

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

Other related posts: