Red Hat Bugzilla – Bug 650884
Extending selection in GNOME terminal does not refresh the buffer
Last modified: 2015-03-03 17:54:48 EST
+++ This bug was initially created as a clone of Bug #573710 +++
Description of problem:
Text which has been selected using shift-left-click is highlighted, but isn't entered into the cut-paste buffer.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start with multiple words of text on the screen, e.g., "foo bar".
2. Double left-click on "foo"; "foo" is now highlighted.
3. Press the shift key and and single left-click on "bar"; the entire string "foo bar" is now highlighted.
4. Select "Copy" from the "Edit" menu.
5. At this point, doing a "Paste" will only produce the single word "foo", not "foo bar".
Only the first selected/highlighted word is copied.
All selected/highlighted text should be copied.
I believe this is a bug in VTE rather than in gnome-terminal. Looks like this git commit:
To fix the corresponding bug upstream:
Created attachment 458695 [details]
Proposed patch based on upstream git commit 5dc9b3ce
Applying the patch to vte-0.25.1 does indeed fixes the issue.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Due to an error in VTE, using the Shift+left-click combination to select a text in a VTE-based application (for example, GNOME Terminal) could fail to copy this selection into the cut buffer. With this update, an upstream patch has been applied to address this issue, and such selection is now copied to the cut buffer as expected.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.