question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Give focus to the panes that users can interact with using the keyboard

See original GitHub issue

Problem 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?

  1. Install spyder=4.0.0
  2. Try using Ctrl+Shift+X
  3. 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:open
  • Created 4 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
jnsebgosselincommented, May 10, 2020

Did I just dream it?

No, you didn’t. I also remember it too, but I don’t recall its number.

It was on Gitter. This behavior is already somewhat implemented for the plot pane, see PR #11684

image

1reaction
ccordoba12commented, May 9, 2020

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found