| Summary: | [Accessibility] get_hyperlink returns incorrect address for accessible | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 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 | Keywords: | accessibility | ||||||
| Target Milestone: | 3.6.1 | Flags: | Silenio_Quarti:
review+
|
||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 176913 [details]
Patch
The following one-line patch correctly returns the address for the accessible. Previously, the address was being returned in a VARIANT, but that is not how this method works. The address should be returned directly, in the specified address pointer.
SSQ, please review for 3.6.1. I will also release to 3.7 stream. Fixed in 3.6.1 > 20100818. Fixed in 3.7 > 20100818 Changing from "Closed->Fixed" to "Resolved->Fixed". |
Created attachment 176912 [details] Test with Snippet217a Eclipse 3.6 on Windows. Run the attached test snippet which shows a StyledText with 2 embedded controls. Run AccProbe, and hover over the text in the StyledText. Expand IAccessibleHypertext, and double-click on "hyperlink" to bring up the "getHyperlink" dialog. Enter 0 or 1 for the hyperlink index, and click "Invoke Method". NULL is returned. The expected return value is an accessible.