Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Default quit keymap - support for cmd+w on OSX#1902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks@cimarronm - I agree that any user on OSX should expect Is this on the macosx backend? For me, (tkagg on mountain lion) |
Yeah, this is on the macosx backend. It is the only one which generates a cmd modifier so I think the default keymap modification from |
…X would have a native cmd+w to close the window.
Default quit keymap - support for cmd+w on OSX
This works on the macosx backend, and does not change the others. tkagg apparently internally translates Ctrl-W into Cmd-W. Wx does the same, based on my version 2.9, for which mpl is mostly broken. qt4agg backend did nothing with Cmd-W before, and still does nothing. That's because it is calling the command prefix "super" instead of "cmd", after having un-done the swap that qt does:http://qt-project.org/doc/qt-4.8/qkeysequence.html. |
I'd be amenable to opening an issue for that. Any objections? |
No objections. |
Updated default quit keymap to include cmd+w so people running on OS X would have a native cmd+w to close the window.