Tab key auto-repeat causes CPU overload
I'm using ActiveWidgets in a web-based replacement of a field-intensive desktop database application and initial user testing has turned up a very annoying situation. The users are used to holding down the Tab key for extended periods of time to tab around the screen. On an ActiveWidgets-based screen, however, doing this for as little as 2-3 seconds causes the browser to go into some kind of infinite loop. The CPU usage goes up to 90+% and stays there, and the cursor starts bouncing around to random places on the web page. Exiting the web page restores normal operation.
I was able to reproduce this problem in the examples\new\controls.htm sample page. Just load that page into your browser and hold down the tab key for a couple of seconds and watch what happens. The problem goes away when I remove the combo field from that page, but I see the problem on other pages in my application that don't include a combo field, so it is not exclusive to the combo field. It appears that the event processing in AW is getting tangled up in knots, but I'm still learning my way around the source code so I can't easily figure out what is happening here.
Is anyone else seeing this problem? Are there any known workarounds? Or fixes?
I was able to reproduce this problem in the examples\new\controls.htm sample page. Just load that page into your browser and hold down the tab key for a couple of seconds and watch what happens. The problem goes away when I remove the combo field from that page, but I see the problem on other pages in my application that don't include a combo field, so it is not exclusive to the combo field. It appears that the event processing in AW is getting tangled up in knots, but I'm still learning my way around the source code so I can't easily figure out what is happening here.
Is anyone else seeing this problem? Are there any known workarounds? Or fixes?
Randall Severy
January 18,