There is some special logic in LzModeManager#172 to keep the in-canvas debug 
console from fielding mouse events.  Maybe there needs to be some similar logic 
in the keyboard?  I expect that as soon as you print a debug message it creates 
a link, which depending on your browser preferences, becomes something the 
browser thinks you might want to tab to (in Safari, that's off by default, but 
you can enable it if you like keyboard navigation).

On 2010-09-28, at 14:43, Henry Minsky wrote:

> Just to warn anyone about an interaction in DHTML keyboard and focus
> handling, I was trying to debug some keyboard handler code in the
> DHTML kernel, and it turns out that calling Debug.info to print a message in
> the debugger window causes the
> tab focus mechanism to start including the debugger input text field for
> some reason. It took me a half a day to figure out
> that only when I took out my debug print statements in the keyboard kernel
> that the tab focus mechanism started behaving properly again.
> 
> 
> -- 
> Henry Minsky
> Software Architect
> [email protected]


Reply via email to