Behavior most likely inherited from chrome/libcef's hardwired close tab hotkey.
This issue drives me completely crazy. Happens at least once per day, since I'll just close some window with Ctrl-W and suddenly Steam is gone too.
The issue is that Steam is reacting to "key held" instead of waiting for the appropriate event "key down". Something is wrong in its keyboard processing.
Nothing extracted yet.
Your system information
Please describe your issue in as much detail as possible:
Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist
Sometimes, when multi-tasking during a chat session, the chat tab on my screen will abruptly close. This happens whenever I close a window with ctrl-w and steam becomes the active window after that. Since ctrl-w is still held, it apparently takes this as input and closes the chat tab.
I realized that this could be due to autorepeat so I tested with autorepeat off and the issue persists (and does not occur when using two firefox windows with autorepeat off).
Steps for reproducing this issue: