With a recent git spyder pressing F9 in the editor changes the focus to the console so you can't keep pressing F9 to execute futher lines without clicking back on the editor.
I would like F9 to not change focus to the console.
```
cython >=0.21 : 0.25.2 (OK)
jedi >=0.9.0 : 0.10.0 (OK)
matplotlib >=1.0 : 2.0.1 (OK)
nbconvert >=4.0 : 5.1.1 (OK)
numpy >=1.7 : 1.12.1 (OK)
pandas >=0.13.1 : 0.20.1 (OK)
pycodestyle >=2.3: None (NOK)
pyflakes >=0.6.0 : 1.5.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.6.5 (OK)
qtconsole >=4.2.0: 4.3.0 (OK)
rope >=0.9.4 : 0.10.5 (OK)
sphinx >=0.6.6 : 1.5.5 (OK)
sympy >=0.7.3 : 1.0 (OK)
@rlaverde, please take a look at this one.
I'm not able to reproduce this bug, I tried with latest 3.x
, master
and also with the commit 1b517c93 (the one running in the screenshot)
@dalthviz, please test this problem on Windows, and if it's there, solve it.
FWIW, I've nuked my old python install and am now running on a freshly installed Anaconda/py36 with an updated spyder and I don't see the problem. F9 correctly keeps focus in the editor, allowing you to keep pressing to execute consecutive lines.
Happy for this to be closed if it can't be reproduced.
Great!! One thing less to work on for Spyder 3.2 ;-)
I am seeing this problem with 3.2.4 on Win 7 x64, and I'm able to reproduce it reliably when the console is not docked.
Behavior when IPython console is docked: Pressing F9 executes line, focus stays in editor.
Behavior when IPython console is its own window: Pressing F9 executes line, focus switches to console.
I am seeing this problem with 3.3.3 on Win 7 x64, Python 3.7 and I'm able to reproduce it reliably when the editor is not docked (with IPython console docked).
Behavior when editor is docked: Pressing F9 executes line, focus stays in editor.
Behavior when editor is its own window: Pressing F9 executes line, focus switches to console.
Most helpful comment
FWIW, I've nuked my old python install and am now running on a freshly installed Anaconda/py36 with an updated spyder and I don't see the problem. F9 correctly keeps focus in the editor, allowing you to keep pressing to execute consecutive lines.

Happy for this to be closed if it can't be reproduced.