View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0027584||Runner||Variables||Public||2017-08-28 14:50||2018-01-12 09:28|
|Reporter||Stewart Bishop||Assigned To||Claire Hall|
|Priority||Low||Severity||C - General||Reproducibility||100%|
|Fixed in Version|
|Summary||0027584: Variables: keyboard_string gets cleared when the runner window loses focus|
|Description||Variable keyboard_string is cleared when window loses focus|
When testing a game that is using keyboard_string, it is impossible to step through code in the debugger, because the variable keyboard_string is reset to empty string every time the window loses focus.
|Steps To Reproduce||1) Import attached project|
2) Debug it so you have a second window
3) Type something
4) Click on the debugger
5) See that your keyboard string has been emptied
|1.4 Found In|
|2.x Runtime Found In||220.127.116.11|
|2.x Runtime Verified In|
test keyboard_string.yyz (13,045 bytes)
Input is always cleared on loss of focus. This is required as you lose "key ups" when clicking outside the window.
However we could avoid the clearing of keyboard_string in these cases.