| Summary: | IAccessible2::role is supposed to pass the MSAA role through | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Carolyn MacLeod <carolynmacleod4> | ||||
| Component: | SWT | Assignee: | Carolyn MacLeod <carolynmacleod4> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Silenio_Quarti | ||||
| Version: | 3.6 | Flags: | Silenio_Quarti:
review+
|
||||
| Target Milestone: | 3.6 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Vista | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Fixed > 20100503 |
Created attachment 166727 [details] return MSAA (default) role for IA2::get_role if no role set Accessible.get_role was returning 0 when a role was not explicitly assigned by an application. This was causing JAWS to ask for the IAccessible2::role and then ask again for the IAccessible::accRole. This could potentially cause an AT to crash or loop needlessly, because 0 is not an expected return value. The fix is to return the MSAA role when the application does not return a role.