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
Forwarded to upstream VTE: https://bugzilla.gnome.org/show_bug.cgi?id=789954
Thanks for the report! This appears to be pure vte issue - correct, Egmont?
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.
Fixed upstream in vte-0.51.92 (https://git.gnome.org/browse/vte/commit/?id=a9e75c451).
Thank you, Egmont!