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

Linux copy/paste file path from GUI not working #7042

Open
Lucas-Servi opened this issue Sep 13, 2023 · 6 comments
Open

Linux copy/paste file path from GUI not working #7042

Lucas-Servi opened this issue Sep 13, 2023 · 6 comments

Comments

@Lucas-Servi
Copy link

Description

Reproduce

  1. "Ctrl+C" on a file using the file manager GUI in Linux (Tried Ubuntu, POP OS and Mint).
  2. "Ctrl+V" on a jupyter notebook cell is not working since I updated to Version 7.+ of jupyter notebook.

Expected behavior

The whole file path to be pasted for e.g.: "/home/User/data/table.csv"

Context

  • Linux Ubuntu 23.04 x86_64
  • Chrome Version 116.0.5845.187 (Official Build) (64-bit)
  • Jupyter Notebook version: 7.0.2
@navdeepgill14
Copy link

Hi,
Can this issue be assigned to me? I'm interested in this and I can try my best resolving it.
Cheers,
Navdeep

@jayeshsingh9767
Copy link
Contributor

jayeshsingh9767 commented Oct 20, 2023

is this really supposed to work that way? I am using jupyter 7 on mac and this is not working for me too.

Screen.Recording.2023-10-20.at.6.27.28.PM.mov

@haok1402
Copy link
Contributor

@RRosio May I work on this issue? I can reproduce the bug with version 7.1.0a0 on Ubuntu 22.04.3 LTS and confirm that this copy-full-path functionality does work with Jupyter Notebook 6.4.8.

@RRosio
Copy link
Collaborator

RRosio commented Nov 27, 2023

Hi @haok1402! Yes, there is no need to ask, please feel free to work on this or any issue that you would like to contribute!

@haok1402
Copy link
Contributor

haok1402 commented Dec 5, 2023

It turns out that the inline editor of Jupyter Notebook Version 7.x uses @jupyterlab/codemirror extension, which doesn't yet supported copy / paste file path from GUI, as demonstrated by the screen recording below.

I'll look into JupyerLab codebase trying to fix the issue there and create a pull request to close this one.

Screencast.from.12-05-2023.12.55.53.AM.webm

@vivekk0903
Copy link

Hi, any updates on this issue? We are facing the same issue in jupyterlab as well in Ubuntu (even on latest version).

Need to copy two times. First from file browser to any other location (text editor, url bar etc), then from there to the jupyter cell.

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

6 participants