FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use command keys for window shortcuts in Qt on OSX by dstansby · Pull Request #9750 · matplotlib/matplotlib · GitHub

Repository navigation

Use command keys for window shortcuts in Qt on OSX - #9750

Merged
dopplershift merged 1 commit into
matplotlib:masterfrom
dstansby:osx-qt5-command
Dec 4, 2017
Merged

dopplershift merged 1 commit into
matplotlib:masterfrom
dstansby:osx-qt5-command

Conversation

dstansby commented Nov 11, 2017 •
edited
Loading

Copy link
Copy Markdown
Member

Fixes #2140

Other backends use "cmd" instead of "super" to denote the command key - with this change all the standard close/open/save shortcuts work on Qt with the command key.

dstansby added this to the v2.2 milestone Nov 11, 2017

QuLogic commented Nov 12, 2017

Copy link
Copy Markdown
Member

Hmm, but I'm pretty sure Meta is Super on Linux. Is this properly portable off macOS?

Copy link
Copy Markdown
Member Author

Turns out only the macOS specific lines need changing to work.

jklymak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This is great!

dopplershift merged commit 0943a6c into matplotlib:master Dec 4, 2017
dstansby deleted the osx-qt5-command branch December 4, 2017 22:21

Copy link
Copy Markdown
Member

should this be backported to 2.1.x?

Copy link
Copy Markdown
Contributor

I suppose it's a bug fix, so sure.

QuLogic modified the milestones: needs sorting, v2.2.0 Feb 12, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Cmd-W close the window using QT4 on OS X

5 participants


Back | FazBrowse Home | New Git URL