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 708437

Summary: sealert copies full description to clipboard instead of selected text
Product: Red Hat Enterprise Linux 6 Reporter: Toni Willberg <twillber>
Component: setroubleshootAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Karel Srot <ksrot>
Severity: low Docs Contact:
Priority: medium    
Version: 6.1CC: ksrot, mmalik, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: setroubleshoot-3.0.38-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 09:49:18 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:

Description Toni Willberg 2011-05-27 16:08:55 UTC
Description of problem:

 Full sealert description is copied to copy buffer instead of selected text.

Version-Release number of selected component (if applicable):

 setroubleshoot-server-2.2.94-1.el6.x86_64

How reproducible:

 Always.

Steps to Reproduce:
1. Do something to generate a SELinux Security Alert
2. Open the sealert GUI, select a string of any legth of the description (top part, not of "full error output". Press ctrl+c, crtl+ins.
3. Open other application, for example gedit. Paste clipboard buffer.
  
Actual results:

 The "full error output" text is copied to clipboard and pasted to target application.

Expected results:

 Only selected text area should be copied.

 [Copy to Clipboard] button's alt text says it's copying full description, which is OK.

Additional info:

 Especially annoying when trying to copy one line and paste it to IRC client...  :)

 Usability bug.

Comment 3 Daniel Walsh 2011-07-18 14:34:04 UTC
Fixed in setroubleshoot-3.0.38-1.el6

Comment 6 Karel Srot 2011-10-18 12:09:51 UTC
I am unable to verify this bug because new sealert GUI is different from the old one. 
I tried to copy some test from the sealert window and it is not working properly:

- I am able to copy the text from the Details window (both with Ctrl-C;Ctrl-V and Ctrl+Insert;Shift+Insert)
- I am NOT able to copy the text from the "Troubleshoot/Then this is a solution" field. Ctrl+Insert;Shift+Insert. But Ctrl-C and Ctrl-V works.

setroubleshoot-server-3.0.38-2.1.el6.x86_64

Comment 7 Karel Srot 2011-10-18 12:11:39 UTC
Re #c6
There is a typo, should be

- I am NOT able to copy the text from the "Troubleshoot/Then this is a
solution" field with Ctrl+Insert;Shift+Insert. But Ctrl-C and Ctrl-V works.

Comment 8 Daniel Walsh 2011-10-18 14:16:05 UTC
This is a standard text window in X.  I am not sure why other mechanisms other then Ctrl-C and Ctrl-V would or would not work.  Those are the only ones I use.

Comment 10 errata-xmlrpc 2011-12-06 09:49:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

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