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.
Copy from Nedit and paste to Guest doesn't work for:
* PRIMARY selection - text is selected with a mouse
* CLIPBOARD selection - text is explicitly copied to clipboard
In both cases:
xsel/xclip always shows correct values for PRIMARY selection / CLIPBOARD selection as text is selected / copied in nedit:
xsel --output --primary
xsel --output --clipboard
xclip -selection clipboard -out
xclip -selection primary -out
nedit is built with lesstif
Fixed in spice-gtk by commits:
b0a2ff4f205e39f87e9b54d658a27d415ee3d055
7b0de6217670e0f668aff2949fba174ed3cc0b50
b708989b12122af39144b856576c2dd234130b9c
24fe1387f966193c60d5f2c72a0f551b7ed593f1
(In reply to Pavel Grunt from comment #10)
> Fixed in spice-gtk by commits:
> b0a2ff4f205e39f87e9b54d658a27d415ee3d055
> 7b0de6217670e0f668aff2949fba174ed3cc0b50
> b708989b12122af39144b856576c2dd234130b9c
> 24fe1387f966193c60d5f2c72a0f551b7ed593f1
If so, can we still pull it to RHBA-2016:23034?
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.
https://rhn.redhat.com/errata/RHBA-2016-2229.html
Description of problem: Cope/paste from client to guest does not work for motif client application. Version-Release number of selected component (if applicable): guest: rhel 7.3 spice-vdagent-0.14.0-10.el7.x86_64 client: tested rhel6.8,rhel7.3 nedit-5.5-23.el6.x86_64 How reproducible:always Steps to Reproduce: 1.on client install NEdit 2.type some text and copy it (ctrl+C) 3.open any text editor in guest VM and paste (ctrl+P) Actual results:nothing is pasted Expected results: paste the copied text from client to guest Additional info: vdagent log of guest VM: un 21 17:11:26 localhost.localdomain spice-vdagent[9288]: 0x10fe300 received clipboard release, arg1: 1, arg2: 0, size 0 Jun 21 17:11:26 localhost.localdomain spice-vdagent[9288]: primary: New selection owner: 0 Jun 21 17:11:28 localhost.localdomain spice-vdagent[9288]: 0x10fe300 received clipboard grab, arg1: 1, arg2: 0, size 4 Jun 21 17:11:28 localhost.localdomain spice-vdagent[9288]: primary: New selection owner: 10485761 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: 0x10fe300 received clipboard release, arg1: 0, arg2: 0, size 0 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: New selection owner: 0 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: 0x10fe300 received clipboard grab, arg1: 0, arg2: 0, size 4 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: New selection owner: 10485761 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: sent 5 targets: Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: TARGETS Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: UTF8_STRING Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: text/plain;charset=UTF-8 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: text/plain;charset=utf-8 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: STRING Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: sent 5 targets: Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: TARGETS Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: UTF8_STRING Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: text/plain;charset=UTF-8 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: text/plain;charset=utf-8 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: STRING Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: sent 5 targets: Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: TARGETS Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: UTF8_STRING Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: text/plain;charset=UTF-8 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: text/plain;charset=utf-8 Jun 21 17:11:29 localhost.localdomain spice-vdagent[9288]: clipboard: STRING Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: clipboard: unexpected selection type GTK_TEXT_BUFFER_CONTENTS Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: clipboard: sent 5 targets: Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: clipboard: TARGETS Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: clipboard: UTF8_STRING Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: clipboard: text/plain;charset=UTF-8 Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: clipboard: text/plain;charset=utf-8 Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: clipboard: STRING Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: 0x10fe300 sent clipboard request, arg1: 0, arg2: 1, size 0 Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: 0x10fe300 received clipboard data, arg1: 0, arg2: 0, size 0 Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: clipboard: expecting type 1 clipboard data got 0 Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: clipboard: unexpected selection type COMPOUND_TEXT Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: 0x10fe300 sent clipboard request, arg1: 0, arg2: 1, size 0 Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: 0x10fe300 received clipboard data, arg1: 0, arg2: 0, size 0 Jun 21 17:11:42 localhost.localdomain spice-vdagent[9288]: clipboard: expecting type 1 clipboard data got 0