notebook
notebook copied to clipboard
Linux copy/paste file path from GUI not working
Description
Reproduce
- "Ctrl+C" on a file using the file manager GUI in Linux (Tried Ubuntu, POP OS and Mint).
- "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
Hi, Can this issue be assigned to me? I'm interested in this and I can try my best resolving it. Cheers, Navdeep
is this really supposed to work that way? I am using jupyter 7 on mac and this is not working for me too.
https://github.com/jupyter/notebook/assets/25323466/3c36729c-8667-43fe-83bd-5f2272d02362
@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.
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!
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.
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.