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

Paste Images #103

Open
andralves717 opened this issue Dec 28, 2020 · 4 comments
Open

Paste Images #103

andralves717 opened this issue Dec 28, 2020 · 4 comments

Comments

@andralves717
Copy link

When I try to paste images (with Ctrl+V or Right Click + Paste) anything happens. I tested in a normal browser (Firefox and Chromium)

WebApps Tested
Whatsapp, Telegram, Messenger, Slack

Tangram version
1.3.1

Linux distribution
Ubuntu 20.04

Flatpak version
Flatpak 1.6.5

Desktop environment
GNOME Shell 3.36.4 X11

@sonnyp

This comment has been minimized.

@sonnyp
Copy link
Owner

sonnyp commented Jan 14, 2021

WebkitGTK supports pasting files when it's a file path (for example CTRL+C in Nautilus or Image Viewer) but does not support pasting file data (for example copying a selection of an image in Gimp) see this issue https://bugs.webkit.org/show_bug.cgi?id=218519

But even when the selection is a file path - pasting in Tangram does not work because of the sandbox.

For now you can work around the issue by giving Tangram filesystem permissions, use Flatseal or the flatpak CLI, for example

flatpak --user override re.sonny.Tangram --filesystem=home

In the future file system permissions won't be required, support for transparent file forwarding is being worked on - I will have a look, but it might take a while

References:

@sonnyp
Copy link
Owner

sonnyp commented Jan 22, 2021

Under Flatpak - looks like a port to GTK 4 is not enough - see also https://bugs.webkit.org/show_bug.cgi?id=212079

@p5t5r
Copy link

p5t5r commented Oct 16, 2021

I gave permisions to FS but steel cannot paste screens.
image

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

3 participants