{"action":"created","issue":{"url":"https://api.github.com/repos/otfried/ipe-issues/issues/51","repository_url":"https://api.github.com/repos/otfried/ipe-issues","labels_url":"https://api.github.com/repos/otfried/ipe-issues/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/otfried/ipe-issues/issues/51/comments","events_url":"https://api.github.com/repos/otfried/ipe-issues/issues/51/events","html_url":"https://github.com/otfried/ipe-issues/issues/51","id":139364959,"number":51,"title":"\"Close\" and \"Quit\" behavior (Mac)","user":{"login":"nathaniel","id":68211,"avatar_url":"https://avatars.githubusercontent.com/u/68211?v=3","gravatar_id":"","url":"https://api.github.com/users/nathaniel","html_url":"https://github.com/nathaniel","followers_url":"https://api.github.com/users/nathaniel/followers","following_url":"https://api.github.com/users/nathaniel/following{/other_user}","gists_url":"https://api.github.com/users/nathaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/nathaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathaniel/subscriptions","organizations_url":"https://api.github.com/users/nathaniel/orgs","repos_url":"https://api.github.com/users/nathaniel/repos","events_url":"https://api.github.com/users/nathaniel/events{/privacy}","received_events_url":"https://api.github.com/users/nathaniel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-08T19:06:49Z","updated_at":"2016-03-08T20:19:01Z","closed_at":null,"body":"Typical behavior for Mac programs (though not quite universal):\r\nClose (Cmd-W) closes the current document, but leaves the application running, regardless of whether any open documents remain open.\r\nQuit (Cmd-Q) closes all documents and quits the program.\r\n\r\nCurrent behavior in Ipe 7.2.2 (Cocoa) does not match this Mac paradigm.  Currently, \"Close\" closes the current document, **and** quits the program if no documents remain open after closing the current one.  There is no \"Quit\" option in the Cocoa implementation of Ipe 7.2.2, which is a change from the Qt implementation (\"Quit Ipe\" was provided in the Ipe menu, as usual for Mac programs).\r\n\r\nRequest: add a Quit Ipe command (shortcut Cmd-Q), and prevent the Close command from quitting Ipe, in the Mac build."},"comment":{"url":"https://api.github.com/repos/otfried/ipe-issues/issues/comments/193951201","html_url":"https://github.com/otfried/ipe-issues/issues/51#issuecomment-193951201","issue_url":"https://api.github.com/repos/otfried/ipe-issues/issues/51","id":193951201,"user":{"login":"otfried","id":9983417,"avatar_url":"https://avatars.githubusercontent.com/u/9983417?v=3","gravatar_id":"","url":"https://api.github.com/users/otfried","html_url":"https://github.com/otfried","followers_url":"https://api.github.com/users/otfried/followers","following_url":"https://api.github.com/users/otfried/following{/other_user}","gists_url":"https://api.github.com/users/otfried/gists{/gist_id}","starred_url":"https://api.github.com/users/otfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otfried/subscriptions","organizations_url":"https://api.github.com/users/otfried/orgs","repos_url":"https://api.github.com/users/otfried/repos","events_url":"https://api.github.com/users/otfried/events{/privacy}","received_events_url":"https://api.github.com/users/otfried/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T20:19:01Z","updated_at":"2016-03-08T20:19:01Z","body":"Certainly, I have no problem providing this behaviour - I just wanted to understand why it's done this way.  I guess I haven't gotten used to the fact yet that apps can have menus and shortcuts even when no window is open at all."}}