[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: Fri, 05 Apr 2013 15:52:16 -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):

 What BWindow::QuitRequested() does lies in the hands of the developer, not
 the user of the application. If posting B_QUIT_REQUESTED to a window all
 of a sudden does not do as expected, it's random and untestable behavior
 from the POV of the application developer.

 Furthermore, you cannot change QuitRequested() simply for the reason that
 you usually not call it when you develop an application either; you'll
 just overwrite it when you need it to behave differently than always
 returning true.

 Both together make it a major API change, that is even completely
 undesirable.

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

Other related posts: