bitgapp / Cursr

KVM - Share Mouse & Keyboard between multiple computers. Custom borders and more!
https://cursr.app
Other
188 stars 4 forks source link

Extend clipboard sharing feature to include images #65

Closed anthonypants closed 3 months ago

anthonypants commented 6 months ago

Describe the Issue

I would like for the ability to copy and paste images across computers via clipboard sharing.

Additional context

Similar to copying text and sharing it across computers, if I put an image onto my clipboard, I should be able to share that across other computers, too.

ragauskl commented 6 months ago

Cursr already supports basic image types in clipboard. If this feature is not working for you there's either a bug with Cursr or the place you're trying to copy the image from provides it in currently unsupported format (which should be easy to add, I just didn't have the time to go over all formats yet and started from basics)

Can you:

  1. Try copy pasting any image from Google images from one device to another.
  2. If first step did not work - it's likely a bug, if it did work try pasting the image you had issue with to https://evercoder.github.io/clipboard-inspector/ and attach screenshot of what you see, this will help me identify missing format
anthonypants commented 6 months ago
  1. Copying an image from Google images (Firefox, Windows) pasted successfully into the Clipboard inspector (Safari, macOS)
  2. Taking a screenshot of a window in Windows pasted successfully into the Clipboard Inspector (Safari, macOS)
  3. Copying an image from the Photos app in Windows did not appear to update the clipboard in macOS, and pasting into Clipboard Inspector just re-pastes the last thing in the macOS clipboard.
  4. Copying an image from Google images (Safari, macOS) and pasting into Clipboard Inspector (Firefox, Windows) will re-paste the last thing in the Windows clipboard. If I manually clear out the clipboard in Windows, then copy some image from macOS, pasting into Clipboard Inspector (Firefox, Windows) produces the following result: image I don't really think that's very helpful, but if there's a debug mode I can turn on in Cursr, I'd be happy to give that a shot.

Also, with Cursr up and running, I'm able to copy and paste locally without issue. So, copying an image from anywhere on either operating system, and then pasting into Clipboard Inspector on the same machine, works fine. Copying and pasting text between computers is also fine.

ragauskl commented 6 months ago

Thank you for the detailed information, I'll try replicating this and see if I can include a fix with next couple patches, in any case I'll provide an update on when a fix can be expected

ragauskl commented 4 months ago

This should be now fixed in v1.7.2