After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 306252 - RFE: clipboard support between host and vnc server
RFE: clipboard support between host and vnc server
Status: RESOLVED FIXED
Product: vino
Classification: Applications
Component: Server
2.10.x
Other Linux
: Normal enhancement
: ---
Assigned To: Jonh Wendell
Vino Maintainer(s)
: 414796 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-06-02 12:12 UTC by Sebastien Bacher
Modified: 2007-10-15 18:38 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Proposed patch (2.47 KB, patch)
2007-10-15 18:16 UTC, Jonh Wendell
committed Details | Review

Description Sebastien Bacher 2005-06-02 12:12:11 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/11321

"Vino doesn't support clipboard features between the VNC client and the VNC
server. For example, using a regular VNC server with tightVNC client on my win2k
box, I can select text in an Xterm window, switch back to windows and do a
'CTRL-V' to paste the text into a windows app. Same goes transferring the
windows clipboard to the VNC server.

Supporting clipboard functionality across the VNC server/client boundary would
be a great enhancement.

Probably need to open this one upstream..."
Comment 1 Jonh Wendell 2007-03-05 11:20:35 UTC
*** Bug 414796 has been marked as a duplicate of this bug. ***
Comment 2 Jonh Wendell 2007-10-15 18:16:25 UTC
Created attachment 97254 [details] [review]
Proposed patch
Comment 3 Mark McLoughlin 2007-10-15 18:27:27 UTC
Looks cool to me

One suggestion I'd make would be to do:

  text = gtk_clipboard_wait_for_text (cb);
  if (!text)
      return;

For the record, a couple of things we discussed offline:

  + Do we want to send an empty string if wait_for_text() returns
    NULL? e.g. if it returns NULL when the clipboard has been emptied?
    Answer is that it also returns NULL when there's an error, and you
    wouldn't want to empty the client's clipboard in that case.

  + How can you assume the client's codeset is iso8859-1? Answer is that
    the RFB spec mandates that.
Comment 4 Jonh Wendell 2007-10-15 18:38:21 UTC
2007-10-15  Jonh Wendell  <jwendell@gnome.org>

	* server/vino-server.c,
	* server/vino-input.c: Handles clipboard text (Closes #306252)