WSR: Disabling MSAA for Problematic Applications (Firefox/Thunderbird)

I've had performance problems with Firefox and Thunderbird with Windows Speech for a while. Although both applications have some accessibility support---menus, dictating title words switches to that tab in FF, etc.---it seems to be rather hit or miss. This isn't a particularly big deal since both applications have decent keyboard support built in and FF has the mouseless browsing extension, making it pretty easy to automate these applications using Your Favorite Macro Package.

The performance was killing me though: FF started to bog down with only a few tabs open, and the name "Thunderbird" seemed like a cruel joke given how badly the application crawled. Unfortunately, the performance also disrupted macro behavior: the speech engine was constantly spinning, so macros would become erratic, sometimes even after I switched applications.

I'd guessed that the Active Accessibility was the problem: perhaps Firefox is exposing the text of *all* the hyperlinks in all open documents, not just the ones I can see right now. Whatever the cause, at some point the app would hit some sort of internal WSR threshold, after which performance would rapidly fall apart.

Nosing around in the registry this afternoon, I stumbled across the following key:

HKEY_CURRENT_USER\Software\Microsoft\Speech\Preferences\AppCompatDisableMSAA

Hello! From the existing entries, this key appears to accept string values indicating applications that should have Active Accessibility disabled. I added two new string values ("firefox.exe" and "thunderbird.exe"), restarted everything, and BAM! Looks like my computer was built this century after all!

Of course, disabling Active Accessibility disables the "built in" voice support for menus, hyperlinks, tabs, folders, etc., but given the performance difference I think that's a tradeoff I can live with.

I'm curious: have others had performance problems with these applications? Has anyone else tried this solution, and what was your experience with it?

Here are a couple of related posts:

This was the only information I could find; doesn't appear to be a widely discussed capability.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

drocco wrote: I've had

drocco wrote:

I've had performance problems with Firefox and Thunderbird with Windows Speech for a while.

Using Firefox with Windows 7 has been a constant nuisance when WSR was running in the listening mode. It was just about impossible to scroll a document in Firefox as scrolling would be all jerky and jumping around. I had to make WSR stop listening before Firefox returned to normal.
So I was constantly switching WSR listening mode on and off.
I had searched the Internet for a solution to the problem without success and was happy to read about the solution you suggested here. I did as you suggested and it worked perfectly. Firefox now behaves exactly as it should do.
Many thanks for this tip, I am now a happy bunny again.

glad to help, update

cirrus18 wrote:

Many thanks for this tip, I am now a happy bunny again.

Glad to hear this solution is working well for you. I've posted an update that includes a few more helpful registry hacks I've managed to dig up:

http://auralbits.blogspot.com/2010/04/windows-spee...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Syndicate content