Skip to content

Can't copy images to clipboard on safari #8337

@chentoast

Description

@chentoast

Describe the bug

Tested on Safari Version 18.6 (20621.3.11.11.3) and MacOS 15.7.3, Marimo version 0.19.0

Right clicking any image output and selecting "copy image" fails with the following error code:

Failed to copy image to clipboard. Try downloading instead.
The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

Is this an issue on my end with incorrectly setting permissions on safari? Or is this an issue with marimo itself? I know that safari happens to be much stricter with conditions required for web apps to write to the clipboard.

Will you submit a PR?

  • Yes

Environment

Details
Replace this line with the output of marimo env. Leave the backticks in place.

Code to reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions