Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9918] Android: Numeric keyboard types incompatible with Swype

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsAndroid
Labelscore, reprod
ReporterTim Poulsen
AssigneeUnknown
Created2012-07-10T12:39:35.000+0000
Updated2018-02-28T20:04:01.000+0000

Description

Expected behavior

I could set a numeric keyboardType (e.g. NUMBERS_PUNCTUATION) then during use, then switch between keyboards using the 123/ABC button.

Actual behavior

Setting the numeric keyboard types works, but the 123/ABC button does not. Initial data entry is fine. When you tap the 123/ABC button, the keyboard type switches visually (you see the other type) but you can't type anything. None of the keys register input until you switch back to the original keyboard type. Possibly relates to TIMOB-2214. Swype is installed as the default keyboard on many current Android devices. So many users are possibly affected.

Sample code

var win = Ti.UI.createWindow({
	backgroundColor:'#fff'
});

var txt = Ti.UI.createTextField({
	keyboardType: Ti.UI.KEYBOARD_NUMBERS_PUNCTUATION,
	top:10, left: 10,
	width: Ti.UI.FILL, height: Ti.UI.SIZE,
	borderWidth: 1,
	borderColor: '#000'
})
win.add(txt);


win.open();

Comments

  1. Lee Morris 2017-07-18

    I am able to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source