OSDN Git Service

Partial fix for #862 (Slow system menu in IE in XP). This fix cuts the freeze time...
authorMichael Curran <mick@kulgan.net>
Mon, 13 Sep 2010 23:26:01 +0000 (09:26 +1000)
committerMichael Curran <mick@kulgan.net>
Mon, 13 Sep 2010 23:26:01 +0000 (09:26 +1000)
commit96615ff977d3cafde9dbcd8f978cf2087c2c7717
treead271f65dddc059843a25a3fc99f71c803a63de7
parentad884d4e9acc881ac9ed307144e0532549e47d29
Partial fix for #862 (Slow system menu in IE in XP). This fix cuts the freeze time down from over 10 seconds to about 2 or 3. Not quite sure why its still 2 to 3, but this is certainly better than what it was. To fix this, watchDog is instructed to use a minimum timeout if it is found to be in a system menu mode (according to GUIThreadInfo) and the window class of the focus object is not #32768 -- meaning that the focus in NVDA hasn't yet hit the menu.
source/watchdog.py