Give focus to the panes that users can interact with using the keyboard
See original GitHub issueProblem Description
The shortcut switch to explorer (Ctrl+Shift+X) does not move the keyboard cursor to the correct window pane. This was working in Spyder 3.7
What steps reproduce the problem?
- Install spyder=4.0.0
- Try using Ctrl+Shift+X
- Cursor is still in last current pane
What is the expected output? What do you see instead?
The expected output is that after I hit the shortcut, I can use the keyboard to navigate the Explorer pane, however the cursor remains on the last-used pane.
Versions
- Spyder version: 4.0.0
- Python version: Python 3.6.9 64-bit
- Qt version: Qt 5.9.6
- PyQt version: PyQt5 5.9.2
- Operating System name/version: Windows 2008ServerR2
Dependencies
cloudpickle >=0.5.0 : 1.2.2 (OK)
pygments >=2.0 : 2.5.2 (OK)
qtconsole >=4.6.0 : 4.6.0 (OK)
nbconvert >=4.0 : 5.6.1 (OK)
sphinx >=0.6.6 : 2.2.2 (OK)
pylint >=0.25 : 2.4.4 (OK)
psutil >=0.3 : 5.6.7 (OK)
qtawesome >=0.5.7 : 0.6.0 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
zmq >=17 : 18.1.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
numpydoc >=0.6.0 : 0.9.1 (OK)
spyder_kernels >=1.8.1;<2.0.0: 1.8.1 (OK)
qdarkstyle >=2.7 : 2.7 (OK)
atomicwrites >=1.2.0 : 1.3.0 (OK)
diff_match_patch >=20181111 : 20181111 (OK)
intervaltree : None (OK)
watchdog : None (OK)
keyring : None (OK)
pexpect >=4.4.0 : 4.7.0 (OK)
pympler : None (OK)
sympy >=0.7.3 : None (NOK)
cython >=0.21 : None (NOK)
IPython >=4.0 : 7.10.1 (OK)
matplotlib >=2.0.0 : 3.1.1 (OK)
pandas >=0.13.1 : 0.25.3 (OK)
numpy >=1.7 : 1.17.4 (OK)
scipy >=0.17.0 : 1.3.1 (OK)
pyls >=0.31.2;<0.32.0 : 0.31.2 (OK)
rtree >=0.8.3 : 0.8.3 (OK)
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (10 by maintainers)
Top Results From Across the Web
How to Use the Focus Subsystem - Oracle Help Center
Move the focus from component to component using the Tab key. You will notice that when the focus moves into the text area,...
Read more >Use the keyboard to work with the ribbon - Microsoft Support
Change the keyboard focus without using the mouse ; Minimize (collapse) or restore the ribbon. Ctrl+F1 ; Display the shortcut menu for the...
Read more >Focus & Keyboard Operability | Usability & Web Accessibility
Many computer users do not use a mouse, trackpad, or other pointing device when interacting with web pages, either due to preference or...
Read more >Support keyboard navigation - Android Developers
When a user navigates your app using the keyboard Tab key, the system passes input focus between elements based on the order in...
Read more >Keyboard Accessibility for Tableau Views
To access buttons in the toolbar, tab the focus to the toolbar area and then use the right arrow to move to the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It was on Gitter. This behavior is already somewhat implemented for the plot pane, see PR #11684
I agree. Leaving this for 4.2.0 because it could require important changes to several panes (most probably not, but I want to be on the safe side here).