Bug 1040119 - at-spi locator for overall status is broken
Summary: at-spi locator for overall status is broken
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Carter Kozak
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2013-12-10 18:47 UTC by J.C. Molet
Modified: 2014-09-15 00:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 10:27:29 UTC
Target Upstream Version:


Attachments (Terms of Use)
overall-status (286.51 KB, image/png)
2014-02-03 17:21 UTC, J.C. Molet
no flags Details

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.


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