Bug 708437 - sealert copies full description to clipboard instead of selected text
Summary: sealert copies full description to clipboard instead of selected text
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: setroubleshoot
Version: 6.1
Hardware: All
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-27 16:08 UTC by Toni Willberg
Modified: 2011-12-06 09:49 UTC (History)
3 users (show)

Fixed In Version: setroubleshoot-3.0.38-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 09:49:18 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1509 0 normal SHIPPED_LIVE setroubleshoot bug fix update 2011-12-06 00:39:33 UTC

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


Note You need to log in before you can comment on or make changes to this bug.