novnc / noVNC

VNC client web application
https://novnc.com
Other
11.34k stars 2.26k forks source link

Automatic clipboard copying #1511

Open davidnewcomb opened 3 years ago

davidnewcomb commented 3 years ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like The Clipboard button is nice, but I really want a checkbox before it, which auto copies the clipboard contents in both directions. People can use the old style cut and paste into a box or the new style "do nothing" ;) I suggested the checkbox because I can see that some people might not want to use it like that.

Describe alternatives you've considered If you wanted to go nuts, then you could allow/disallow different directions from server or client option.

Additional context n/a

CendioOssman commented 3 years ago

This is currently being discussed under #1347.

Icedroid commented 3 years ago

shoud it supoort qemu virtual machine?

CendioOssman commented 3 years ago

I don't think QEMU has clipboard support over VNC, no.

snickell commented 3 years ago

👋 , @juanjoDiaz has done what looks like the vast majority of the work required to implement this in #1347, but has indicated he might not have more time to spend on this at the moment.

I've continued the PR in #1562 , which currently only adds a merge conflict resolution, but after doing so all tests pass again. I'll be adding more code there as we move along to getting this PR merge-able.

Fantu commented 1 year ago

qemu 6.1 added clipboard support to vnc, libvirt part still not accepted but can be setted with additional qemu parameter: https://bugzilla.redhat.com/show_bug.cgi?id=1874926#c50 tested with novnc 1.3.0 and clipboard is working in both way would be useful have also automatic clipboard support in novnc (maybe even only optionally activated by a button on the toolbar)

freebrowser1 commented 2 months ago

Is this issue now being fixed ? This is a big annoyance in novnc which is furthermore an awesome tool. It is rather primitive to copy the text twice via an intermediate popup.

samhed commented 1 month ago

There have been several PRs opened on the topic, but none has yet managed to iron out the remaining issues. Agreed, it would be very nice to have an easier copy-paste in noVNC.