mozilla / chromeless

DEPRECATED - Build desktop applications with web technologies.
http://mozillalabs.com/chromeless
761 stars 117 forks source link

Mac OS X: Chromeless > Quit (⌘Q) appears but does not work #143

Closed keithamus closed 8 years ago

keithamus commented 13 years ago

In Mac OS X when creating an app without menus, Mac OS X still offers the ⌘Q option in the application menu. The application menu seems programatically inaccessible, and to make matters worse, clicking the menu option or hitting ⌘Q does not work.

I propose some way of exposing the OS X application menu to define custom menu options in here, and/or automatically handling ⌘Q the same way clicking on the close button works.

keithamus commented 13 years ago

Not sure if this applies but according to MacFAQ - MDN docs the Quit command item must have a "menu_FileQuitItem" id to be picked up in the Application menu