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

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Thu, 04 Apr 2013 06:55:10 -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 axeld):

 Replying to [comment:5 jscipione]:
 > Since pushing Cmd+W does not close a window when you have a menu open I
 think that the correct behavior should be to not allow the window to close
 programatically either.

 While that sounds right, I don't think it makes any sense. What should
 happen on Quit() in that case? Of course, the window could just block
 until the menu is open, but what's the point? It's not like the menu
 action will do anything anymore.

 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.

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

Other related posts: