Skip to content

Copy shareable link does not work correctly in Safari #16977

Open
@DanielO

Description

Description

When I select "Copy shareable link" from the file browser in Safari it does not copy the link (something else ends up in the buffer)

Reproduce

  1. Go to the file browser
  2. Right click on a notebook
  3. Select 'Copy Shareable Link'
  4. Observe the result is not a URL

Expected behavior

It should create a /hub/user-redirect link, instead I get:

[Skip to main panel](https://xxx/user/yyyy/lab/tree/RTC%3Ahome/yyy/Untitled2.ipynb?redirects=1#)
File
Edit
View
Run
Kernel
Tabs
Settings
Help

d





/home/xxx/
Name
Modified
20180404a
6y ago
<snip>

It appears to be copying all of the text on the screen.

It works correctly if I use Chrome connected to the same instance.

Context

  • Operating System and version: FreeBSD 14.1p5
  • Browser and version: Safari 17.6
  • JupyterLab version: 4.2.5
Troubleshoot Output
[cain 13:09] ~ >jupyter --version
Selected Jupyter core packages...
IPython          : 8.18.1
ipykernel        : 6.29.5
ipywidgets       : 8.1.5
jupyter_client   : 8.6.3
jupyter_core     : 5.7.2
jupyter_server   : 2.14.2
jupyterlab       : 4.2.5
nbclient         : 0.10.0
nbconvert        : 7.16.4
nbformat         : 5.10.4
notebook         : 7.2.2
qtconsole        : not installed
traitlets        : 5.14.3
[cain 13:09] ~ >jupyter troubleshoot
/usr/local/bin/python3.11: No module named pip
$PATH:
        /sbin
        /bin
        /usr/sbin
        /usr/bin
        /usr/local/sbin
        /usr/local/bin
        /home/doconnor/bin

sys.path:
/usr/local/bin
/usr/local/lib/python311.zip
/usr/local/lib/python3.11
/usr/local/lib/python3.11/lib-dynload
/usr/local/lib/python3.11/site-packages

sys.executable:
/usr/local/bin/python3.11

sys.version:
3.11.10 (main, Oct 31 2024, 01:10:40) [Clang 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15

platform.platform():
FreeBSD-14.1-RELEASE-p5-amd64-64bit-ELF

which -a jupyter:
/usr/local/bin/jupyter

Browser Output None (no visible errors or anything)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions