View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0031581||Runner||Android||Public||2020-01-10 16:00||2020-01-13 09:37|
|Priority||Low||Severity||C - General||Reproducibility||100%|
|Platform||Android||OS||Android 10||OS Version|
|Target Version||Fixed in Version|
|Summary||0031581: Android: keyboard_lastchar is read-only when a virtual keyboard is open|
|Description||On Android, keyboard_lastchar is effectively read-only when a virtual keyboard is open (you can see the value flicker in the sample, indicating it is being cleared but then immediately re-set). This is different to Windows. keyboard_lastchar is then wiped automatically when the virtual keyboard is hidden.|
Note that when using virtual keyboards it's keyboard_string which you need to use for capturing your text input, not lastchar, but not being able to modify this value could impact users e.g. checking for if the keyboard should be closed because you entered a certain key.
Expected: I can clear keyboard_lastchar at any time, just like I can on Windows, etc.
|Steps To Reproduce||1. Run the attached sample for Android|
2. Type away when the virtual keyboard appears.
3. Observe your keyboard_lastchar and keyboard_string values are updated okay.
4. Quickly double-tap somewhere off the keyboard (to fire a right-click), and observe only keyboard_string is cleared - keyboard_lastchar remains (but does flicker).
5. Observe that you can type text and press the enter key on the virtual keyboard to capture that input just fine. (Single-tap anywhere on-screen to show the virtual keyboard again each time it is dismissed).
|Tags||No tags attached.|
|1.4 Found In|
|2.x Runtime Found In||18.104.22.1688|
|2.x Runtime Verified In|