|
Bugzilla – Full Text Bug Listing |
| Summary: | Do click action doesn't move focus to the clicked element | ||
|---|---|---|---|
| Product: | [Mono] UI Automation | Reporter: | calen chen <cachen> |
| Component: | Moonlight - General | Assignee: | Mario Carrion <mcarrion> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <mono-a11y-qa> |
| Severity: | Major | ||
| Priority: | P2 - High | ||
| Version: | Unspecified | ||
| Target Milestone: | Release 2.1 | ||
| Hardware: | x86 | ||
| OS: | openSUSE 11.1 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
script for gtkcheckbox.py
Potential fix |
||
|
Description
calen chen
2009-11-10 07:36:08 UTC
Calen, if you try this using Gtk+, for instance in the example below, the control does not receive focus when clicked. 1. Open up gedit. 2. Click on the Tools menu, and find the Preferences item. 3. Click on the Preferences item. 4. On the Fonts and Colors tab, find the "Use the system fixed width font" checkbox. 5. Open Accerciser, and find the checkbox in step 4 in the tree. 6. Expand Accessible and Action sections on the Interface Viewer tab. 7. Click on the "click" action and press "Perform action". 8. Notice that "focused" is not a state that has been added to the States list under the Accessible section. The "click" action is poorly named as it doesn't necessarily perform exactly what a mouse click would do, but this is a GAIL/ATK problem, and not really our problem to fix. (In reply to comment #1) > Calen, if you try this using Gtk+, for instance in the example below, the > control does not receive focus when clicked. > > 1. Open up gedit. > 2. Click on the Tools menu, and find the Preferences item. > 3. Click on the Preferences item. > 4. On the Fonts and Colors tab, find the "Use the system fixed width font" > checkbox. > 5. Open Accerciser, and find the checkbox in step 4 in the tree. > 6. Expand Accessible and Action sections on the Interface Viewer tab. > 7. Click on the "click" action and press "Perform action". > 8. Notice that "focused" is not a state that has been added to the States list > under the Accessible section. > > The "click" action is poorly named as it doesn't necessarily perform exactly > what a mouse click would do, but this is a GAIL/ATK problem, and not really our > problem to fix. Hey Brad, in fact the control receive focus when clicked if you add a step between 7 and 8 to click dialog's *title bar*, you didn't see the focused state just because the dialog of gedit is not in active, but focus on accerciser. please try the attachment script, after run #states.py /A11y/uia2atk/test/samples/gtk/gtkcheckbutton.py, you can see check button2 is focused. I think it's similar to bug504593 of winforms, please take a look, thanks:) Created attachment 330680 [details]
script for gtkcheckbox.py
Created attachment 342116 [details]
Potential fix
Here's a potential fix for the problem in Moonlight. I need to get sign-off from the Moonlight team, and because they're in their crunch for the Olympics, it might take some time to get this committed.
Hours today. I happened to find that #525428 mentioned the same bug. Unassigning to focus on Firefox and SLED bugs. *** Bug 559133 has been marked as a duplicate of this bug. *** Fixed. moon-2-0: de53e311d30b3480ff58 |