arboard icon indicating copy to clipboard operation
arboard copied to clipboard

Get image, always empty

Open bq-wrongway opened this issue 11 months ago • 1 comments

Im struggling to understand ehat is the issue, i tried with fedora kde and popos, both on wayland and one time x11.

I had both features of the crate enabled, but still when i try to get image form system clipboard its always an error, general error that the clipboard is either empty or not supproted.

I tried coping png,jpeg,jpg,webp, always same thing.

Text always works though,so not sure what the issue is, am i missing something?

bq-wrongway avatar Apr 27 '25 19:04 bq-wrongway

Hey there, thanks for the issue. From reading this I don't think you're missing anything.

I tried using the latest main on Ubuntu 22/GNOME X11 through the example after copying a PNG out of Google Images in Firefox:

cargo run --example get_image

This seemingly worked fine and it dumped a ton of bytes to my terminal. I can try to look at the distributions you mentioned, but the extra testing/debugging won't be high on my priority list.

If you're still interested in this issue, can I ask that you try using wl-paste --list-types or xclip -o -target TARGETS -selection clipboard after you copy the image to see what MIME types the application copying the clipboard is advertising? arboard should be picking up on anything offered as a PNG.

complexspaces avatar Jun 16 '25 01:06 complexspaces