| Summary: | [Accessibility] Composite subclasses with Accessibles aren't appearing in Accessibility Inspector | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Scott Kovatch <skovatch> | ||||||
| Component: | SWT | Assignee: | Scott Kovatch <skovatch> | ||||||
| Status: | RESOLVED INVALID | QA Contact: | Carolyn MacLeod <carolynmacleod4> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | platform-swt-inbox, skovatch | ||||||
| Version: | 3.6 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | Macintosh | ||||||||
| OS: | Mac OS X | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Scott Kovatch
This is because my test for whether or not an Accessible should be ignored is flawed. If there are no AccessibleControlListeners that could change the role, then the default visibility shouldn't change. Created attachment 167249 [details]
Fix
If there are no listeners to override the role, the widget should not be ignored by accessibility.
Created attachment 167250 [details]
Fix
Patch for just this problem.
I actually don't see any difference, before or after the patch. In both cases, I get:
<AXApplication: “java”>
<AXWindow: “Accessible Relations”>
<AXScrollArea>
<AXTable>
<AXRow: “[Bananas]”>
<AXTextField: “Bananas”>
Not sure what I am doing differently from you. I am running AccessibleRelationsExample from the branch.
(If you do use the patch as part of the fix, you might want to reuse listenerCount in the for loop).
Hmm... In a clean workspace I can't reproduce this either. I had some other changes in progress related to CCombo accessibility, so it's possible those were breaking this change. I'll mark this invalid and we'll pretend it never happened. :-) +1 :) |