OpenRA/OpenRA — pull request #2563 by Carko (2013-01-08 21:55:42+00:00)
Title: Removed mouse capture while composing text in chat (fixes #2486)

I have been using this for a while and found no side effects.

I checked the history of this file and it seems this override was there from the beginning. While it might seem obvious that the widget will not capture keyboard anymore if the (mouse) focus is lost, it does not behave that way.

By removing this override, mouse works completely normal while typing the chat message (before you could click *some* things but not the other (e.g. you could build but not place buildings) and it seems all keyboard strokes are still received by the chat until pressing the enter/return key - even going to Options and changing things there works.

I think even the worst-case scenario (which would be that the text widget would lose focus until again reactivated by the enter key and which does *not* happen anyway) would still outweigh the now more commonly occurring scenario which causes confusion by the half-working mouse when the player needs to immediately react to a game situation while in the middle of typing a message.