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

Right click menu not working in file browser #14948

Closed
wragge opened this issue Aug 11, 2023 · 4 comments
Closed

Right click menu not working in file browser #14948

wragge opened this issue Aug 11, 2023 · 4 comments
Labels
bug pkg:filebrowser status:Needs Triage Applied to new issues that need triage
Milestone

Comments

@wragge
Copy link

wragge commented Aug 11, 2023

Description

When I right click on items in the Jupyter Lab file browser the context menu doesn't appear as expected. In the Javascript console the following error is reported: TypeError: Path must be a string. Received undefined.

I noticed there was a similar error reported for the context menu on tabs (#14850), but the tab context menus seem to work ok for me. Actually, it seems that if I open a tab context menu and then right click in the file browser, the tab context menu pops up over the file but nothing can be selected.

Reproduce

  1. Go to file browser
  2. Right click on file name
  3. Nothing happens

Context

  • Operating System and version: Pop!_OS 22.04 LTS
  • Browser and version: Firefox 116.0 (64-bit)
  • JupyterLab version: 4.0.4
@wragge wragge added the bug label Aug 11, 2023
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Aug 11, 2023
@krassowski krassowski added this to the 4.0.x milestone Aug 11, 2023
@krassowski
Copy link
Member

I cannot reproduce. Does it happen with a specific kind of files? In a specific directory? Can you list all extensions installed and their versions?

@wragge
Copy link
Author

wragge commented Aug 12, 2023

I've done a bit more testing and it seems that the problem is caused by the jupyter-archive extension – if I uninstall the extension, right click works as expected, reinstall it and the problem recurs. Should I raise an issue over there?

@krassowski
Copy link
Member

It seems it was not updated to JupyterLab 4 yet. Yes, please open an issue over there, referencing this discussion.

@JasonWeill
Copy link
Contributor

Closing in favor of jupyterlab-contrib/jupyter-archive#119 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pkg:filebrowser status:Needs Triage Applied to new issues that need triage
Projects
None yet
Development

No branches or pull requests

3 participants