{ "id": "110078", "key": "TIMOB-12860", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2013-02-23T09:19:32.000+0000", "priority": null, "labels": [ "android", "arabic", "hintText", "textfield" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:20.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Problem*\r\nHint Text in a textField is not displayed on android when the language is arabic and textAlign is set to right. When textAlign is set to left the text is displayed correctly. This problem is non existing on iPhone.\r\n\r\n*Steps to reproduce*\r\n1. Copy and paste code into app.js\r\n2. if have test device: run on android 2.2 or 2.3,\r\n3. if not device, Run-configurations-> change to api 2.2 or 2.3, run on android emulator\r\n4. notice one textField has visible text, the other does not\r\n\r\n*Test Case*\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\theight : Ti.UI.FILL,\r\n\twidth : Ti.UI.FILL,\r\n\tbackgroundColor : '#000',\r\n layout: 'vertical'\r\n});\r\n\r\nvar name = Ti.UI.createTextField({\r\n\ttop : 50,\r\n\theight : Ti.UI.SIZE,\r\n\twidth : Ti.UI.FILL,\r\n\thintText : 'الاسم',\r\n\ttextAlign : 'right'\r\n});\r\n\r\nvar name1 = Ti.UI.createTextField({\r\n\ttop : 50,\r\n\theight : Ti.UI.SIZE,\r\n\twidth : Ti.UI.FILL,\r\n\thintText : 'الاسم',\r\n\ttextAlign : 'left'\r\n});\r\n\r\nwin.add(name);\r\nwin.add(name1);\r\nwin.open();\r\n{code}\r\n\r\n\r\n\r\n", "attachment": [ { "id": "35739", "filename": "hintText_arabic.png", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T01:03:07.000+0000", "size": 25220, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Hint Text not displayed when the language is arabic and textAlign is set to right", "creator": { "name": "hini", "key": "hini", "displayName": "Hani Hamadeh", "active": true, "timeZone": "Asia/Beirut" }, "subtasks": [], "reporter": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 2.2, 2.3 \r\nTi SDK 3.0.0 & 2.x", "comment": { "comments": [ { "id": "239743", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on TiSDK 3.0.0GA and 3.0.2GA on Galaxy S3 (android os: 4.1.1) and could not reproduce. Attaching screenshot showing right aligned hintText in arabic. Resolving issue until more information is provided. ", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T00:56:43.000+0000", "updated": "2013-02-26T00:56:43.000+0000" }, { "id": "239746", "author": { "name": "hini", "key": "hini", "displayName": "Hani Hamadeh", "active": true, "timeZone": "Asia/Beirut" }, "body": "It seems to be working fine with android 4. The problems was reproduced with Android 2.2 emulator and on my Galaxy Tab (Android 2.2) ", "updateAuthor": { "name": "hini", "key": "hini", "displayName": "Hani Hamadeh", "active": true, "timeZone": "Asia/Beirut" }, "created": "2013-02-26T01:09:33.000+0000", "updated": "2013-02-26T01:09:33.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }