Bug 1348624
| Summary: | Can not copy/paste from motif application | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Radek Duda <rduda> |
| Component: | spice-gtk | Assignee: | Christophe Fergeau <cfergeau> |
| Status: | CLOSED ERRATA | QA Contact: | SPICE QE bug list <spice-qe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | astepano, bsanford, cfergeau, pgrunt, rbalakri, rduda, tlavigne, tpelka |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | spice-gtk-0.31-6.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 01:22: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: | |||
timing: 17:11:26 - copy 17:11:42 - paste We had https://bugzilla.redhat.com/show_bug.cgi?id=1348624 in the past which was related to motif Looks like we need to handle additional text targets ? (In reply to Christophe Fergeau from comment #2) > We had https://bugzilla.redhat.com/show_bug.cgi?id=1348624 in the past which > was related to motif > Looks like we need to handle additional text targets ? Your link redirects to this bug. You mean this one?: bug 1117764 Yep :) thanks! 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 There is https://bugzilla.gnome.org/show_bug.cgi?id=768082 about copying issues with nedit and gtk. It has wayland in the title, but can be related See https://bugzilla.redhat.com/show_bug.cgi?id=1117764 which mentions nedit/motif apps as well. Sent patches to the ML which should help https://lists.freedesktop.org/archives/spice-devel/2016-August/031259.html https://lists.freedesktop.org/archives/spice-devel/2016-August/031258.html 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