-
Notifications
You must be signed in to change notification settings - Fork 75
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
WebP images that have been inserted to the clipboard using xclip can't be pasted into other programs #151
Comments
I have opened an issue related to this topic in the Inkscape bug's repository. Here's the link. |
Try Honestly, I was originally speculating about if common terminal emulators don't provide a selection target for images but after clearing by using
when checking targets via |
@schrmh I downloaded the same image from my first comment and I used the flag wget -O /tmp/a.webp 'https://upload.wikimedia.org/wikipedia/commons/c/c6/Vunosnii-balcon.webp' /usr/bin/xclip -selection clipboard -t image/webp -i /tmp/a.webp I could not paste the image in neither Libreoffice, GIMP nor Inkscape in Ubuntu 24.04.1 LTS. Gimp showed the message "There is no image data in the clipboard to paste." Inkscape showed the message "Nothing on the clipboard". Libreoffice just did nothing when I pressed Ctrl+v. Nothing happened when I right-clicked anywhere in the document and then clicked on "Paste". System informationlsb_release -a
All of the programs below were installed using $ /usr/bin/gimp --version
$ /usr/bin/inkscape --version
$ /usr/bin/libreoffice --version
|
Steps to reproduce
$ xclip -selection clipboard -t image/webp /tmp/a.webp
. You can download a simple image from Wikimedia Commons using the following command:$ wget -O /tmp/a.webp 'https://upload.wikimedia.org/wikipedia/commons/c/c6/Vunosnii-balcon.webp'
Ctrl+v
to insert the WebP image in the programWhat happened?
Although the image is in the clipboard, pressing
Ctrl+v
doesn't paste the image in the program (be it Inkscape, GIMP or LibreOffice)What should have happened?
Upon pressing
Ctrl+v
, the image should have been pasted into the program.Additional information
When I open the image in Mozilla Firefox 125.0.3 and I right click on the image and I choose the option
Copy Image
, I can then paste it in any of the aforementioned programs: Inkscape, GIMP and LibreOffice. The image can't be pasted into those programs when the image has been inserted to the clipboard using$ xclip -selection clipboard -t image/webp /tmp/a.webp
.System information
The text was updated successfully, but these errors were encountered: