Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313182

Summary: Need command-line option to turn off IA2
Product: [Eclipse Project] Platform Reporter: Carolyn MacLeod <carolynmacleod4>
Component: SWTAssignee: Carolyn MacLeod <carolynmacleod4>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: grant_gayed, Mike_Wilson, remy.suen, Silenio_Quarti
Version: 3.6Flags: Mike_Wilson: review+
grant_gayed: review+
Target Milestone: 3.6 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch to add command-line argument to turn off IA2 support none

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