Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313182 - Need command-line option to turn off IA2
Summary: Need command-line option to turn off IA2
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 RC2   Edit
Assignee: Carolyn MacLeod CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 12:28 EDT by Carolyn MacLeod CLA
Modified: 2010-05-17 14:45 EDT (History)
4 users (show)

See Also:
Mike_Wilson: review+
grant_gayed: review+


Attachments
patch to add command-line argument to turn off IA2 support (2.67 KB, patch)
2010-05-17 12:28 EDT, Carolyn MacLeod CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2010-05-17 12:28:17 EDT
Created attachment 168760 [details]
patch to add command-line argument to turn off IA2 support

I have discovered several situations where an older version of a screen reader was coded to an older (or even temporary) version of the IA2 spec. This causes the older screen reader to crash, or to crash Eclipse.

In one case, I was able to fix the crash with a work-around, only to discover that the older screen reader doesn't read StyledText any more (it used to)because for some reason it is turning off its OSM, and its incomplete IA2 implementation doesn't work with StyledText.

In another case, I am not even able to work around the crash.

In all cases, if I pretend that we do not support IA2, the older screen readers work happily and well, just like they used to.

The attached patch looks at a command-line argument that can be set as follows if a user needs to use an older screen reader that seems to be crashing or having IA2 incompatibility problems:
   -Dorg.eclipse.swt.accessibility.UseIA2=false
Comment 1 Carolyn MacLeod CLA 2010-05-17 13:35:52 EDT
This needs to go into RC2. SSQ is away, so McQ and GG please review.
Please drop by my office for a demo of this flag in action.
When we set the VM args to: -Dorg.eclipse.swt.accessibility.UseIA2=false
then we expect to see JAWS 8, JAWS 9, and Window-Eyes 6.0 all working with StyledText (and not crashing).

It would save time if we could look at this fix together with the fix for bug 311434.
Comment 2 Carolyn MacLeod CLA 2010-05-17 14:45:53 EDT
Fixed > 20100517