| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
👍 but I do not have a traditional windowing window manager installed to test this. attn @mfitzp |
Sorry, something went wrong.
|
FWIW this PR does not work for me in a vanilla KDE + ipython. |
Sorry, something went wrong.
|
Any chance to have this merged? It'd be really helpful for Spyder users. |
Sorry, something went wrong.
|
@ccordoba12, might you be able to clarify the conditions under which it works, and those under which it doesn't? Do you know why @anntzer found it didn't work for him with KDE? Is it because the window manager has ultimate control, and the qt activate and raise functions only provide requests? |
Sorry, something went wrong.
|
@efiring, I'll try it on my end and let you know what I find. |
Sorry, something went wrong.
|
I see no difference in behavior. But if it works for others it should go in -- it probably depends on the specifics of the DE setup... |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is an increment of progress addressing #6378, which follows on a long discussion in #596. The intention is to make Figure.show() activate and raise the figure, if it is managed by pyplot. It is presently specific to the qt*agg backends. I think that the Tkagg backend already behaves this way. If so, that leaves the gtk* and wxagg backends needing similar modifications.
Ideally we would also have the option of separate control over focus and stack position, but this seems to be more difficult. For example, with qt, using the window.raise_() method without activation (focus) doesn't work, at least on OSX. It flashes the raised window, and then puts it right back behind the one that was on top.
I suspect we are faced here with a fundamental conflict between "perfect", or even "very good", and "a little better". This PR is taking the latter approach because in the years since the issue was raised, we seem to have made little progress in arriving at the wonderful universal window management API we would all like.