Previously, if SPICE was disconnected in the middle of copying and pasting data from the client to the guest, copy and paste would stop working after SPICE was reconnected. Now, the clipboard timeout has been adjusted so that if SPICE is unexpectedly disconnected, the immediate copy and paste action will fail, but subsequent attempts will be successful.
Description of problem:
When the client is disconnected in the middle of a copy-paste from the client to the guest, and not all the copied data reached the guest, copy-paste does no longer work after reconnecting the client.
The client mouse still works.
Restarting the vdservice restores the copy-paste functionality.
This bug may be a derivative of bug #815779
The remote viewer also showed the following error:
(remote-viewer:11839): GSpice-CRITICAL **: agent_clipboard_notify: assertion `VD_AGENT_HAS_CAPABILITY(c->agent_caps, sizeof(c->agent_caps), VD_AGENT_CAP_CLIPBOARD_BY_DEMAND)' failed
Steps to Reproduce:
1. Copy data from the client to the guest. The amount of data need to bee big enough for being able to disconnect the client in the middle of the transfer, but small enough for not triggering bug #815779.
2. disconnect the client in the middle of the copy-paste
3. reconnect the client
4. try to copy-paste
Actual results:
copy-paste fails
Expected results:
the last copy-paste, before the disconnection, fails, but the following copy-pastes should succeed.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHSA-2013-0924.html