[Dominik] [0.16.36] Ctrl-backspace triggers temporary stall.
Posted: Mon Apr 23, 2018 8:53 am
Affects all text fields tested, is reliable (not intermittent), fields tested are the console; inventory search; blueprint string import; and locomotive color. Affects at least steam-distributed binaries on Windows 7 x64.
To reproduce, with text cursor focus in any empty text field, press control-backspace (delete previous word). The field must be completely clear, control-backspace when the cursor is at the left of a field containing some text (even a single space) performs as expected rather than triggering the bug.
The result? The client takes 100% CPU for several seconds (seems variable between around 3 to 10) and many times will stall long enough to get dropped from the server. Updates are not painted during the stall, as shown in screenshot.
I expect the client to do nothing on receiving control-backspace on an empty text field.
To reproduce, with text cursor focus in any empty text field, press control-backspace (delete previous word). The field must be completely clear, control-backspace when the cursor is at the left of a field containing some text (even a single space) performs as expected rather than triggering the bug.
The result? The client takes 100% CPU for several seconds (seems variable between around 3 to 10) and many times will stall long enough to get dropped from the server. Updates are not painted during the stall, as shown in screenshot.
I expect the client to do nothing on receiving control-backspace on an empty text field.