GNOME Bugzilla – Bug 760294
middle-click selection paste with xsel freezes the window
Last modified: 2016-10-11 12:59:03 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.
Created attachment 318441 [details] journalctl -ab > journal.log
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.
Sorry, not rawhide, I meant Fedora 24
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 ***