Tangram
Tangram copied to clipboard
Paste Images
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
It appears some cases works - others don't.
Can you please share
- How do you copy the image
- Where are you trying to paste them?
Related https://bugs.webkit.org/show_bug.cgi?id=218519
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:
- https://github.com/flatpak/xdg-desktop-portal/issues/99
- https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/418
Under Flatpak - looks like a port to GTK 4 is not enough - see also https://bugs.webkit.org/show_bug.cgi?id=212079
I gave permisions to FS but steel cannot paste screens.
