tao icon indicating copy to clipboard operation
tao copied to clipboard

clipboard cant read image and file-url

Open tauri-apps[bot] opened this issue 3 years ago • 5 comments

This issue has been upstreamed from https://github.com/tauri-apps/tauri/issues/2786

Is your feature request related to a problem? Please describe. clipboard only read text. cant read image and file-url

Describe the solution you'd like add features to read image and file-url

Describe alternatives you've considered

tauri-apps[bot] avatar Oct 30 '21 06:10 tauri-apps[bot]

We probably should use crate like copypasta to manage clipboard instance for us.

wusyong avatar Nov 03 '21 19:11 wusyong

I agree, howevercopypasta and its dependencies don't have image support but we might be able to contribute it in the future.

I think we should remove clipboard access from tao all together and let tauri use copypasta directly.

amrbashir avatar Nov 04 '21 13:11 amrbashir

Also, check out https://github.com/aweinstock314/rust-clipboard which looks to be well maintained.

Unfortunately none of the options I found offer file and image support. My use case is file URLs.

betamos avatar Mar 28 '22 03:03 betamos

How is this issue progressing now

Soya-xy avatar May 20 '22 04:05 Soya-xy

i fing arboard lib Text and pictures are supported but now not support other file type

Soya-xy avatar May 20 '22 05:05 Soya-xy

Closing as this won't be implemented in tao, and clipboard will be removed, please use arboard crate instead.

amrbashir avatar Jan 10 '23 16:01 amrbashir