Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11431] Android: TextField - PasswordMask does not work on HTC EVO 4.0.3

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-12-13T23:07:37.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.1.0, 2012 Sprint 25, 2012 Sprint 25 API
ComponentsAndroid
Labelsapi, module_textfield, qe-and100112, qe-review, qe-testadded
ReporterTamila Smolich
AssigneePing Wang
Created2012-10-12T18:10:04.000+0000
Updated2014-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

Comments

  1. Ping Wang 2012-12-13

    PR: https://github.com/appcelerator/titanium_mobile/pull/3585
  2. Ping Wang 2012-12-27

    Created a subtask for back porting the PR.
  3. Anshu Mittal 2013-01-07

    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.

JSON Source