Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 833835

Summary: copy-paste stops working after client disconnection during a copy-paste
Product: Red Hat Enterprise Linux 8 Reporter: Yonit Halperin <yhalperi>
Component: spice-vdagent-winAssignee: Arnon Gilboa <agilboa>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: ---CC: acathrow, cfergeau, dblechte, dyasny, italkohe, jbiddle, mbarta, mkrcmari
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdagent-win-0.1-13 Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-10 20:26:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
set timeout for next clipboard chunk instead of complete reception none

Description Yonit Halperin 2012-06-20 12:57:21 UTC
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.

Comment 2 David Blechter 2012-10-03 12:41:39 UTC
need to move to the next release due to other bugs have been focused on.

Comment 3 Arnon Gilboa 2012-11-07 15:12:10 UTC
Created attachment 640139 [details]
set timeout for next clipboard chunk instead of complete reception

Comment 8 errata-xmlrpc 2013-06-10 20:26:33 UTC
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