Bug 102194 - Guest to client copy-paste is trimmed after 65536 bytes under wayland
Summary: Guest to client copy-paste is trimmed after 65536 bytes under wayland
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: unix agent (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-13 11:12 UTC by Snir Sheriber
Modified: 2018-03-29 15:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Snir Sheriber 2017-08-13 11:12:10 UTC
Description of problem:

When trying to copy some large selection of text (>65536) using PRIMARY or CLIPBOARD selections from guest and paste it in the client, text will be cut off after 65536 bytes.

Components:
guest: fedora 26 working with gnome wayland
spice-vdagent 0.17.0
Client machine is fedora 25 (using xorg)
spice-gtk 0.34-1

Steps to reproduce:
1. Connect to guest (with wayland)
2. Open large text file (>65536) e.g using gedit
3. Select all (ctrl+a) [and copy]
4. Paste or middle click into gedit (or any other text editor)

Results:
Copied text was trimmed

Seems some Wayland adjustments are needed.

Notes
* Copy and paste inside the guest works.
* Copy and paste from a fedora 26 guest using xorg to client works
Comment 1 Jakub Janků 2018-03-29 15:47:05 UTC
Not a bug in spice, see:

[0] https://gitlab.gnome.org/GNOME/gtk/issues/1
[1] https://gitlab.gnome.org/GNOME/mutter/issues/1

Both issues have been resolved.
Tested on Rawhide with gtk3-3.22.29-1.fc29, mutter-3.28.0-1.fc29 and spice-vdagent works as it's supposed to.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.