Hide Forgot
Created attachment 533638 [details] networkConfig.glade patch Description of problem: In subscription-manager-gui, the accessibility cannot access the checkboxes in the the proxy configuration dialog because they are not focusable. Version-Release number of selected component (if applicable): subscription-manager-gnome-0.98.2-1.git.16.9f8c5cc.el5_7 How reproducible: Always Steps to Reproduce: 1. Launch subscription-manager-gui 2. Open the network/proxy config dialog 3. Use your favorite accessibility tool to check any check box in this window Actual results: the boxes cannot be focused on so the accessibility api in rhel5 cannot check them. Expected results: the boxes are checked. Additional info: This blocks all automation of this feature on rhel5. Attached is a patch that fixes this for this window. There may be other checkboxes with the same bug in rhsm (I've only looked at these and the search filters).
To test, you must have ldtp installed on your RHEL 5.7 system. To do so, follow these steps: ldtpsource="http://anongit.freedesktop.org/git/ldtp/ldtp.git" cd /root git clone $ldtpsource cd ldtp yum -y install at-spi at-spi-devel gail libxml2 gettext ./autogen.sh --prefix=/usr; make make install cd /root yum -y install gnome-python2-libwnck if [[ ! -d /root/bin ]];then mkdir /root/bin; fi wget http://auto-services.usersys.redhat.com/rhsm/ldtpd.py -O /root/bin/ldtpd chmod +x /root/bin/ldtpd echo "alias start-ldtpd='ldtpd'" >> /root/.bashrc gconftool-2 --set /desktop/gnome/interface/accessibility --type=boolean true init 3 && sleep 10 && init 5 Next you must yum install dogtail. Using sniff, navigate to the label for the checkboxes in question. (I have pasted in the labels so this step is optional) Open a python shell, >>> from ldtp import * >>> check("Advanced Network Configuration", "Proxy Checkbox") >>> check("Advanced Network Configuration", "Authentication Checkbox") The two checkboxes should now be checked.
Committed to subscription-manager as f8a273591fb1d71e25b06a617df7aa71da520984 Available in 0.98.3 and up
subscription-manager-gnome-0.98.5-1.git.2.cd86f84.el5_7 This now works in the proxy configuration dialog and automation is using this. Marking VERIFIED.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No description necessary
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-2012-0154.html