Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 650884

Summary: Extending selection in GNOME terminal does not refresh the buffer
Product: Red Hat Enterprise Linux 6 Reporter: Olivier Fourdan <ofourdan>
Component: vteAssignee: Tomáš Bžatek <tbzatek>
Status: CLOSED ERRATA QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: cmeadors, jwest, kem, ofourdan, spurrier, syeghiay, tsmetana
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vte-0.25.1-6.el6 Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: 573710 Environment:
Last Closed: 2011-03-02 13:10:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 662543    
Attachments:
Description Flags
Proposed patch based on upstream git commit 5dc9b3ce none

Description Olivier Fourdan 2010-11-08 09:22:27 UTC
+++ 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):

vte-0.25.1-5.el6

How reproducible:

Always

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".
  
Actual results:
Only the first selected/highlighted word is copied.

Expected results:
All selected/highlighted text should be copied.

Additional info:

I believe this is a bug in VTE rather than in gnome-terminal. Looks like this git commit:

    http://git.gnome.org/browse/vte/commit/?id=5dc9b3ce32070f1a7040b8ed24d9d463ad6a67b0

To fix the corresponding bug upstream:

    https://bugzilla.gnome.org/show_bug.cgi?id=614658

Comment 1 Olivier Fourdan 2010-11-08 10:23:22 UTC
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.

Comment 9 Jaromir Hradilek 2011-01-31 16:46:01 UTC
    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.
    
    New Contents:
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.

Comment 11 errata-xmlrpc 2011-03-02 13:10:32 UTC
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.

http://rhn.redhat.com/errata/RHBA-2011-0317.html