-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Updated the macosx backed figure manager show function to bring the #2743
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
figure to the front upon execution.
This incorporates the functionality I believe was intended in the The following code demonstrates the usefulness
|
@mdehoon: Any unintended consequences? |
@cimarronm: Would you mind adding an entry to |
I am not sure if this is how show() is supposed to work. Without this patch, the MacOSX backend behaves the same as the tkagg backend. After this patch, they behave differently. |
@mdehoon Is there any reason this should not be the default behavior then? Perhaps, tkagg/other backends should be changed as well to act in the same fashion. I think that would be more desirable then leaving the window behind another when |
I have to admit I find this functionality incredibly annoying on OSX too, so I'd definitely like to see something like this be possible - just depends on whether there is a good reason to keep it opening behind as is currently does, at which point I think we could make it configurable. Otherwise, 👍 for altogether changing the behaviour. |
IIRC, there was discussion about all of this way back when. In particular, |
We should get this sorted out before 1.4, could someone who was around for these discussions take this on? |
@mdehoon @efiring @pelson @jenshnielsen As the mac-devs, can you all make a go/no-go on this PR? |
The two aspects of behavior--window pops up in front or in back, and with or without focus--ideally should be controllable on all backends. I suspect this can be done, but we probably don't have the developer resources to get it done right, and all at once. In the absence of that, making some piecemeal changes like this might be better than nothing, even though I don't like having different behavior in the different backends. |
I am also in favor of merging. |
Updated the macosx backed figure manager show function to bring the window to the front.
I'll take the plunge and merge then. |
figure to the front upon execution.