Bug 1040119

Summary: at-spi locator for overall status is broken
Product: Red Hat Enterprise Linux 7 Reporter: J.C. Molet <jmolet>
Component: subscription-managerAssignee: Carter Kozak <ckozak>
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: bkearney, ckozak
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:27: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:
Bug Depends On:    
Bug Blocks: 863175    
Attachments:
Description Flags
overall-status none

Description J.C. Molet 2013-12-10 18:47:53 UTC
Description of problem:
The at-spi locator for the overall status under the "My Installed Products" tab is broken.  This string does not have a locator set, so it is autogenerated by at-spi.  

On RHEL6 the autogenerated label would be whatever the string text actually contained.  For example "Keep your system up to date by registering" would get turned into "lblKeepyoursystemuptodatebyregistering".  When the string changed through the course of the program, the label changed accordingly.  

In RHEL7 this does not happen.  It instead will remain whatever the label was when the program started and not reflect any actual text change.  This makes it very difficult for automation to predict and read the corresponding labels.

Version-Release number of selected component (if applicable):
subscription-manager-gui-1.10.8-1.git.0.455aa02.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. subscription-manager unregister
2. subscription-manager-gui
3. register your system
4. observe that the status changes
5. try to read that status through at-spi

Actual results:
You cannot read the status because the label is what the old status was.

Expected results:
I would like to see that this changing text would have a static label such as "Overall Status".  This way automation could simply query for the current text on that label instead of having to preform a search.

Comment 1 Carter Kozak 2013-12-10 21:12:00 UTC
commit b63a5f36cfcba27f0da9fee224a7935ae5720947
Author: ckozak <ckozak>
Date:   Tue Dec 10 13:51:28 2013 -0500

    Added atspi locator for overall status

Comment 2 J.C. Molet 2014-02-03 17:21:46 UTC
Created attachment 858735 [details]
overall-status

subscription-manager-gui-1.10.11-1.git.56.49453ff.el7.x86_64

"Overall Status" locator is present and working.

user> (tasks/ui gettextvalue :main-window "Overall Status")
"Keep your system up to date by registering."

Marking VERIFIED.

Comment 3 Ludek Smid 2014-06-13 10:27:29 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.