View Issue Details

IDProjectCategoryView StatusLast Update
0031581RunnerAndroidPublic2020-01-13 09:37
ReporterDanAssigned ToCoreTech 
PriorityLowSeverityC - GeneralReproducibility100%
Status AssignedResolutionOpen 
PlatformAndroidOSAndroid 10OS Version
Product Version2.2.5 
Target VersionFixed in Version 
Summary0031581: Android: keyboard_lastchar is read-only when a virtual keyboard is open
DescriptionOn 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 Reproduce1. 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).
Repro: 100%
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.2.5.378
2.x Runtime Verified In

Activities

Dan

2020-01-10 16:00

Adminstrator  

testKeyboardLastChar.yyz (19,090 bytes)