Summary: | Accessible.getDescription should not return name | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Carolyn MacLeod <carolynmacleod4> | ||||||
Component: | SWT | Assignee: | Scott Kovatch <skovatch> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | cocoakevin, grant_gayed, steve_northover | ||||||
Version: | 3.5 | Keywords: | accessibility | ||||||
Target Milestone: | 3.5 M3 | ||||||||
Hardware: | Macintosh | ||||||||
OS: | Mac OS X | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Carolyn MacLeod
2008-10-20 15:52:59 EDT
Created attachment 115613 [details]
patch to not return name in getDescription
Here's a patch.
OK... the patch works properly from a VoiceOver point of view, but it generates exceptions because Cocoa thinks SWTView should implement getDescription. But there's a bigger problem here - why is everything being delegated to the super if the accessible doesn't implement it? We should be answering more "nulls", i.e. doing less work. In general, just delegate back to Cocoa instead of trying to see if some super will handle the request. Created attachment 115623 [details] new patch to not return name in getDescription Ignore the discussion in comment 2 - I will open a new bug for that. In the meantime, here is a patch that simply fixes this bug (name spoken twice), and doesn't try to delete more code at the same time <g>. Fixed >= 20081022. |