When you set a ToolWindow in AutoHide DockState, hover the tab of the AutoHide window and set the focus to the window by a mouse click operation, you are not able to hide the window right after you click outside of the window.