Bug 1214702

Summary: Cut and paste between Gnome/GTK3 applications and GTK2/X11 applications does not work in a Gnome wayland session
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: waylandAssignee: Adam Jackson <ajax>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: ajax, alexvillacislasso, anton4linux, berend, danloomis47, djip.perois, euagelos, evgenymarkov, fedora, marcvanwageningen, mfabian, ricardo.arguello, sassmann, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 13:50:37 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 Mike FABIAN 2015-04-23 12:16:40 UTC
Fedora 22 Beta installed in qemu using:

nice ionice -c 3 qemu-kvm -machine pc-1.3 -enable-kvm -global qxl.ram_size=1x1024 -m 2048M -smp 2 -drive file=./Fedora-Live-Workstation-x86_64-22_Beta-3.iso.qcow2,index=0,media=disk,cache=unsafe -localtime -serial file:/tmp/qemu-Fedora-Live-Workstation-x86_64-22_Beta-3.iso.qcow2-output.log -name Fedora-Live-Workstation-x86_64-22_Beta-3.iso.qcow2 -cdrom /local/mfabian/iso/f22-Beta-RC3/Fedora-Live-Workstation-x86_64-22_Beta-3.iso -boot c -spice port=6000,disable-ticketing,streaming-video=off -vga qxl -display vnc=:4 -net nic -net user,hostname=Fedora-Live-Workstation-x86_64-22_Beta-3.iso.qcow2,hostfwd=tcp::5560-:22 -monitor stdio -usb


All current updates installed with

    sudo dnf update

rebooted, then logged into a Gnome wayland session.

Cut and paste between Gnome/GTK3 applications is possible
(But not with the mouse only, see bug#1214655).

Cut and paste between firefox (GTK2) and xterm (X11) is also possible
in both directions (using the mouse only).

But cut and paste between firefox (GTK2) and gnome-terminal or gedit (GTK3)
does not work at all, no matter whether one tries to use the mouse
only or keybindings.

Cut and paste between xterm and gnome-terminal or gedit (GTK3)
does not work either, no matter whether one tries to use the mouse
only or keybindings.

Comment 1 Mike FABIAN 2015-05-27 09:00:04 UTC
Still happens unchanged on Fedora 22 final
(tested on Fedora-Live-Workstation-x86_64-22-3.iso)

Comment 2 Christian Stadelmann 2015-11-14 11:27:43 UTC
I cannot confirm your issue any more on F23.

Comment 3 Dan Loomis 2015-11-14 16:40:11 UTC
F23 on Wayland works a lot better now.   I've been running it for over a week with very few issues.  
Cut and paste from/to Firefox and Gedit works
Cut and paste from/to Libre Office and Firefox works
Cut and paste from/to Gedit and Libre Office works
Cut and paste from/to gedit and gnome terminal works

Comment 4 evgenymarkov 2016-05-10 19:59:50 UTC
Please close this bug if the behavior has improved in the new software versions

Comment 5 Mike FABIAN 2016-05-12 14:04:13 UTC
(In reply to evgenymarkov from comment #4)
> Please close this bug if the behavior has improved in the new software
> versions

I cannot test with firefox because firefox crashes immediately for me
on Fedora-Workstation-netinst-x86_64-24_Beta-1.6.iso
(
   https://bugzilla.redhat.com/show_bug.cgi?id=1335018
   https://bugzilla.redhat.com/show_bug.cgi?id=1319854
)

Comment 6 Mike FABIAN 2016-05-12 14:05:25 UTC
libreoffice doesn’t start either.

xterm starts. Pasting from gedit into xterm works using the middle
mouse button, pasting from xterm into gedit does not work.

Comment 7 Berend De Schouwer 2016-05-19 08:08:36 UTC
F24 Beta Status:

Pasting from gedit (gtk3) to epiphany/web (gtk3) doesn't work using context menus or shortcuts.

Pasting from gedit (gtk3) to gnome-terminal (gtk3) and back works using context menus and shortcuts.

Pasting from gedit (gtk3) to firefox (gtk3 now? libmozgtk.so is linked to gtk-3.so) works

gtk3 -> qt4 works.
gtk3 -> qt5 works.
qt4 -> gtk3 does not work.
qt5 -> gtk3 does not work.

qt4 <-> qt5 works.
gtk2 <-> gtk3 works.

For qt4 I used lyx, for qt5 I used konsole.  For gtk2 I used gscan2pdf since Firefox appears to use gtk3 now.


Unknown why WebKitWebProcess doesn't use the same clipboard.  I can't even seem to cut-and-paste between two different WebKitWebProcess-es, but I can cut-and-paste in the same one.  This may be a separate bug.


middle-click doesn't work (at all) for me right now.  Might be a hardware/setting issue.  Neither middle, nor left+right pastes.  I've tried different mouse settings.  I can't test xterm at all.  xterm <-> xterm failed.

Comment 8 Berend De Schouwer 2016-05-19 09:07:07 UTC
(In reply to Berend De Schouwer from comment #7)
> Unknown why WebKitWebProcess doesn't use the same clipboard.  I can't even
> seem to cut-and-paste between two different WebKitWebProcess-es, but I can
> cut-and-paste in the same one.  This may be a separate bug.

cut-and-paste of the URL bar and "copy link address" do work.  so it's the webkitwebprocess, and not epiphany, that's broken.

Comment 9 Fedora End Of Life 2016-07-19 13:50:37 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 10 fujiwara 2016-07-20 04:58:11 UTC
I think the subject issue is fixed in Fedora 24.
Middle click issue is filed in bug 1214655.
The issue between QT and GTK needs to be filed as a new bug.

Comment 11 Christian Stadelmann 2016-07-20 11:17:17 UTC
(In reply to fujiwara from comment #10)
> I think the subject issue is fixed in Fedora 24.
> Middle click issue is filed in bug 1214655.
> The issue between QT and GTK needs to be filed as a new bug.

No, it is not completely fixed in F24, even between Gtk+ 3 applications.

See these upstream bugs:
https://bugzilla.gnome.org/show_bug.cgi?id=759625
https://bugzilla.gnome.org/show_bug.cgi?id=759626
but there is more to that.

Comment 12 fujiwara 2016-07-21 04:55:03 UTC
(In reply to Christian Stadelmann from comment #11)
> (In reply to fujiwara from comment #10)
> > I think the subject issue is fixed in Fedora 24.
> > Middle click issue is filed in bug 1214655.
> > The issue between QT and GTK needs to be filed as a new bug.
> 
> No, it is not completely fixed in F24, even between Gtk+ 3 applications.
> 
> See these upstream bugs:
> https://bugzilla.gnome.org/show_bug.cgi?id=759625
> https://bugzilla.gnome.org/show_bug.cgi?id=759626
> but there is more to that.

I think those bugs are treated as separated bugs.