beagle-im icon indicating copy to clipboard operation
beagle-im copied to clipboard

Provide ability to paste graphical clipboard contents.

Open jhfrontz opened this issue 3 years ago • 9 comments

It would be nice if I could capture some graphical object in the clipboard (e.g., by doing a screen capture) and paste it into Beagle (and have it automatically, say, create a temporary file and upload it to the conversation).

This functionality may be a subset of that requested in https://github.com/tigase/beagle-im/issues/41

jhfrontz avatar Sep 08 '20 16:09 jhfrontz

Currently on macOS, when you make a screenshot it's preview is displayed in the corner and you can drag'n'drop it to Beagle to send it.

woj-tek avatar Sep 08 '20 18:09 woj-tek

Currently on macOS, when you make a screenshot it's preview is displayed in the corner and you can drag'n'drop it to Beagle to send it.

I'm not seeing that (on either Mojave or Catalina) when using Command-shift-4 to capture.

jhfrontz avatar Sep 08 '20 18:09 jhfrontz

I think it may have came with Catalina, but I'm not sure here. I quickly checked and https://www.maketecheasier.com/get-rid-floating-screenshot-preview-macos/ mentiones Mojave as well.

woj-tek avatar Sep 08 '20 19:09 woj-tek

Aha, after playing around a bit I found that you have to change the save-to location to "desktop" (vs. clipboard), which probably makes it a file that can be dragged.

jhfrontz avatar Sep 08 '20 19:09 jhfrontz

Providing pasting arbitrary payload is more complex as we are not getting encoded file or encoded data but just raw image or movie which would need to be encoded, most likely previewed before it would be sent. That would force us to add a lot of a code for a future which in most cases can be easily replaced by saving a file and just dragging and dropping it to the chat window.

We will consider this for future versions but it is rather low priority features.

hantu85 avatar Sep 09 '20 09:09 hantu85

Currently on macOS, when you make a screenshot it's preview is displayed in the corner and you can drag'n'drop it to Beagle to send it.

Whoa! I had no idea you could interact with that thumbnail beyond click-to-annotate. I always waited for it to go away to drag it from Desktop to email/chat/etc. That's great to know!

michaelblyons avatar Oct 30 '20 15:10 michaelblyons

Dino added this seemingly without too much hassle..

stevenroose avatar Dec 21 '21 14:12 stevenroose

Currently on macOS, when you make a screenshot it's preview is displayed in the corner and you can drag'n'drop it to Beagle to send it.

I am on macOS and I cannot send images nor send voice messages. The buttons are disabled and even if I drag'n'drop image it pastes filesystem path to that file, rather than the actual content. Screen Shot 2022-04-04 at 15 12 03

System info image

TheSenPie avatar Apr 04 '22 11:04 TheSenPie

@TheSenPie Please do not hijack issues.

This has nothing to do with Beagle IM abilities, most likely your server is not reporting HTTP File Upload in a way in which it is expected to do so.

It may be related to https://github.com/tigase/siskin-im/issues/37

hantu85 avatar Apr 04 '22 11:04 hantu85