Red Hat Bugzilla – Bug 801434
Calendar selection tool doesn't have at-spi accessibility name
Last modified: 2013-04-29 10:24:25 EDT
Description of problem:
In the "All Available Subscriptons" tab, the date selector tool button does not have an at-spi accessibilty name. The api reads it as a generic "OK" button. This is confusing for people who actually need this api to use the program.
Additionally the window itself is not named and shows up as another numbered frame (which could be anything depending on what else you have open).
Version-Release number of selected component (if applicable):
You can look at this easily by installing dogtail and using the sniff program. I have not opened this bug until now because the actual date selector is unusable through the api, but it is now the only way to get today's date to auto-fill in the search box (due to changes to fix bug 704408).
This commit does not address the issue of the calendar window itself not being named. Per discussion with jmolet, he will see if the unnamed calendar window still presents an issue after the changes made in this commit are taken into account.
Although everything inside the window has a name, the calendar window does not, and unfortunately I cannot access a window or its contents without a name reliably.
I have figured out how to name this window though:
In widgets.py, in the class DatePicker, in the function _button_clicked(),
You can name the window by changing the line:
to something like:
Of course this runs into the other issue of having "Date Selection" being a translatable string (I have no idea how that bit works, or if anything needs to be done at all), but essentially the AT-SPI name of the window will match any string you enter in that set_title() function.
Moving this back to NEW so that can be done.
Author: Alex Wood <firstname.lastname@example.org>
Date: Fri Apr 6 00:11:17 2012 -0400
801434: Add at-spi accessibility name to calendar widget.
Created attachment 578427 [details]
This is now accessable via at-spi. Marking Verified as of version:
Comment 7 was verified against the subscription-manager master branch. Comment 5 commit needs to be cherry picked into the RHEL6.3 branch and then jmolet can re-verify against subscription-manager-gnome-0.99
Based on the tight schedule for RHEL6.3 and the severity of this bug, it may be best to simply remove this bug from advisory RHBA-2012:12609-01
Moving back to ASSIGNED
The fixes for this are in the branches the 5.9 and 6.4 rebases will use, so closing this.
Created attachment 653107 [details]
Re-VERIFIED against version subscription-manager-gui-1.1.10-1.el6.x86_64 (latest in brew currently)
Date window has a atspi name: "Date Selection".
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.