wl-clipboard icon indicating copy to clipboard operation
wl-clipboard copied to clipboard

Cannot paste video copied via wl-copy into most apps (Discord, Chrome, Firefox, etc.)

Open gre4kapi opened this issue 8 months ago • 2 comments

When copying a video file into the clipboard using wl-copy, pasting it into various applications does not work. wl-paste --list-types correctly shows the MIME type as video/mp4, but pasting via Ctrl+V in most apps results in no action.

Tested Applications: Discord: nothing happens Telegram: nothing happens Chrome / Chromium / Firefox: nothing happens Dolphin: shows a filename input dialog, then creates a file with that name - this is the only app where something happens at all All tested apps were running in Wayland mode

System info: CachyOS (arch-based), KDE 6.4.1, Wayland, Nvidia 575

gre4kapi avatar Jun 30 '25 15:06 gre4kapi

Hi, why do you think this is a bug in wl-clipboard? wl-clipboard is just copying that MP4 video, which apparently Discord, Telegram, Chrome, and Firefox don't know how to paste.

You might have more luck copying "the file itself" rather than its contents, see e.g. https://github.com/bugaevc/wl-clipboard/issues/244

bugaevc avatar Jul 02 '25 12:07 bugaevc

Thx, atleast it something. With the wl-copy -t text/uri-list file://path/to/file i can paste to every mentioned apps except Dolphin - when trying to paste in dolphin it says that "File or folder smb://path/to/file does not exists" and creates file.part with 0 bytes size

gre4kapi avatar Jul 02 '25 12:07 gre4kapi