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.
@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.
Activity
mdboom commented on Jul 26, 2013
Which platform and backend?
ibell commented on 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:
tacaswell commented on Feb 25, 2014
This is related to #2743 .
efiring commented on 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 commented on Feb 25, 2014
Fair enough. I milestoned both this one and #2743 as 1.5
QuLogic commented on Apr 22, 2020
IIUC, this is covered by the figure.raise_window rcParam in #15440.