wulkano / Kap

An open-source screen recorder built with web technology
https://getkap.co
MIT License
18.06k stars 824 forks source link

Copy GIF to clipboard results in PNG being pasted #725

Open levrik opened 5 years ago

levrik commented 5 years ago

macOS version: 10.14.6 Kap version: https://github.com/wulkano/kap/commit/735ddaf8cdfd03db4481c816647a6bcce10aa936

Current behaviour

Kapture 2019-09-23 at 14 31 33

Showing GitHub as paste target here, same issue applies to Slack for example.

Expected behaviour

It copies the exported GIF to the clipboard.

albinekb commented 5 years ago

As a workaround, you can export to file, then drag and drop from the exports window

sindresorhus commented 5 years ago

That is a bug in Chrome which has been open for years. Not much we can do about it.

levrik commented 5 years ago

@sindresorhus Oh. Wow. I wonder where people try to copy GIFs besides Chrome and Electron applications, that nobody reported this yet here 😅

skllcrn commented 5 years ago

Earlier this functionality was provided by the kap-clipboard plugin, which is now deprecated. We only recently made it available through Kap itself and we're really bummed that this has been lingering upstream for so long.

sindresorhus commented 5 years ago

I even got Chrome friends to comment on the bug with no result...

sindresorhus commented 5 years ago

We should definitely add back drag and drop, but built-in, as that actually works with Chrome.

skllcrn commented 5 years ago

It'd be really cool to drag and drop right off the preview, but we need to convert the file first... At least you can drag and drop from the export history.