monal-im / Monal

Monal for XMPP (iOS and macOS)
https://monal-im.org
Other
528 stars 107 forks source link

Copy & paste support for file transfer #22

Open chucker opened 8 years ago

chucker commented 8 years ago

It would be great if I could take a screenshot to the clipboard (by holding ⌃), paste it into a Monal conversation window, and have it sent (possibly using a temporary file in the background).

andersruneson commented 8 years ago

Maybe it's a separate issue, but related? When taking a photo with the camera or viewing photos with the photo viewer, should I not be able to share to Monal directly from there?

anurodhp commented 8 years ago

Sharing is a different function and something I want to add. E.g share photos from camera, links from safari etc

ofifoto commented 4 months ago

this seems to have broken at some point; pasting a file on macOS just produces a file:// url (and sending it just sends that as text), and attempting to paste a screenshot from iOS only shows an "Autofill" popup (in the usual copy/paste/autofill/etc style) - no paste option

tmolitor-stud-tu commented 4 months ago

@ofifoto This apparently got removed when the whole upload code was rewritten a few years back. Just use the attach menu in Monal and select the file you want to send.

If you absolutely need the drop/paste feature, I'm happy to take a PR. This might help implementing it: https://stackoverflow.com/questions/64978633/receive-json-file-in-dropinteraction-in-ios-app-running-in-mac-catalyst/65211685#65211685