After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760294 - middle-click selection paste with xsel freezes the window
middle-click selection paste with xsel freezes the window
Status: RESOLVED DUPLICATE of bug 760745
Product: mutter
Classification: Core
Component: wayland
3.18.x
Other Linux
: Normal blocker
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2016-01-07 20:40 UTC by Konstantin
Modified: 2016-10-11 12:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
journalctl -ab > journal.log (73.59 KB, text/x-log)
2016-01-07 20:41 UTC, Konstantin
Details

Description Konstantin 2016-01-07 20:40:04 UTC
I'm running Fedora 23 with latest updates. I have a problem with middle-click selection paste. This kind of selection is essential for my workflow.

My main app is rxvt-unicode with a perl clipboard extention for copy/past in terminal. The code of the extention is below:


#!/usr/bin/perl
#
# /usr/lib64/urxvt/perl/clipboard

use warnings;

sub on_sel_grab {

    open my $pipe, '|-:utf8', 'xsel -i -b' or die "can't run xsel: $!";
    print $pipe $_[0]->selection;
    close $pipe;

    ()
}

How I reproduce the problem:

1) Run Gnome Wayland session
2) Run urxvt like this (I do it with hotkey):

urxvt -pe clipboard -ls -bg black -fg grey -geometry 95x25 -name Xterm -sl 15000 -C -fn '-cronyx-*-medium-r-*-*-17-*-*-*-*-*-*' +sb

3) Lock the screen with Win+L and then unlock it
4) Focus on urxvt from step 2 or run a new urxvt. Select some string in the terminal window with a mouse.
5) Try to paste with Shift+Ins and get a freeze of the window. After a while "Force Quit" dialog appears.

Paste works as expected if you at step 4 run another urxvt from existing urxvt window. No such problem in Xorg session.

Don't know where to report the problem, used this https://fedoraproject.org/wiki/How_to_debug_Wayland_problems#Reporting_the_issue as a manual.
Comment 1 Konstantin 2016-01-07 20:41:54 UTC
Created attachment 318441 [details]
journalctl -ab > journal.log
Comment 2 Olivier Fourdan 2016-03-15 10:31:48 UTC
I tried in rawhide with the steps to reproduce exactly as described in comment 0 and it worked fine, the selection pasted fine with shift+ins, no hang occured in Wayland session.
Comment 3 Olivier Fourdan 2016-03-15 10:32:18 UTC
Sorry, not rawhide, I meant Fedora 24
Comment 4 Carlos Garnacho 2016-10-11 12:59:03 UTC
Judging by the "lock/unlock screen" step, I think this is a dup of bug #760745. I indeed can't reproduce here.

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