[TIMOB-16944] Android: TextField hintText's font is different in passwordMask field than normal field
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-05-30T20:41:24.000+0000 |
Affected Version/s | Release 3.2.3, Release 3.3.0 |
Fix Version/s | n/a |
Components | Android |
Labels | qe-3.3.0 |
Reporter | Priya Agarwal |
Assignee | Ingo Muschenetz |
Created | 2014-05-09T08:18:06.000+0000 |
Updated | 2014-05-30T20:41:28.000+0000 |
Description
1. Create Alloy Sample project and copy the code in respective file and run the app.
Expected Result:
1.TextField hintText's font must be same in passwordMask field and normal field
Actual Result:
1.TextField hintText's font is different in passwordMask field than normal field
index.js file:
$.index.open();
index.xml file:
<Alloy>
<Window layout="vertical" >
<TextField id="normal"/>
<TextField id="password"/>
</Window>
</Alloy>
index.tss file:
"#normal":{
keyboardType: 'DEFAULT',
returnKeyType: 'DEFAULT',
hintText: 'hintText for username'
},
"#password":{
keyboardType: Ti.UI.KEYBOARD_DEFAULT,
hintText: 'hintText for password',
passwordMask: true,
}
Working fine for both iOS and Android while using classic project.
Attachments
File | Date | Size |
---|---|---|
ALOY1010.zip | 2014-05-12T17:38:19.000+0000 | 5900423 |
Both Classic and Alloy work as expected for me when run on the iOS simulator. Both Classic and Alloy show the different font for the password field on Android. Setting passwordMask to false, or removing that property fixes the problem. Moving this to SDK because this appears to be a platform issue not an Alloy issue. Classic project:
Attaching an alloy project for testing
*The bug is not reproducible:* Tested in following conditions for Alloy and Classic Projects: *Test Environment:* || *Component* || *Version* || | Appcelerator Studio | 3.3.0.201405161313 | | Titanium SDK | 3.3.0.v20140516180912 | | Alloy | 1.4.0-alpha | | CLI | 3.3.0-alpha3 | | ACS | 1.0.14 | | NPM | 1.4.10 | | Titanium-Code-Processor | 1.1.1 | | Node-ACS | 1.0.14 | *Tested Devices:* Galaxy S5 (v4.4.2) iPhone 5S (iOS 7.1.1)
Verified the FIXED with: Appc-Studio:3.3.0.201405161313 sdk:3.3.0.v20140516180912 acs:1.0.14 alloy:1.4.0-alpha npm:1.3.2 titanium:3.3.0-alpha3 titanium-code-processor:1.1.1 xcode:5.1.1 Device:Iphone5s(v7.1.1),Nexus7(v4.4.2) Font is same for both the textField normal as well as passwordMask. Hence Closing the issue as working as expected.
Reopening to correct sprint