20210414-398dcf7e82-win_x86 keyboard message loop gets disconnected
Case number: | 845813-2011579 |
Topic: | Game: Tools |
Opened by: | Bletchley Park |
Status: | Open |
Type: | Bug |
Opened on: | Thursday, May 13, 2021 - 19:29 |
Last modified: | Tuesday, September 7, 2021 - 06:06 |
The message loop you use to read keystrokes and key combinations gets disconnected from the client main program from time to time. The only option is to close the client (which politely asks whether I really want to quit and save the model) and to restart the client. This happens in particular after long sessions with many clients (probably missing a message somewhere after which it gets confused).
This is a bug.
Thanks for the report Bletchley Park; that's a weird one. Can you elaborate a little bit on this behavior? Are you saying that the client becomes unresponsive to all keystrokes? But mouse input is still normal?
That is indeed the case.
Also I notice that in some cases hotkeys are pressed and only several seconds later the action starts. The *impression* I get is that key handling is run in a different thread, whose execution lags behind other threads and then with lots of activity in the background at some point a buffer gets saturated and the thread hangs. Maybe that helps in narrowing it down.
Bump, this BUG still exists.