Bug 1368493

Summary: tailoring dialog search does not focus rules in deselected groups
Product: Red Hat Enterprise Linux 7 Reporter: Marek Haicman <mhaicman>
Component: scap-workbenchAssignee: Watson Yuuma Sato <wsato>
Status: CLOSED ERRATA QA Contact: Marek Haicman <mhaicman>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: mhaicman, openscap-maint, zmoravec
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: scap-workbench-1.1.4-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 09:09:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
working state none

Description Marek Haicman 2016-08-19 14:43:41 UTC
Description of problem:
When using tailoring dialog of scap-workbench, there is an option to search for string in the ruleset. This search focus on found items, and user can cycle through them.

When the item is in group that is unselected though, it cycles through them, but does not focus. In that scenario, search is not very useful.


Version-Release number of selected component (if applicable):
scap-workbench-1.1.2-1.el7

How reproducible:
reliably

Steps to Reproduce:
1. run scap-workbench, select profile
2. run customization
3. search for some substring [for example faillock, in pci-dss profile]

Actual results:
Cycles through all conforming items, but focus jumps only on the ones in selected groups.

Expected results:
Focus jumps even on the items in unselected groups as it cycles through them.

Additional info:

Comment 1 Zbynek Moravec 2016-09-07 14:28:45 UTC
It is already fixed in upstream by https://github.com/OpenSCAP/scap-workbench/pull/73.

Comment 5 Marek Haicman 2017-05-29 13:46:13 UTC
Created attachment 1283240 [details]
working state

Verified fix on version:
[dahaic@localhost]$ rpm -qa scap-workbench
scap-workbench-1.1.4-4.el7.x86_64

It is now possible to cycle through deselected issues.

Comment 6 errata-xmlrpc 2017-08-01 09:09:29 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.

https://access.redhat.com/errata/RHBA-2017:2296