I am working on an extension in which I would like to report various info via an HtmlDialog while the extension runs. When I show() the dialog, it grabs focus from the view and until it closes all keypresses go only to the dialog; they are not seen as events by SketchUp. As a result things like user keyboard shortcuts don’t do anything and can’t be used as a way to activate another Tool.
If I manually shift the focus back to SketchUp, e.g. by clicking in the view, then keys operate normally in SketchUp. But that’s a peculiar and easily overlooked UX.