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

Pasting images fails if clipboard also offers text/uri-list #427

Open
WhyNotHugo opened this issue Apr 2, 2023 · 0 comments
Open

Pasting images fails if clipboard also offers text/uri-list #427

WhyNotHugo opened this issue Apr 2, 2023 · 0 comments

Comments

@WhyNotHugo
Copy link
Contributor

When my screenshot application copies files into the clipboard selection, it offers two mime-types:

  • image/png (where the accepting application gets a stream of bytes).
  • text/uri-list (where the accepting application gets a path to a file).

It only image/png is offered, Signal will paste fine. But if both are offered Signal always attempts to paste reading the file. This fails due to Signal being sandboxed, and since it doesn't try the other mime-type, it just hands indefinitely due to a failure reading the file.

I'm not entirely sure how/if this can be fixed without tampering upstream, but since upstream indicates that Flathub-specific issues belong here, I figured it's best to start reporting this here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant