! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Clipboard contents are lost when running screen
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description rtc 2017-11-06 00:50:17 CET
From https://bugzilla.redhat.com/show_bug.cgi?id=1508267

Description of problem:
When I select something in an xfce4-terminal window and Press Shift+Strg+C to copy it into the clipboard, then start screen, the contents of the clipboard are lost.

This happens only if the selection is in the same terminal that I run screen in. If the selection is in other xfce4-terminal windows or tabs the bug does not occur 

Version-Release number of selected component (if applicable):
vte291-0.48.4-1.fc26.x86_64
xfce4-terminal-0.8.6-1.fc26.x86_64
screen-4.6.1-1.fc26.x86_64

How reproducible:
always

Steps to Reproduce:
1. open xfce4-terminal
2. select the prompt
3. Press Shift+Strg+C
4. enter "screen" in the terminal
5. press middle mouse button. Enter Shift+Strg+V

Actual results:
Step 4 + 5: nothing happens

Expected results:
Prompt is pasted into the window

Additional info:
Problem does not occur with xterm
Comment 1 Egmont Koblinger 2017-11-06 10:00:02 CET
Forwarded to upstream VTE: https://bugzilla.gnome.org/show_bug.cgi?id=789954
Comment 2 Igor editbugs 2017-11-06 12:39:20 CET
Thanks for the report!

This appears to be pure vte issue - correct, Egmont?
Comment 3 Egmont Koblinger 2017-11-06 13:13:31 CET
Yup, probably nothing you could do from xfce4-terminal.

It's in vte.cc VteTerminalPrivate::reset(), ~20 lines beginning at the comment "/* Reset selection. */". You could try to see if by removing those lines the bug is gone.

It's unclear to me whether we should leave those there, behind a certain condition, and what that condition exactly should be.
Comment 4 Egmont Koblinger 2018-03-06 09:23:19 CET
Fixed upstream in vte-0.51.92 (https://git.gnome.org/browse/vte/commit/?id=a9e75c451).
Comment 5 Igor editbugs 2018-03-06 12:55:59 CET
Thank you, Egmont!

Bug #13976

Reported by:
rtc
Reported on: 2017-11-06
Last modified on: 2018-03-06

People

CC List:
2 users

Version

Attachments

Additional information