Cocoa closing form does not close its menu
Original Reporter info from Mantis: crlab @neurolabusc1
-
Reporter name: Chris Rorden
Original Reporter info from Mantis: crlab @neurolabusc1
- Reporter name: Chris Rorden
Description:
With OS X, a single menu is shared between all applications and forms. The Carbon widgetset handles this seamlessly, with the menu of the active form always shown on top. Cocoa works almost all of the time. However, if you close a form, its menu remains visible until you click on the remaining visible form. This does not make sense - the user should not be able to interact with a menu for a form that has been dismissed.
Steps to reproduce:
Create an application with two forms, each with main menu. When you run the program, display the child form - you should now see the form and its menu. Now close the child form - the form vanishes but you still see its menu. Only when you click on the parent does the child menu vanish. See attached.