Skip to content

matplotlib makes python lose focus #2253

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

Closed
ibell opened this issue Jul 26, 2013 · 6 comments
Closed

matplotlib makes python lose focus #2253

ibell opened this issue Jul 26, 2013 · 6 comments

Comments

@ibell
Copy link

ibell commented Jul 26, 2013

This seems to have cropped up roundabout 1.2.1, and I tried to see whether it worked in 1.3rc5, but I couldn't get 1.3rc5 to work at all. A topic for another ticket.

When you use matplotlib and do a plot, python loses focus. I think it might be spawning another process which momentarily gets focus, but I can't tell. The end result is that matplotlib results in python getting and losing focus, which is very annoying if for instance you have a long-running batch which is doing plotting and you are trying to do other things on the computer.

@mdboom
Copy link
Member

mdboom commented Jul 26, 2013

Which platform and backend?

@ibell
Copy link
Author

ibell commented Jul 26, 2013

Windows 7 64-bit, Py 2.7 32-bit, WXAgg backend

On Fri, Jul 26, 2013 at 2:41 PM, Michael Droettboom <
notifications@github.com> wrote:

Which platform and backend?


Reply to this email directly or view it on GitHubhttps://github.com//issues/2253#issuecomment-21618082
.

@tacaswell
Copy link
Member

This is related to #2743 .

@efiring
Copy link
Member

efiring commented Feb 25, 2014

@tacaswell Correct. Probably what we really want is to have both focus and on top vs behind be configurable in a backend-independent way. This can be done only if all gui toolkits on all platforms provide this capability. I suspect they do, but I'm not sure, and I can't take the time to find out. Until someone can research this, I don't think we should make any changes.

@tacaswell tacaswell added this to the v1.5.x milestone Feb 25, 2014
@tacaswell
Copy link
Member

Fair enough. I milestoned both this one and #2743 as 1.5

@tacaswell tacaswell modified the milestones: 2.1 (next point release), 2.2 (next next feature release) Oct 3, 2017
@QuLogic
Copy link
Member

QuLogic commented Apr 22, 2020

IIUC, this is covered by the figure.raise_window rcParam in #15440.

@QuLogic QuLogic closed this as completed Apr 22, 2020
@QuLogic QuLogic modified the milestones: needs sorting, v3.3.0 Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants