[haiku-bugs] Re: [Haiku] #9576: If a window closes while the user is CLICKING on a menu, the menu is still there

  • From: "jscipione" <trac@xxxxxxxxxxxx>
  • Date: Thu, 04 Apr 2013 08:12:54 -0000

#9576: If a window closes while the user is CLICKING on a menu, the menu is 
still
there
----------------------------------+----------------------------
   Reporter:  waddlesplash        |      Owner:  jscipione
       Type:  bug                 |     Status:  assigned
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by jscipione):

 Replying to [comment:6 axeld]:
 > I think the best behaviour would indeed be to close the menu with the
 window. Each menu has an owning window, so this shouldn't be much of a
 problem to implement either.

 I discussed this a bit more on IRC and it seems like an even better
 behavior would be to not close the window if you send a B_QUIT_REQUESTED
 message (if you ask the window to quit) but to close the menu and window
 if you call the Quit() method (you tell it to quit).

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

Other related posts: