[haiku-bugs] Re: [Haiku] #4859: Sub-menus should keep the opening direction of their parents

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Mon, 15 Mar 2010 21:11:24 -0000

#4859: Sub-menus should keep the opening direction of their parents
--------------------------------+-------------------------------------------
 Reporter:  axeld               |       Owner:  axeld         
     Type:  enhancement         |      Status:  new           
 Priority:  normal              |   Milestone:  R1            
Component:  Kits/Interface Kit  |     Version:  R1/Development
 Keywords:                      |   Blockedby:                
 Platform:  All                 |    Blocking:                
--------------------------------+-------------------------------------------

Comment(by bonefish):

 Replying to [comment:4 stippi]:
 > Hm, the whole parent menu tree and all their frames should be accessible
 from submenus. The existing implementation which layouts the screen frame
 of a submenu relative to it's parent and menu item can just take this into
 account, no?

 Generally I don't find it nice when objects play with their parents. I'd
 rather give a menu a preferred submenu opening direction attribute. A menu
 could then simply set that (to the actual direction) on a submenu it is
 about to open.

 Replying to [comment:5 axeld]:
 > We could even let it point in the other direction, though I don't know
 if that is really a good solution :-)

 When coming close to a screen border that would mean that the arrows could
 point in different directions. As a solution the code could choose a
 common direction that would work for all submenus.

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

Other related posts: