View Issue Details

IDProjectCategoryView StatusLast Update
0027584RunnerVariablesPublic2018-01-12 09:28
ReporterStewart BishopAssigned ToClaire Hall 
PriorityLowSeverityC - GeneralReproducibility100%
Status AssignedResolutionOpen 
Product Version 
Fixed in Version 
Summary0027584: Variables: keyboard_string gets cleared when the runner window loses focus
DescriptionVariable 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 Reproduce1) 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 In2.1.0.135
2.x Runtime Verified In

Activities

Stewart Bishop

2017-08-28 14:50

Adminstrator  

test keyboard_string.yyz (13,045 bytes)

Mike Dailly

2017-09-01 16:14

Manager   ~0055224

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.