[TIMOB-11431] Android: TextField - PasswordMask does not work on HTC EVO 4.0.3
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-12-13T23:07:37.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.1.0, 2012 Sprint 25, 2012 Sprint 25 API |
Components | Android |
Labels | api, module_textfield, qe-and100112, qe-review, qe-testadded |
Reporter | Tamila Smolich |
Assignee | Ping Wang |
Created | 2012-10-12T18:10:04.000+0000 |
Updated | 2014-06-19T12:42:45.000+0000 |
Description
Description:
PasswordMask does not work on HTC Evo with version 4.0.3, and text is not masked in a textfield either on portrait or landscape mode. Tested on different device with version 4.0.3 - works fine.
Not a regression, occurs on 2.1.3 as well.
Steps:
1. Run the following code:
var win = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
win.orientationModes=[
Titanium.UI.PORTRAIT,
Titanium.UI.LANDSCAPE_LEFT,
Titanium.UI.LANDSCAPE_RIGHT
];
var txtfld = Titanium.UI.createTextField({
color:'#385487',
right:'3.1%',
left:'15%',
borderStyle:Titanium.UI.INPUT_BORDERSTYLE_NONE,
border:0,
top:0,
width:300,
borderColor: 'transparent',
backgroundColor: 'transparent',
font:{fontSize:48,fontFamily:'Helvetica Neue'},
returnKeyType:Titanium.UI.RETURNKEY_DONE,
passwordMask:true,
keyboardType:Titanium.UI.KEYBOARD_NUMBERS_PUNCTUATION,
hintText:'SSN'
});
win.add(txtfld);
win.open();
2. Type some text in textfield
Expected result:
The text should be masked in textfield
Actual result:
The text is not masked
PR: https://github.com/appcelerator/titanium_mobile/pull/3585
Created a subtask for back porting the PR.
Tested on Device: SDK:3.1.0.v20130105233407, 3.0.1.v20130105233204 Studio: 3.0.1.201212181159 HTC Desire V (4.0.3) Password mask works successfully for the given device which was not working on this device for 3.0.0GA and previous versions.