Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1761434

Summary: Copy/paste from XWayland to Wayland-native apps doesn't work
Product: [Fedora] Fedora Reporter: Nils Philippsen <nphilipp>
Component: xorg-x11-serverAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: bskeggs, caillon+fedoraproject, jglisse, john.j5live, nphilipp, ofourdan, rhughes, rstrode, sandmann, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 09:46:08 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:

Description Nils Philippsen 2019-10-14 11:59:10 UTC
Description of problem: Attempting to copy/paste from X11 apps like Chromium, Hexchat into Wayland apps like GNOME Terminal fails.

Version-Release number of selected component (if applicable):
xorg-x11-server-Xwayland-1.20.5-7.fc31.x86_64
chromium-77.0.3865.90-2.fc31.x86_64
chromium-vaapi-77.0.3865.90-1.fc31.x86_64
hexchat-2.14.2-5.fc31.x86_64
gnome-terminal-3.34.1-1.fc31.x86_64

How reproducible:
Reproducible

Steps to Reproduce:
In a GNOME/Wayland session, with middle-click pasting enabled:
1. Select text in a Chromium window.
2. Middle-click into a terminal window.

Or, in a GNOME/Wayland session:
1. Select text in a Chromium window.
2. Press Ctrl+C to copy it.
3. Switch to a terminal window.
4. Press Ctrl+V to paste.

Actual results:
The selected text is not pasted.

Expected results:
The selected/copied text is pasted, this works in GNOME/Xorg, as well as between X11 apps under Wayland.

Additional info:
Copy/paste via Ctrl+C/V works from Hexchat to Wayland apps like the Terminal, but not from Chromium or xterm (with Shift+Ctrl+C/V bound to copy/paste to/from clipboard).

Comment 1 Nils Philippsen 2019-10-16 09:46:08 UTC

*** This bug has been marked as a duplicate of bug 1758873 ***