
When shifting focus from a floating toolwindow to a docked window, there seems to be an extra focus event in certain scenarios (eg when the previously selected toolwindow (prior to floating toolwindow) was another docked toolwindow.
Steps:
1) Open the demo dock project
2) Float the 'Welcome to UIStudio toolwindow
3) Select file|'Create 3 tooliwndows in a row'
4) Float the first newly created 'Toolwindow 1'
5) Now shift focus to the 'events' window
Note that in the events window, between the shift in focus from the floating 'toolwindow 1' to the 'events' window, toolwindow2 seems to momentarily become focused.
Shifting focus between 'Toolwindow 1' and the 'Events' window after this works correctly from now one, but if focus is shifted to 'toolwindow 2' then 'toolwindow 1' then to 'events' again, the same extra 'toolwindow 2' focus event occurs.
Steps:
1) Open the demo dock project
2) Float the 'Welcome to UIStudio toolwindow
3) Select file|'Create 3 tooliwndows in a row'
4) Float the first newly created 'Toolwindow 1'
5) Now shift focus to the 'events' window
Note that in the events window, between the shift in focus from the floating 'toolwindow 1' to the 'events' window, toolwindow2 seems to momentarily become focused.
Shifting focus between 'Toolwindow 1' and the 'Events' window after this works correctly from now one, but if focus is shifted to 'toolwindow 2' then 'toolwindow 1' then to 'events' again, the same extra 'toolwindow 2' focus event occurs.