Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Regression] Version 7.1.0/7.1.2 inhibits Alt+NUMBER keyboard shortcuts - despite not actually using them! #7296

Open
3 tasks done
toobaz opened this issue Mar 16, 2024 · 1 comment

Comments

@toobaz
Copy link
Contributor

toobaz commented Mar 16, 2024

Please answer the following questions for yourself before submitting an issue

  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository

Description

When I have jupyter (either a notebook, or even just the "Home" screen) open, the browser shortcuts Alt+NUMBER (e.g. Alt+1 to switch to the first open tab in the current window) are inhibited. This is very annoying for whoever used to rely on them (in particular to switch between different jupyter notebooks!), and pretty weird given that jupyter is apparently not using these shortcuts for anything.

This is a regression because the bug is not there with jupyter 6.4.12 (tested with the same OS/browsers).

Note that even within a same window, the shortcuts will work regularly whenever the currently open tab has something else than jupyter in it. I can also use the shortcuts to move to a jupyter tab, but not to go back.

The Ctrl+PgUp/Ctrl+PgDown shortcuts are unaffected by the bug.

Reproduce

  1. Launch jupyter in a new browser window
  2. Launch a notebook, which will open in a new tab
  3. Pres Alt+1 to go back to the "Home" window

... nothing happens.

Expected behavior

Switching to the first tab, which in the example above would be the jupyter "Home" screen.

Context

  • Operating System and version: Debian Linux 12 (bookworm)
  • Browser and version: tested with both Firefox 115.7.0esr, and Chromium 121.0.6167.139
  • Jupyter Notebook version: 7.1.0, tested also with 7.1.2
@toobaz toobaz added bug status:Needs Triage Applied to issues that need triage labels Mar 16, 2024
@toobaz
Copy link
Contributor Author

toobaz commented Mar 16, 2024

It's curious that the "Try jupyter" web page:
https://jupyter.org/try-jupyter/notebooks/?path=notebooks/Intro.ipynb

... does not trigger the bug. Maybe it's a different version? I failed to understand which jupyter notebook version it relies on.

@toobaz toobaz changed the title [Regression] Version 7.1.0 disables Alt+NUMBER keyboard shortcuts - despite not actually using them! [Regression] Version 7.1.0/7.1.2 inhibits Alt+NUMBER keyboard shortcuts - despite not actually using them! Mar 16, 2024
@JasonWeill JasonWeill added regression and removed status:Needs Triage Applied to issues that need triage labels Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants