|
Bugzilla – Full Text Bug Listing |
| Summary: | If an accessible has a tooltip, its description should be set to the tooltip's text | ||
|---|---|---|---|
| Product: | [Mono] UI Automation | Reporter: | Brian Merrell <bgmerrell> |
| Component: | Winforms - ATK | Assignee: | E-mail List <mono-a11y-bugs> |
| Status: | VERIFIED FIXED | QA Contact: | E-mail List <mono-a11y-qa> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | ||
| Version: | Unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Integration Test | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Minor typo correction, REPRO step 4 should read: "...(which is the same as the tooltip text for that _Button_ widget)." instead of: "...(which is the same as the tooltip text for that entry widget)." Be aware that ToolTip has higher priority than AccessibleDescription. *** This bug has been marked as a duplicate of bug 457846 *** Verified in: [ ] mono-uia-123523-236.i586.rpm 16-Jan-2009 12:31 [ ] mono-winforms-123629-267.i586.rpm 16-Jan-2009 12:31 [ ] uiaatkbridge-123630-422.i586.rpm 16-Jan-2009 12:31 [ ] uiautomationwinforms-123626-447.i586.rpm 16-Jan-2009 12:31 Closing. |
PROBLEM STATEMENT In Gtk, if a widget has a tooltip, the accessible for that widget has the tooltip's text as its description. That is, the accessible's description is set to the tooltip's text. However, in SWF, if a control has a tooltip, the accessible for that control has no description. REPRO 1. Open Accerciser, click on the "Interface Viewer" tab, and expand the "Accessible" expander. 2. Run uia2atk/test/samples/gtkbutton.py (a Gtk sample) 3. Hover the mouse over the "Button 1" button and notice there is a tooltip that reads "this is a button" 3. Browse for and select the "Button 1" accessible in Accerciser's left pane. 4. Notice that the "Description" field in Accerciser's interface viewer tab, shows "this is button" (which is the same as the tooltip text for that entry widget). 5. Run uia2atk/test/samples/tooltip.py 6. Hover the mouse over the "ToolTip button" button and notice there is a tooltip that reads "show button's tooltip" 7. Browse for and select the "ToolTip button" accessible in Accerciser's left pain RESULTS The "Description" field in Accerciser's interface viewer tab reads "(no description)" EXPECTED The "Description" field in Accerciser's interface viewer tab should show read "show button's tooltip" COMMENTS Here is part of an IRC conversation that might help when fixing this <@bgmerrell> oh interesting! <@bgmerrell> i just noticed that Atk/Gtk actually sets the accessible's description to the text of the tooltip for widgets with tooltips <@bgmerrell> we're definitely not doing that <@mario> bgmerrell: we are doing that. <@mario> (same behavior in Vista). <@bgmerrell> mario: the tooltip button in samples/tooltip.py shows "(no description)" in Accerciser <@mgorse> The bridge isn't mapping HelpText to anything, though. Mapping it to an atk description makes sense. Also, based on this conversation I am logging this bug against the provider. Please correct this if its wrong.